I guess the reason that a button is a formcomponent is because a button can receive input... the value of a submit is pretty important...
Martijn On 9/13/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > add an rfe for 2.0 :) > > -Igor > > > > On 9/13/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > yeah that a button is a FormComponent on the wicket side is maybe a bit > strange.. > Because almost all the things formcomponent has are not really used by a > button. > > I get that on the markup side it is a form thing.. But to be a formcomponent > in java is maybe not even needed. > > johan > > > > On 9/13/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > yes, it doesnt make sense for form components that act on input, but this > doesnt exactly apply to buttons. > > -Igor > > > > On 9/13/06, Johan Compagner < [EMAIL PROTECTED]> wrote: > > > > 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 > > [email protected] > > 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 > [email protected] > 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 > [email protected] > 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 > [email protected] > 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 > [email protected] > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow -- http://wicketframework.org ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
