Hi,
I have a Panel and I want to change it's markup according to values
specified at the tag using the panel:
div wicket:id=myPanel myValues=showLeft showRight
The class MyPanel should read the attribute myValues and use the values as
model inside the panel, for instance show/hide some
Override onComponentTag in your component and get the values with
tag.getAttributes().
In Wicket 2.0, you can even do getMarkupAttributes right in your
component's constructor.
Eelco
On 7/24/06, jan_bar [EMAIL PROTECTED] wrote:
Hi,
I have a Panel and I want to change it's markup according
Thanks Eelco for you quick support.
Jan
Eelco Hillenius [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Override onComponentTag in your component and get the values with
tag.getAttributes().
In Wicket 2.0, you can even do getMarkupAttributes right in your
component's constructor.