first of all a page has a version number not the listview.
And when must the version be bumped up one?
When the model of the listview changes?
See the modelChanging can modelChanged() events. That will up the version number.

johan


On 2/25/06, Robert McClay <[EMAIL PROTECTED]> wrote:
I'm using Wicket 1.1. I have a page with 1 constructor (no default
constructor):

public ChoiceListDetailPage(final Page backPage, final ChoiceList detail)

I construct and then go to the page from a bookmarkable list page. The
new page doesn't handle versioning correctly though. It is the same as
its parent page but it isn't bookmarkable. It contains a ListView that
needs to be versioned, but even though I say
listView.setVersioned (true) the version number for the list is never
incremented. The listview's model is a LoadableDetachableModel
generated from database records fresh each time.

Any ideas? Why does it work on a bookmarkable page but not on one that isn't?

Thanks.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to