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> > > > > > > Nico. > > > > Vinit Sharma a écrit : > > > Hi, > > > > > > My requirement is to use a message resource key for html:link href > > attribute > > > instead of passing a hardcoded value. > > > > > > Below: > > > > > > <html:link href="${item.link}" >Some text</html:link> > > > > > > I want to replace, ${item.link} with a key from resource file, btw my > > ${ > > > item.link} returns a key only. > > > > > > Can some one give an insight. > > > > > > Thanks, > > > > > > > > > -- > > > Vinit Sharma > > > > > > > > > > This message contains information that may be privileged or confidential > > and is the property of the Capgemini Group. It is intended only for the > > person to whom it is addressed. If you are not the intended recipient, you > > are not authorized to read, print, retain, copy, disseminate, distribute, > > or use this message or any part thereof. If you receive this message in > > error, please notify the sender immediately and delete all copies of this > > message. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Vinit Sharma > -- Vinit Sharma