Kalpesh Modi wrote:
Hi,
I am having a problem in updates.
I have a base class Employee.java. I have subclasses HourlyEmployee.java,
ContractEmployee.java, FullTimeEmployee.java.
I display these three types of employees under 3 tabs on my JSP.
I create 3 lists for each type of employees and put these lists in a HashMap with different keys.
Map employeeMap = new HashMap();
employeeMap.put ("HE", hourlyEmployeeList);
employeeMap.put ("CE", contractEmployeeList);
employeeMap.put ("FE", fullTimeEmployeeList);
I am able to display the list of employees properly. But when I change the
values and submit the form, the new values dont show up in the action.
That's definately doable, so it's probably a simple tag usage error. You
don't include your code, so it's impossible to say where the problem is,
but I'd suggest you start by simplifying things down; start by making
sure you can edit a single employee; then get it working with a list of
employees; then with a list in a map. Along the way you'll probably
discover which asspect of your data addressing is incorrect.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]