New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with on page is not picking up changes #75
Comments
Hi, the fiddle is working now. I'm not entirely sure how the internals of KnockoutJS is working. The solution in pager is somewhat different from the solution in KO's |
Yes the fiddle works fine but the old exponentially increasing mystery bug seems to be back again. This fiddle shows the problem I don't think this bug was introduced when this issue (75) was fixed, because I have seen the same behaviour whenever I re-render nodes containing pages f.ex using It seems like if a page-binding is re-rendered something strange happens. That's my gut feeling anyway. |
And with three sub-pages: http://jsfiddle.net/uL7AW/1/ So each sub-page grows in number proportional to the total number of subpages? |
I've posted a question (https://groups.google.com/d/topic/knockoutjs/k8OJk8dTJ7E/discussion) at the KnockoutJS forum about how I'm supposed to implement the with-binding. |
I'm a little curious about your thoughs on using pagerjs like this, I could explain my use case if you want me to. |
OK. I think |
Regarding using the wildcard page I think I might need to supply a better way to handle your use case. I see other developers are using the wildcard pages in the same way while in reality you probably want different element-instances for the different sub-pages. |
I'm sorry so say that the current version of KO makes it very difficult for me to support with-bindings where the view model can be changed (the edge case above works, but |
See this fiddle http://jsfiddle.net/xkCea/10/
When changing the with observable pagerjs with attribute on pages does not pickup the change as knockouts native with does.
The text was updated successfully, but these errors were encountered: