struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <jeromy.ev...@blueskyminds.com.au>
Subject Re: Using Variables with Messages in Struts
Date Wed, 20 Feb 2008 04:19:04 GMT
You may be able to do it with s:property, disabling escaping of the html:

<s:property value="getText('some.key')" escape="false"/>

Asad Habib wrote:
> Hello. How do I represent the following in a message resources file?
> Representing a string literal is easy but the following string
> contains a link. Can this even be done? I have used variables with the
> validator before but there is no validator involved in this case.
> Thank you.
>
> Please <a href="login.jsp">click here</a> to sign in.
>
>
> - Asad
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>   

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


Mime
View raw message