Title: Message

Use the nested tags , refer to the tutorial at www.keyboardmonkey.com/struts/primer  

 

-----Original Message-----
From: Chandra Sekharan Bhaskaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 10:02 PM
To: [EMAIL PROTECTED]
Subject: setter method not getting called

 

Hi ,

    I had used ArrayList and it contains objects of class User.

    I use iterate tag and get the data from the form bean but

    when i change the data of user (edit) and then submit the setter method

    is not being called.

in jsp the iterate tag is used as follows

   <logic:iterate id="supportingInfoTag" name="supportingInfoForm"  property="supportingInfo" >

    <html:text name="supportingInfoTag" property="username" size="25"/>

   </logic:iterate>

 

public MyForm extends ActionForm

{

    ArrayList supportingInfo;

    public void setSupportingInfo(ArrayList supportingInfo)
     {
          System.out.println("in setter method ");
          this.supportingInfo=supportingInfo;
     } 
   

    public ArrayList getSupportingInfo() 
    {
      return this.supportingInfo;
    }

}

Any help would be appreciated

rgds

C.Bhaskaran

 

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to