Erik van Oosten wrote:

How can I put a component id in the html file without rendering any output?

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).

Eelco



Regards,
    Erik.



-------------------------------------------------------
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




-------------------------------------------------------
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

Reply via email to