ICEfaces
  1. ICEfaces
  2. ICE-4417

Remove use of BridgeFacesContext.setFocusId

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Alpha3
    • 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") : "");
         }

        Activity

        Hide
        Ken Fyten added a comment -

        Has this been resolved already?

        Show
        Ken Fyten added a comment - Has this been resolved already?
        Hide
        Ken Fyten added a comment -

        This pertains to the existing compat. components, which will continue to use this technique in compat. mode.

        Show
        Ken Fyten added a comment - This pertains to the existing compat. components, which will continue to use this technique in compat. mode.

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: