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
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | ICE-3374.patch [ 11151 ] |
Tyler Johnson
made changes -
Salesforce Case | [5007000000Guwgm] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24601 | Tue May 17 10:10:07 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/extras/autocomplete_ext.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24602 | Tue May 17 10:13:03 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24603 | Tue May 17 10:19:47 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/javascript/extras/extras.js
|
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P03 [ 10251 ] | |
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P1 | |
Assignee | yip.ng [ yip.ng ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24605 | Tue May 17 11:45:19 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java
MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/autocomplete_ext.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24606 | Tue May 17 11:56:32 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java
MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24607 | Tue May 17 12:01:17 MDT 2011 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/javascript/extras/extras.js
MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
yip.ng
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
yip.ng
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Summary | selectInputText should use a partialSubmit rather than a submit event on item selection | Add partialSubmit attribute to selectInputText |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta [ 10291 ] | |
Fix Version/s | 2.1 [ 10241 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
patch