struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Michele <develo...@tiv-consulting.de>
Subject Not escaping HTML in checkbox Tag
Date Fri, 16 Nov 2018 11:47:33 GMT
Hello list,

my problem is that i have a message resource key defined like this:

message.privacy=Die <a
href="/public/privacy/index.html">Datenschutzerklärung</a>

when i use it in text tag like this:

<struts:text name="message.privacy" escapeHtml="false"/>

all is ok an html is not escaped

but when i used it in checkbox tag like this:

<struts:checkbox key="message.privacy" />

html is escaped an my link is not working

is there a way to disable escaping on checkbox tag, i search the hole
documentation and i found nothing to disable escaping



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message