You could use setVisible(true/false). Create your markup and panel class with all the different data, assign a wicket:id to all tags to be either visible or not and control visibility by your java code.
Juergen On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote: > Here's a more specific case... > > A page conatins a panel. That panel should display different data > depending on what the user does/selects in the main page, and initially > there is nothing to display. > > How is something like this intended to be done? Is there an example of this? > > /Anders > > Anders Peterson wrote: > > Hi, > > > > How do I update reusable panels that make up part of a page? > > > > Do I get a hold on the appropriate models and call setObject? > > > > Ideally (sub) components should know how to update themselves, but then > > it needs a binding/reference to some external (parent) object. How is > > this supposed to be done, or what's a good pattern to follow? > > > > /Anders > -- > http://ojalgo.org/ > > Mathematics, Linear Algebra and Optimisation with Java > > > ------------------------------------------------------- > 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
