Hi! Also here is a way:
http://webcache.googleusercontent.com/search?q=cache:D3a_O4kK4t0J:www.wickettraining.com/ws-sites/minis-parent/minis/xref/org/wicketstuff/minis/apanel/APanel.html+%22apanel%22+wicket&cd=1&hl=fi&ct=clnk&gl=fi&client=firefox-a 2010/5/4 Zilvinas Vilutis <[email protected]>: > You can do it with ListView's - you can make a list of "panels" and > add your own custom panel in each iteration. > > Žilvinas Vilutis > > Mobile: (+370) 652 38353 > E-mail: [email protected] > > > > On Tue, May 4, 2010 at 10:36 AM, Igor Vaynberg <[email protected]> > wrote: >> somewhere somehow you have to provide markup. so your dynamic panel >> will consist of other dynamic panels added at runtime, so your parent >> panel can have this markup >> >> <wicket:panel><wicket:container >> wicket:id="children"></wicket:container></wicket:panel> >> >> the "children" component being some repeater such as a RepeatingView >> which will instantiate and add the dynamic selection of child panels. >> >> -igor >> >> On Tue, May 4, 2010 at 10:23 AM, Brian Mulholland >> <[email protected]> wrote: >>> I don't have this situation right now, it's mostly curiosity, but I've >>> had these requirements at times in the past. If I had a panel whose >>> appearance was highly dynamic, say perhaps because it was driven by >>> some personalization or data, can a Wicket panel add components that >>> don't have a corresponding tag in HTML? >>> >>> So I would just have a tag for where the wicket panel renders, but the >>> panel might consist of an unknown combination of other controls so >>> that I could not have a static HTML template for it. How might I >>> handle that in wicket? >>> >>> Brian Mulholland >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
