| Author |
How to Clean Up Multipe Selections on Display After the Form is Submitted?
|
Daniel Gee
Ranch Hand
Joined: Aug 29, 2003
Posts: 202
|
|
I observed a problem: After a user submits his/her multiple selections from a list box, which is an action taken place, I display the selections to make sure that things work fine. Then, I close the browser. While the server is still running, I re-run the same application. And I see the previously selected items are highlighted in the list box on my screen. What should I do to resolve this problem? I mean how to erase the selections visually after the form is submitted? This is my command button:
|
 |
Daniel Gee
Ranch Hand
Joined: Aug 29, 2003
Posts: 202
|
|
Let me answer my own question. In the displaySelectedFiles() method that is invoked by an action, I nllify the Object[] that contains the multiple selections. This way, the multiple selections that were made previously will not show up (i.e. not be highlighted) on the screen when I re-run the application.
|
 |
 |
|
|
subject: How to Clean Up Multipe Selections on Display After the Form is Submitted?
|
|
|