yes you're right. And you are also immediately aware which component may become invisible, as most likely not all components are affected.
Juergen On 8/20/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Also possible. > > Overriding isVisible is easier/ cleaner to program imo. The advantage of > calling setVisible instead of overriding isVisible is that by calling, > the state change will be recorded which has the effect that the > back-button will be better supported. If that's important in your case. > > Eelco > > Juergen Donnerstag wrote: > > >you may override Form.onRender() or Form.onComponenTagBody(). First do > >your check and set components invisible/visible and than call the > >super implementation. > > > >Juergen > > > >On 8/20/05, Ralf Ebert <[EMAIL PROTECTED]> wrote: > > > > > >>Hi, > >> > >>I'm currently building a form which has some components which are not > >>shown sometimes in dependency of model data. I'm not sure how to > >>build things like that because I found no way to do this in the same > >>way like other model values are bound to the components > >>(propertymodels and ognl expressions). My first idea was to do this > >>myself in the containing form, like in onBeginRequest method, but > >>this didn't worked out very well because the model data can be > >>changed after this by event handlers. What's the wicket way of doing > >>things like that? > >> > >>Regards, > >>Ralf > >> > >> > >>------------------------------------------------------- > >>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >>_______________________________________________ > >>Wicket-user mailing list > >>[email protected] > >>https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > >> > >> > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >_______________________________________________ > >Wicket-user mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
