This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation for bean:write

 
Ritu Gupta
Greenhorn
Posts: 1
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic