Hi,
I am working on a project where on a
jsp there are two different listbox. My job is to transfer the content of one list box to another, which is working fine. But problem comes when the list box is submitted to action class. That is once the data is submitted to the form, the data becomes available to action class, now if i come back to the list box in user interface and clear the contents of list box same is not reflected in the form bean and it's still retaining the values
Please help.
here is the code that i have written for list box
List Box 1:
List box :2
when all the contents of the list box are empty the form bean is still showing that data is available
Here is what I am trying to do. (Please see the screen shot for clarification)
Step 1: In "Export" tab, from "Available Partners" I am transfering the contents to "Assigned Partners" box
Step 2: I am navigating to "Import" tab and will do some changes there
Step 3: I will come back to "Export" and i will remove all the contents of "Assigned Partners" and put it back into "Available Partners" box (At this stage the form still holds the previous contents already assigned)
Step 4: I will navigate to some other tabs like "Import"
Step 5: Now when I check the "Available Partners" box, it shows the contents previously assigned, but in "Step 3" i have removed all the contents
Please help.
Regards
Dilip H P