Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl help  RSS feed

 
Vj Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

weblogic.servlet.jsp.CompilationException@150ed18 ==> weblogic.servlet.jsp.CompilationException: Failed to compile JSP /ClosedCustomerFile.jsp
ClosedCustomerFile.jsp:988:20: The page failed validation from validator: "Encountered illegal body of tag "fmt:formatNumber" tag, given its attributes.".
<fmt:formatNumber value="${invoiceDetail.itemRate}" type= <c:if test="${invoiceDetail.rentalDailyPercentage== 'P'}">"percent"</c:if> />
^--------------------------------------------------------^

Hi! please help to append the 'percent' as an attribute in the 'fmt' tag satisfying the inner condition. Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"urmypal", please check your private messages for an important administrative matter. Thanks.

I also removed the red text -- it was unreadable. Please avoid over-use of color in your posts.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot use a custom tag as the attribute value of another custom tag.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!