On Wed, 14 Aug 2002, Richards, Devin N (Devin) wrote:

> Date: Wed, 14 Aug 2002 13:01:34 -0400
> From: "Richards, Devin N (Devin)" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "Users Mailing List Struts (E-mail)" <[EMAIL PROTECTED]>
> Subject: can you have <html:link> in your ApplicationResources.properties?
>
> I have the following using 1.1-b2
>
> Ack.jsp
> <bean:message key="com.myco.myapp.sig" />
>
> ApplicatoinResources.properties:
> com.myco.myapp.sig=Thank you for your inquiry. You may <html:link
> forward="question">submit</html:link> another question
>
> When the action displays the Tiles definition that contains Ack.jsp all of the text 
>appears on the page, but the <html:link> was not "processed" and thus the link is not 
>active.
>
> Any ideas on how to get this to work, with out having to put the <html:link> in the 
>JSP?
>

You cannot embed general JSP stuff into a message and expect it to be
"compiled" at run time.  This is a general JSP rule, not something unique
to Struts.

One simple solution is to embed a <bean:message> call for each of the two
staic parts of the message, and leave a real <html:link> tag in your page
in between.

> TIA
>
> -Devin
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to