Hello Nuwan. Doing it the way you proposed defeats the purpose since I have to place this string in a bean first. I would like to retrieve this string directly from message resources and display it with the html intact. Is there any to do this? Thank you for your suggestion.
- Asad On Feb 20, 2008 1:07 AM, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: > Hi, > > why dont you try the <bean:write> tag with filter attribute as false. > > Thanks, > > Nuwan > > > Jeromy Evans wrote: > > Oh, sorry, I assumed you were using Struts 2. That's a feature of the > > default tag library. > > > > Sorry, I don't know the answer for Struts 1.x > > > > Asad Habib wrote: > >> Hello Jeromy. What tag library are you using for this? > >> > >> - Asad > >> > >> > >> > >> On Feb 19, 2008 11:19 PM, Jeromy Evans > >> <[EMAIL PROTECTED]> wrote: > >> > >>> 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: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]