My c:set is as below:

<c:set var="link">
    <bean:message key="${item.link}" />
</c:set>
<html:link href="${link}">
    <bean:message key="${item.value}"/>
</html:link>

and it works fine.

Thanks,


On 4/5/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]> wrote:
> >
> >> Thanks,
> >>
> >> I used a <c:set/> in combination with <bean:message/>. But fmt tag
> >> looks neat.
> >>
> >> :)
> >>
> >>
> >> On 4/4/06, Nicolas De Loof < [EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Vinit Sharma
IBM

Reply via email to