Eelco Hillenius schreef:
I tried <span wicket:id="menuItems"> with
this.getSettings().setStripWicketTags(true); in the application
constructor. However, there is still a <span> element rendered. I
want to get rid of those as well as it plays havoc with my css styles.
Not sure whether I understand you, but you can 'turn off' components
and all of their children by setting the 'visible' property;
setVisible(false).
I want to keep the children. Here is what I have:
<html xmlns:wicket>
<wicket:panel>
<div class="Menu">
<span wicket:id="menuItems">
<div class="MenuBlockTitle"><span
wicket:id="title">_title</a></div>
<div class="MenuBlock">more stuff</div>
</span>
</div>
</wicket:panel>
</html>
In the output I need to get rid of the span with wicket:id="menuItems".
I do need to get the two divs inside it. I can not set the
wicket:id="menuItems" on the div with class Menu as this is a div with
an absolute position on the page and may therefore not be duplicated.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user