Gurus,
I am trying to use a multiple select. Data comes correct and the box gets populated properly. However, no value gets selected when the page gets loaded first time.
How do I make all elements of that box get selected by default? Following is the piece of code.
In the actionform initialize the array productIdSelected with all the option elements. When the page is rendered the option values that match with productIdSelected values are pre selected.
Venkat Divvela wrote:In the actionform initialize the array productIdSelected with all the option elements. When the page is rendered the option values that match with productIdSelected values are pre selected.
Is the ActionForm properly initialized?
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
a bit of art, as a gift, the permaculture playing cards