struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <>
Subject Re: Not escaping HTML in checkbox Tag
Date Sat, 17 Nov 2018 19:54:05 GMT
Hi Marc,

There is a same question at [1]. Does it's answer satisfy your question?


On Nov 16, 2018, at 3:17 PM, Marc Michele <<>>

Hello list,

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

message.privacy=Die <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:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message