finnsson / pagerjs

The Single Page Application Framework for KnockoutJS
http://pagerjs.com/
MIT License
271 stars 68 forks source link

Load the same viewmodel and bind the view on click every time #207

Open chaitanya-perupogu opened 9 years ago

chaitanya-perupogu commented 9 years ago

There are two divisions in a page. First division has multiple entries. On click of each entry a view model has to be called and second division needs to be loaded with corresponding sourceOnShow. But the viewmodel is called only on the first click.

On first click, the URL gets changed to '#!/the second page id' and withOnShow gets called, but on next click, the URL remains same but withOnShow VM doesn't get called.

gogikartarun commented 9 years ago

Finnsson: I too have the same scenario, could you please reply as soon as possible

karunakarkalakota commented 9 years ago

Dear finnsson , Can you please give as the solution for the above issue.Even i got struck with the same issue.Thanks.