Hey guys! A few months ago our Struts "expert" up and moved to Minnesota. For the first month or so we got by ok, but then we started to really notice the knowledge drain. It was most evident when we decided to upgrade from 1.0.2 to 1.1. We struggled through the upgrade and thought we had gotten past all of the issues until we released to QA last week. QA found a couple bugs that seem to be Struts related. The most confusing one seems about the simplest....
We have the following code on a JSP... <td> <input type="hidden" id="hiddenSearchParameterValues" name="hiddenSearchParameterValues" value="" /> </td> And some Java Script that loads N selections into the hidden field (for loop omitted). var hiddenTable = document.all("hiddenParams"); if (!(document.getElementsByName('hiddenSearchParameterValues')[ndx])) { newRow = hiddenTable.insertRow(); cell1 = newRow.insertCell(); cell1.innerHTML = '<input type="hidden" id="hiddenSearchParameterValues" name="hiddenSearchParameterValues" value="" />'; } document.getElementsByName('hiddenSearchParameterValues')[ndx].value = document.forms[0].searchParameters.options[ndx].value; And in the Form object we have the following function declarations. public void setHiddenSearchParameterValues(String selectedParameters) public void setHiddenSearchParameterValues(String[] selectedParameters) The setHiddenSearchParameterValues(String selectedParameters) methods was added earlier today by myself just to make sure Struts wasn't mistakenly looking for a different signature. The bug is that the setHiddenSearchParameterValues(String[] selectedParameters) is never getting called. We have deployed several versions of this application under Struts 1.0.2 that were all running successfully over the past 2 years. According to CVS this code hasn't changed in 6 or 7 months! And to make matters more confusing we've used a sniffer to see the request that is sent back after the submit is pressed and the data is there! Somehow Struts is not picking it up. I know it is some subtle configuration problem, but I have no idea where to begin looking, more less what question to ask. Any suggestions? Ideas? Thanks! Paul Jurgens --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]