Can the ActionForm contain some other Message Objects as attributes ? If so
where should the getters and setters for the child MO be coded ? For
example in the below structure MyActionForm is the ActionForm that contains
the user defined MO's MyDepartment and MyProject. First of all is
MyActionForm a valid ActionForm as per STRUTS ? If so where should the
getter and setter for departmentNumber, departmentName, projectNumber,
projectName reside ? Should it be within the MyActionForm or MyDepartment
and MyProject respectively ?

e.g :       MyActionForm inherits ActionForm
      {
            int employeeNumber;
            string employeeName;
            MyDepartment department;
            MyProject project;
      }

      MyDepartment
      {
            int departmentNumber;
            string departmentName;
      |

      MyProject
      {
            int projectNumber;
            string projectName;
      }

Thanks
Sreekant G.
TCS AMBATTUR


This mail was scanned by Interscan Virus Wall of Mailserver at Cathedral Road TCS 
Chennai

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

Reply via email to