Hi,
I recently tried the following in a panel's markup:
<div wicket:id="menu"></div>
add(new MenuPanel("menu"));
and in MenuPanel.html:
<wicket:panel class="menuBar"> ... </wicket:panel>
Unfortunately the "class" attribute was not put in the result. It was
even silently ignored!
WDYT, is this desired behavior?
FYI, this is my workaround:
<wicket:container wicket:id="menu"></wicket:container>
add(new MenuPanel("menu"));
and in MenuPanel.html:
<wicket:panel>
<div class="menuBar"> ... </div>
</wicket:panel>
Regards,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]