Mantis - Resin
Viewing Issue Advanced Details
893 minor always 01-20-06 13:54 01-23-06 19:06
sam  
ferg  
normal  
closed 3.0.17  
fixed  
none    
none 3.0.17  
0000893: fast-jstl and fmt:param containing fmt:formatNumber
(rep by E Anzalone)

The trouble appears to be with nesting content inside the body of a
<fmt:param> tag. fast-jstl doesn't seem to like it. Just for a test, I
added the following to my page and it broke:

 <fmt:message key="errors.required">
   <fmt:param>
     <fmt:formatNumber value="10000"/>
   </fmt:param>
 </fmt:message>
This compiles fine with fast-jstl disabled and in Tomcat.
       
Here's the stack trace:
[09:15:13.614] /index.jsp:1: A body is necessary inside the "fmt:param"
tag, giv
en its attributes.
[09:15:13.614] A body is necessary inside the "fmt:param" tag, given its
attribu
tes.
[09:15:13.957] Compiling _jsp/_500__jsp.java
com.caucho.jsp.JspLineParseException: /index.jsp:1: A body is necessary
inside t
he "fmt:param" tag, given its attributes.
A body is necessary inside the "fmt:param" tag, given its attributes.
       at com.caucho.jsp.java.JspNode.error(JspNode.java:1425)
       at com.caucho.jsp.java.JspNode.error(JspNode.java:1416)
       at
com.caucho.jsp.java.JavaJspGenerator.validate(JavaJspGenerator.java:4

Notes
(0000764)
ferg   
01-23-06 19:06   
jsp/1c3t - already fixed in 3.0.17