Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 4.x
-
Assignee Priority:P3
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
-
Workaround Exists:Yes
-
Workaround Description:
Description
It would be a nice feature if the ace:dialog supported a new "setFocus" attribute that could be set to define the id of a component contained within the ace:dialog that should receive focus whenever the dialog is made visible, either via the the visible attribute or JavaScript API.
This would provide an easy mechanism for applications to have focus be moved to a component inside the dialog when it is presented. Currently, focus is generally persisted on the component that triggers the dialog being made visible, which is usually not the desired outcome.
This would provide an easy mechanism for applications to have focus be moved to a component inside the dialog when it is presented. Currently, focus is generally persisted on the component that triggers the dialog being made visible, which is usually not the desired outcome.
Issue Links
- blocks
-
ICE-9907 ace:dialog - Focus is not set to first input on opening of dialog
-
- Closed
-
Added a note to the TLD doc for the setFocus attribute on the 3.3 maintenance branch only to warn that this attribute is not reliable when used with ACE components - "Specifies the ID of the component contained within the dialog that should receive focus when the dialog is made visible. Note that this feature does not work with ACE components in this release (h: and ice: are supported)."
Resolved.