Re: Using Variables with Messages in Struts

2008-02-20 Thread Adam Hardy
If you bear in mind that it's usually best to seperate mark-up and content, then you would break the string down into smaller parts: Then the problem is that in some languages you might break the string down differently. Ideally you would choose a different way of doing it, e.g. Please cl

Re: Using Variables with Messages in Struts

2008-02-20 Thread Asad Habib
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, 2

Re: Using Variables with Messages in Struts

2008-02-19 Thread Nuwan Chandrasoma
Hi, why dont you try the 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

Re: Using Variables with Messages in Struts

2008-02-19 Thread Jeromy Evans
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

Re: Using Variables with Messages in Struts

2008-02-19 Thread Asad Habib
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: > > > > > Asad Habib wrote: > > Hello. How do I represent the following in a message resou

Re: Using Variables with Messages in Struts

2008-02-19 Thread Jeromy Evans
You may be able to do it with s:property, disabling escaping of the html: 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

Using Variables with Messages in Struts

2008-02-19 Thread Asad Habib
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 click here