Hello all. 
I need some help. 
I have a form which contains an ArrayList, this list has getters and setters
:

 private ArrayList <DataProvRecDTO> entitylist = new
ArrayList<DataProvRecDTO>();
 /**
 * @return Returns the entitylist.
 */
public ArrayList<DataProvRecDTO> getEntitylist()
{
        return entitylist;
}

/**
 * @param entitylist The entitylist to set.
 */
public void setEntitylist(ArrayList<DataProvRecDTO> entitylist)
{
        this.entitylist = entitylist;
}

I use this list on a JSP page :
<logic:iterate id="entity" indexId="ind" name="DataProvRecActionForm"
property ="entitylist"
type="com.hcfa.datamanager.datamodel.dto.DataProvRecDTO" >

<td  class="resultTd"  nowrap><html:text maxlength="2" size="3"
name="entity" property="jun" /></td>

The display of data works great. But when I make changes to the data and
submit the form, the array is always NULL.. Any help please.. 

Cisco.. 


        

-- 
View this message in context: 
http://www.nabble.com/ArrayList-always-NULL-when-posting-data-in-a-form-tf3356167.html#a9334040
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to