Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: None
-
Labels:None
-
Environment:ICEfaces
Description
ice.se (singleSubmitExecuteThis) causes focus to be lost when used with compat and h: components.
Using the singleSubmit variant of component-showcase:
icefaces2/branches/ice-6178/
Choose the selection demo. Observe that focus is lost when any of the "select" items are selected.
Activity
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Description |
ice.se (singleSubmitExecuteThis) causes focus to be lost when used with compat and h: components. |
ice.se (singleSubmitExecuteThis) causes focus to be lost when used with compat and h: components. Using the singleSubmit variant of component-showcase: icefaces2/branches/ice-6178/ Choose the selection demo. Observe that focus is lost when any of the "select" items are selected. |
Salesforce Case | [] | |
Fix Version/s | 2.0.0 [ 10230 ] | |
Affects Version/s | 2.0-Beta2 [ 10242 ] | |
Assignee | Mircea Toma [ mircea.toma ] |
Salesforce Case | [] | |
Assignee Priority | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23348 | Tue Dec 07 08:56:23 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23349 | Tue Dec 07 08:59:21 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23365 | Tue Dec 07 15:00:11 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23366 | Tue Dec 07 15:00:22 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23370 | Tue Dec 07 17:06:10 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23372 | Tue Dec 07 17:22:28 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23373 | Tue Dec 07 17:23:11 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Modifying application.js to use the following allows focus to be retained in component-showcase:
jsf.ajax.request(element, event,
{execute: element.id, render: "@all"});
// ice.se(e, element);
The root cause of loss of focus appears to be the following in submit.js:
//move element from its original place into the single submit form
form.appendChild(element);
Moving the element that is currently focused by the user is likely the source of the problem. Using innerHtml may be an option for cloning the element if DOM APIs are not suitable.