Re : Justin - Added failing testcase - Is there a better way to load base...
JustinDid you get chance to look at this issue?
View ArticleRe : Justin - Added failing testcase - Is there a better way to load base...
I will hopefully have time later this week. Last week and this week have all been can.Component. If you don't hear from me by Monday, bump this thread and I will look into it ASAP. Sent from my...
View ArticleData not converted to observable?
findAll defined as below converts raw data to object instances (Observables) correctly:findAll: function(filter, success, error){return $.ajax{// my ajax options}findRecent defined int the same model...
View ArticleRe : Data not converted to observable?
I found a similar post:https://forum.javascriptmvc.com/topic/multiple-custom-get-calls-in-a-modelIf you have multiple REST urls for different queries of the same model, what is the best practice to...
View ArticleMustache live binding issue no 1 (of 2)
Using canjs 1.1.7 with jQuery and Mustache templatesI have a 2x pane UI with a 'summary' in the left pane that is a nested <ul> with clickable links, very like a simple file tree widget with the...
View ArticleMustache live binding issue no2 (of 2)
See the issue no 1 for the background, a 2x pane ui with an Observe.List rendered to a summary panel on the left which can be clicked to render the particular item in question to an editing panel on...
View ArticleRe : Mustache live binding issue no2 (of 2)
Sorted !I guess the act of writing this out has prompted the obvious, to take a look at Observe.List properties to see if there is a better way to recreate the original data.I am now doing that using a...
View ArticleStart listening for event in Control.
Hello,how can i start listening for an event, after another event just came, in a can.Control?Thanks.
View ArticleRe : Data not converted to observable?
You shouldn't have done that with JMVC, but the same thing is possible with canjs. Better is to switch between different endpoints within findAll. Sent from my iPhoneOn Aug 28, 2013, at 3:46 AM,...
View ArticleRe : Start listening for event in Control.
Not sure I follow. Can you elaborate on your use case? If you can, a fiddle showing what you have attempted is very useful to use in debugging your issue.
View ArticleRe : Is there still documentation for v3.2 somewhere?
Thanx, U made my day)I had same problem, 3.2 on production, and I had panic when I lost 3.2 docs.
View ArticleRe : Mustache live binding issue no2 (of 2)
The reason you see the changes reflected in the new Object is because you didn't create a new Object. Let me explain...The parameters you passed to _.extend are backwards. The first parameter is the...
View ArticleRe : Mustache live binding issue no2 (of 2)
CurtisThanks for pointing out my params were arse about face, as we say in the UK (:-)Noted your comments on backup but AFAICS it doesn't actually reverse the process of creating an observable - which...
View ArticleRe : Mustache live binding issue no 1 (of 2)
Like you said, list live binding does work, so there is something in your code that is breaking this. There are are a lot of silly things that could cause something like this, but without more to go on...
View ArticleLive binding issue no 3 (update on no2)
Been experimenting and made a little progress.Latest status is the following template : <ul> {{#each this}} {{#if isSection}} <li>{{sectionName}}...
View ArticleRe : Live binding issue no 3 (update on no2)
The problem is that live binding will only work with Observe.Lists. _.filter is returning plain Arrays of Observes, so the Observes are still updated, but if you add more items to your original list,...
View ArticleRe : Live binding issue no 3 (update on no2)
CurtisMany thanks again for your response.As you say, I could restructure my observableList such that each section included an array of questions/comments and render using that.In fact that's exactly...
View ArticleCanJS Route Not Working When Pressing The Browser's Back Button
I created a simple controller with simple about route. The routing works when I change my URL to #!/about but when I press the browsers back button it does not change to controller1...
View Articlenavigation for popup in can.route
Hi,I have a popup in my project.I can navigate all the pages using can.route while going front and back directions except the popup.can any one help me how can i get the popup again...
View ArticleWorking with Observables and computes
Hi,I have 1 main control and 3 other child controls. Main control is widget control and the other 3 are for select lists (with dependency):- First Select list to select area course- Second select list...
View Article