tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Bacon <billy.ba...@thirty3.net>
Subject Re: <fmt:param> not working as expected...
Date Fri, 26 Sep 2003 16:44:12 GMT
Martin,

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]
>> Sent: donderdag 25 september 2003 19:56
>> To: Tag Libraries Users List
>> Subject: <fmt:param> not working as expected...
>> 
>> 
>> 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'...
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
> 


Mime
View raw message