aspose file tools*
The moose likes Struts and the fly likes  validation for bean:write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " validation for bean:write" Watch " validation for bean:write" New topic
Author

validation for bean:write

Ritu Gupta
Greenhorn

Joined: Feb 21, 2006
Posts: 1
how to truncate text in <bean:write> before desplay
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: validation for bean:write