struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: <html:link /> how to use message resource key for href
Date Wed, 05 Apr 2006 09:46:32 GMT
What does your c:set look like?


Vinit Sharma on 04/04/06 08:58, wrote:
> But I faced a problem with the fmt tag, the variable link contains
> the key instead of the text value.
> 
> Any clue??
> 
> On 4/4/06, Vinit Sharma <vinit4j@gmail.com> wrote:
> 
>> Thanks,
>> 
>> I used a <c:set/> in combination with <bean:message/>. But fmt tag
>> looks neat.
>> 
>> :)
>> 
>> 
>> On 4/4/06, Nicolas De Loof < nicolas.deloof@capgemini.com> wrote:
>> 
>>> 
>>> Perhaps somethig like this may work :
>>> 
>>> <fmt:message key="${item.link}" var="link"/>
>>> 
>>> <html:link  href="${link}" >Some text</html:link>
>>> 

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


Mime
View raw message