if versioning is enabled for a component then any changes to it (visibility
flag or model changes)
are recorded and the page version where the component is a child of is
incremented. Then when the page
is rendered or better said urls pointing to that page is rendered get that
version number of the page in the url.
so when you click on or load such an url that page version is loaded. If
that is the last nothing is happening
but if you use the back button then that page is roll backed to the previous
state. So if you did set the visibility of
a component to false at one point and that created page version 2 and you
ask for page version 1 again the components
visibility is set to true again.

johan

On 1/2/07, Carfield Yim <[EMAIL PROTECTED]> wrote:

>From the javadoc of setVersioned:

Parameters:
isVersioned - True to turn on versioning for this component, false to
turn it off for this component and any children.

But what is the meaning of versioned? What is the result if I turn it on
or off?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to