Here's a way w/o using JSP 2.0 EL:
<bean:define id="loginLabel">
  <bean:message key="label.login"/>
</bean:define>
<wall:input type="submit" value="<%= loginLabel %>" />

Bill Siggelkow
[EMAIL PROTECTED]
 
 

> -----Original Message-----
> From: luca [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 02, 2004 3:28 AM
> To: Tag Libraries Users List
> Subject: Struts integration
> 
> 
> Guys, I need to integrate a new tag-lib into the JSP views of 
> an existing Struts application.
> Here is my problem. I now have:
> 
> <anchor>
>    <go ...>
>      :
>    </go><bean:message key="label.login" /> </anchor>
> 
> This should become:
> 
> <wall:input type="submit" value="<bean:message 
> key="label.login" />" />
> 
> Alas, this is not possible. Any idea how this can be achieved?
> I hear there's an EL port which makes EL variables work for 
> Struts tags too. Can it help in this case?
> 
> A scriptlet-based solution will do too.
> 
> In case you are curious, this is the tag-lib I'm integrating with:
> 
> http://wurfl.sourceforge.net/java/tutorial.php
> 
> Thanks
> 
> Luca
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to