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:   cika...@gmail.com



On Tue, May 4, 2010 at 10:36 AM, Igor Vaynberg <igor.vaynb...@gmail.com> 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
> <blmulholl...@gmail.com> 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: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to