Modifying list boxes via javascript causes jsf buttons to not call methods
I have a web page that contains several list boxes and a button which, after the user makes selections from the list boxes, invokes a backing bean method. This was all working fine until I added javascript code which, depending on the selection in one list box, modifies the options available in other list boxes. Now, when the button is clicked, the web page is redrawn, but the backing bean method which was to be invoked is never called.
The list boxes are modified by code similar to:
while ( Ctr < 10 ) {
form["CwtMain:SsnSta"].length = Ctr + 1;
form["CwtMain:SsnSta"].options[Ctr].text = TextLabel;
form["CwtMain:SsnSta"].options[Ctr].value = TextValue;
Ctr = Ctr + 1;
}
Any ideas?

