Sure, but then he'd probably be seeing a translation error instead, right? Note
that the inner <fmt:message> isn't closed either. Seems to work fine for me
(using proper syntax) on TC 5.0.27 with Standard 1.0.6 (JSTL 1.0):

<%@ page contentType="text/plain" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>

<fmt:message key="form.title">
    <fmt:param>
        <fmt:message key="person.form.name"/>
    </fmt:param>
</fmt:message>

Quoting Niall Pemberton <[EMAIL PROTECTED]>:

> Looks like you're not closing the   <fmt:param> tag:
> 
> Instead of ...
>   <fmt:param>
>     <fmt:message key="person.form.name">
>   <fmt:param>
> 
> Shouldn't it be:
> 
>   <fmt:param>
>     <fmt:message key="person.form.name">
>   </fmt:param>
> 
> Niall
> 
> ----- Original Message ----- 
> From: "Johan Wasserman - BCX - Infrastructure Services"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, August 16, 2004 3:20 PM
> Subject: JSTL duplication of tag content
> 
> 
> Anyone else experiencing duplication of tag contents with JSTL?
> 
> e.g.
> <TITLE>
> <fmt:message key="form.title">
>   <fmt:param>
>     <fmt:message key="person.form.name">
>   <fmt:param>
> </fmt:message>
> </TITLE>
> 
>  where:
> 
> form.title=Log new {0}
> person.form.name=Person
> 
> Results in "Log new Person" the first time you open the form and "Log
> new PersonPerson" the second time and "Log new
> PersonPersonPersonPersonPerson" the n'th time.
> 
> Any suggestions?

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to