DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22453>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22453

Multiple methods with the same name on an ActionForm cause problems





------- Additional Comments From [EMAIL PROTECTED]  2003-08-15 10:51 -------
How do you edit the bastard bug if you hit submit accidentally? If I entered it
I should be able to edit the description.

For instance, days of the week which are stored and manipulated as an array:
public String[] getDays() {
  // return hard-coded {"Monday", "Tuesday", etc.};
}

public String[] getSelectedDays() {
  // return selected days
}

public void setSelectedDays(String[] selDays) {}

public void setSelectedDays(String oneLongStringOfDays) {}

The addition of the last method will cause the error.
The fix is to ensure that the reflection is a bit more picky about what it is
looking for.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to