Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: 2.0-Alpha3
-
Component/s: Bridge, Framework, ICE-Components
-
Labels:None
-
Environment:JSF 2.0
Description
Eventually, a general focus management mechanism should help us here.
In the short-term, BridgeFacesContext is going away so the components will need to use the new general focus strategy provided in ICEfaces 2.0. An interim focus strategy is required in the compatibility layer to handle this until the official focus handling is ready. The method is straight-forward and can be (most likely) simply handled in a utility class.
public String getFocusId() {
Map map = externalContext.getRequestParameterMap();
return (String) (map.containsKey("ice.focus") ? map.get("ice.focus") : "");
}
In the short-term, BridgeFacesContext is going away so the components will need to use the new general focus strategy provided in ICEfaces 2.0. An interim focus strategy is required in the compatibility layer to handle this until the official focus handling is ready. The method is straight-forward and can be (most likely) simply handled in a utility class.
public String getFocusId() {
Map map = externalContext.getRequestParameterMap();
return (String) (map.containsKey("ice.focus") ? map.get("ice.focus") : "");
}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion