You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ritesh Singhal <ri...@infosys.com> on 2003/03/20 06:03:43 UTC
Pupulating Table in edit mode
Hi All,
I have a screen in which I displays some data in a table format. Now the
columns of this table will be submitted as array in to the form bean. So
we have a column name "status" we will have methods in form bean like:
setStatus(String[] status)
String[] getStatus()
Now suppose I want to read the data stored in this arrays in a edit
screen, so I will have some text fields like:
<html:text property="status"/>
This will not print the proper values as property "status" is an array.
Is there a way to read the values from the arrays in a text field?
Thanks and Regards
Ritesh