Details
- 
        Type:
 Improvement
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 1.7.1
 - 
            Fix Version/s: EE-1.8.2.GA_P03, 2.1-Beta, 3.0, EE-2.0.0.GA_P01
 - 
            Component/s: ICE-Components
 - 
            Labels:None
 - 
            Environment:n/a
 
- 
                        Assignee Priority:P1
 - 
                        ICEsoft Forum Reference:
 - 
                        Affects:Documentation (User Guide, Ref. Guide, etc.)
 
Description
                    Currently, when an item from the drop down is selected the selectInputText fires a full submit event. This makes it difficult to use the component in a form with other required input components, as the full submit will fire the required validation for the other components.
suggested fix:
### Eclipse Workspace Patch 1.0
#P ICEfaces-ossrepo
Index: bridge/lib/extras/autocomplete_ext.js
===================================================================
--- bridge/lib/extras/autocomplete_ext.js (revision 17263)
+++ bridge/lib/extras/autocomplete_ext.js (working copy)
@@ -591,8 +591,8 @@
var form = Ice.util.findForm(this.element);
// form.focus_hidden_field.value=this.element.id;
if (isEnterKey) {
- Ice.Autocompleter.logger.debug("Sending submit");
- iceSubmit(form, this.element, event);
+ Ice.Autocompleter.logger.debug("Sending partial submit for enter key");
+ iceSubmitPartial(form, this.element, event);
}
else {
Ice.Autocompleter.logger.debug("Sending partial submit");
            
suggested fix:
### Eclipse Workspace Patch 1.0
#P ICEfaces-ossrepo
Index: bridge/lib/extras/autocomplete_ext.js
===================================================================
--- bridge/lib/extras/autocomplete_ext.js (revision 17263)
+++ bridge/lib/extras/autocomplete_ext.js (working copy)
@@ -591,8 +591,8 @@
var form = Ice.util.findForm(this.element);
// form.focus_hidden_field.value=this.element.id;
if (isEnterKey) {
- Ice.Autocompleter.logger.debug("Sending submit");
- iceSubmit(form, this.element, event);
+ Ice.Autocompleter.logger.debug("Sending partial submit for enter key");
+ iceSubmitPartial(form, this.element, event);
}
else {
Ice.Autocompleter.logger.debug("Sending partial submit");
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion