• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation for bean:write

 
Ritu Gupta
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to truncate text in <bean:write> before desplay
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you getting the value from? If it is coming from your action form then you can add a method there that does the truncation.

<bean:write name="myForm" property="truncatedValue" />

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic