tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: <fmt:param> not working as expected...
Date Fri, 26 Sep 2003 18:31:07 GMT
You're not using Resin, are you?  Resin has their own JSTL
implementation, which might be different from the Jakarta
implementation.

> -----Original Message-----
> From: Billy Bacon [mailto:billy.bacon@thirty3.net] 
> 
> I tried this after your suggestion and I still get the same 
> result. Are you
> doing something differently?
> 
> <fmt:message key="md.tree.label.feedback1">
>     <fmt:param><c:out value="${mdTreeForm.map.itemDesc}"/></fmt:param>
> </fmt:message>
> 
> On 9/26/03 3:54 AM, "Martin van Dijken" <mvdijken@madocke.nl> wrote:
> 
> > Hey Billy,
> > 
> > I've got your example working with one little difference, 
> though it may not be
> > significant. I've got the value within the param tags 
> instead of as value.
> > 
> > Grtz,
> > 
> > Martin
> > 
> >> -----Original Message-----
> >> From: Billy Bacon [mailto:billy.bacon@thirty3.net]
> >> 
> >> I searched the archives and didn't see any issues like this
> >> listed. Can
> >> anyone help me out here?
> >> 
> >> I original had all struts tags and in my messages.properties
> >> file where all
> >> my localized content is stored I had the following entry...
> >> 
> >> md.tree.label.feedback1=Can't find the {0}? Mail
> >> 
> >> Notice the {0} which is a place holder for an argument/parameter...
> >> 
> >> This was working fine with Struts but the following is not
> >> working in JSTL..
> >> 
> >> <fmt:message key="md.tree.label.feedback1">
> >>     <fmt:param value="xyz"/>
> >> </fmt:message>
> >> 
> >> For some reason it's printing out "Can't find the {0}? 
> Mail" and not
> >> replacing {0} with 'xyz'...

Mime
View raw message