I have a pdk:select with optionsCollection, with the multiple set so that I can select multiple options. The problem I am having is they will not stay highlighted. I need to be able to select one or many options and when the selection is taking place, I need to be able to make calls to the db and get other options associated with the selected options (one to many), this much I have working but how do I keep my selections highlighted after the screen has refreshed? :banghead:
What's pdk:select? Is it a Struts tag with a weird prefix?
Joined: May 04, 2010
Yes, it is sturts.
in the set_selectedValues() for now I am just doing "document.forms.submit(); In my action class I have a private method set_sectors that calls to the db and gets all sectors relating to the selected industries:
So how do I keep my multiple selections highlighted after my set_selectedValues() call?
any help will be greatly appreciated.
how do I initialize my selection list to the latest selected values. I can do the initialization for a single selected value but how for multiple selected values? and where? in the script or in the java class?
this is how I am setting the current selection in the java class