File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
validation for bean:write
Joined: Feb 21, 2006
Feb 21, 2006 22:56:00
how to truncate text in <bean:write> before desplay
Joined: Feb 08, 2006
Feb 22, 2006 09:16:00
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" />
It is sorta covered in the
JavaRanch Style Guide
subject: validation for bean:write
Display Check Boxes & Dropdowns in Struts with search results
How to generate a jsp page with form in struts where input values are pre-generated?
html tag label equivalent?
bean:write and integer properties
Tag to display and fill Form
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015