Mats Norén wrote:
Stupid question,
but is it possible to remove the actual span-tags from the output?
getMarkupSettings().setStripWicketTags(true);
removes the wicket:ids and the other wicket tags, but is it possible
to remove the span tags for a label?
My output looks almost like the font hell from early Frontpage days,
it's completely littered with span tags :)
/Mats
You can call setRenderBodyOnly(true) on the Component for your span tag.
Or I suppose one could write a rendering filter that removed all span
tags that didn't have any attributes set on them, but that would be a
bit horrid.
Al
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user