Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Link in checkbox label

Kevin Lawrence

2007-08-02


Is there away to stop the label of a checkbox from being escaped?

<s:checkbox
key="legal"
label="I have read the <a href='/about/legal/'>legal stuff</a>"/>

results in:

<label for="_legal" class="checkboxLabel">I have read the &lt;a
href='/about/legal/'&gt;legal stuff&lt;/a&gt;</label>



TIA

Kevin

www.junitfactory.com
You send us code. We send back tests. For free.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.