Re : Page refresh problem and maintaning user's page session
I am not aware that something automagical solution exists, i solve it by storing the login status in the cookie, and upon refresh i'm checking it, then decide what to do after, i usually check with the...
View ArticleRe : can.Observe.setter vs. .bind( 'change', . . .
A setter is invoked before the Observe is changed. This allows you to modify the raw value being set for a particular attribute. For advanced use cases, you can modify other attributes of the Observe...
View ArticleRe : can.Observe.setter vs. .bind( 'change', . . .
Thanks for your time Curtis,my data models hold their respective data trunks but also generate "processed data branches" as helper data for rendering views according to a given logic.A few models...
View ArticleRe : Page refresh problem and maintaning user's page session
Thanks a lot for the quick replyEven i was not expecting for automatic solution. I am expecting something like if we set the view/controller in cookie/session which will help when page is reloaded. I...
View ArticleRe : CanJS 1.1.4
It appears that the migrate-plugin triggers on 'can/util/jquery'.But I can't find if it is a misfire or not.
View ArticleRe : Unable to use .html()
Ah ok, didnt know that. But it still doesn't work (there isnt even an error or something). I changed this.dialog.html(view).appendTo(this.options.appendTo);to$('<div...
View ArticleRe : How do you associate a model instance from list with an element in an...
You probably don't need to add project_<%=project.id%> because live-binding should, for the most part, make needing to find an element to update by a particular project unnecessary. This is why...
View ArticleRe : Unable to use .html()
What is view? I don't see any variable of that name defined in your code.This this should be a $.Controller and not a $.Class.
View ArticleRe : Unable to use .html()
view is defined as a parameter in the init function. But you are right, seems like my code is some kind of a missconception. My intention actually was to make some kind of "component" which I can use...
View ArticleRe : How do you associate a model instance from list with an element in an...
Live binding eliminates the need for these explicit model references a great deal, but I have found that it not always sufficient, which makes for rather verbose event handlers ( assign...
View ArticleBitovi is Hiring and We Want You!
Bitovi, the company behind the libraries you know and love is looking for JavaScript developers to join our team.We want smart and articulate people: someone who will instantly work well with our...
View ArticleRe : canJS: load model with associations, but only save the “base” model
I just answered you on Stack Overflow, but I figured I'd post my answer here too. I'm also curious what other folks in the CanJS community think about this idea, because I had been searching for a...
View ArticleRe : can.route data on load not reliable
Thanks Basem! This implementation solves the problem.
View ArticleRe : canJS: load model with associations, but only save the “base” model
Thank you! I also saw your answer on SO, and liked the idea. I will implement it in my current project, and let's hope that the canJS developers will come up with a "built-in"solution in the next...
View Article"success is not a function"
I am upgrading from 3.2 to 3.3 and now this is broken:can.Model('Pand', { findall: function( params, success, error) { // when this is called 'success' is undefined }}, { //...
View ArticleRe : Bitovi is Hiring and We Want You!
Do you also consider applicants from outside the US?
View ArticleRe : canJS: load model with associations, but only save the “base” model
Will this have any adverse (unwanted) effects elsewhere where serialize is used for other purposes where you might want to serialize all fields?
View ArticleRe : Bitovi is Hiring and We Want You!
We are looking for developers based in North America for now because of the amount of travel to the US required.I would encourage you to submit your resume anyways because we are always looking for...
View ArticleRe : canJS: load model with associations, but only save the “base” model
That does bring up a good point. I think the Model List concat() function does use that same serialize function, so you may end up with funky results there. I think the only way to really do this...
View ArticleRe : canJS: load model with associations, but only save the “base” model
I'd like to see this become a bit more efficient too. Instead of a fixed list of serializable attrs, I feel the solution should be based on the isDirty function somehow, so all (and only) modified data...
View Article