[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-557) Reset value in Multi value selectbox when submit
Hoang Hung (JIRA)
jira-events at lists.jboss.org
Wed Jan 27 02:01:19 EST 2010
Reset value in Multi value selectbox when submit
------------------------------------------------
Key: GTNPORTAL-557
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-557
Project: GateIn Portal
Issue Type: Bug
Reporter: Hoang Hung
When I submit form:
1. input Name (with MandatoryValidator): No input
2. multi value select box: I choose 2 value
3. Click submit form.
4.===> Popup Warning Message.
5.Close popup, my selected valued in selectbox is reset
Because of this:
In UIForm.js:
UIForm.prototype.serializeForm:
case "select-multiple":
while (element.selectedIndex != -1) {
this.addField(element.name, element.options[element.selectedIndex].value);
element.options[element.selectedIndex].selected = false;
}
break;
==> Should keep selected value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list