what would you poll the form for? (calling isVersioned()) from the form components isVersioned()?
That is pretty much already done in that method.

i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change.
I guess the rest like visible it should work....

johan


On 9/12/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
not formcomponents, which i think is a bit weird/wrong.

what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this?

in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push.

-Igor

On 9/12/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
Can the call  'addLink.setVersioned(true);' be left out? By default
pages are versioned so components on pages are versioned too by default,
right?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to