jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29551] New: - problem with simple quote in fmt:message with parameter
Date Mon, 14 Jun 2004 08:52:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29551>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29551

problem with simple quote in fmt:message with parameter

           Summary: problem with simple quote in fmt:message with parameter
           Product: Taglibs
           Version: 1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Standard Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: dutrieux@pasteur.fr


I try this in a JSP page :

<fmt:bundle basename="ApplicationResources" prefix="errorSession.">
  <fmt:message key="msg"><fmt:param value="30"/></fmt:message>
</fmt:bundle>

where in my property file : errorSession.msg=It's a error due to {0} minutes of
inactivity.

The result of my jsp page is : Its a error due to {0} minutes of inactivity

The problem is due to simple quote ('). Where I delete the simple quote that's
work perfectly. If I double the simple quote that work perfectly to.
But when there is not parameter in the message, the simple quote is display
correctly.

N.B: I use JSTL v1.0.5

best regards

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message