Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0
    • Component/s: Uncategorized
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      179
    • Status Whiteboard:
      Hide

      EGTop5 effort_moderate

      Show
      EGTop5 effort_moderate

      Description

      The NavigationHandler API does not allow for any re-use. It would greatly help
      the ability to extend navigation code if the API would include methods such as:

      /**

      • Returns the navigation case that applies for the given action and outcome
        */
        public abstract NavigationCase
        getNavigationCase(javax.faces.context.FacesContext context,
        java.lang.String fromAction,
        java.lang.String outcome);

      /**

      • Returns the view ID that would be created for the given action and outcome
        */
        public abstract String getViewId(javax.faces.context.FacesContext context,
        java.lang.String fromAction,
        java.lang.String outcome);

      /**

      • Invoked by the navigation handler before the new view component is created.
      • @param viewId The view ID to be created
      • @return The view ID that should be used instead. If null, the view ID passed
      • in will be used without modification.
        */
        public abstract String beforeNavigation(String viewId);
      1. changebundle.txt
        8 kB
        Ed Burns
      2. changebundle.txt
        30 kB
        Ed Burns

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          Created an attachment (id=196)
          add NavigationCase.get

          {Action,Resource}

          URL();

          Show
          Ed Burns added a comment - Created an attachment (id=196) add NavigationCase.get {Action,Resource} URL();
          Hide
          Ed Burns added a comment -

          take ownership

          Show
          Ed Burns added a comment - take ownership
          Hide
          Ed Burns added a comment -

          fixed.

          Show
          Ed Burns added a comment - fixed.
          Hide
          Ed Burns added a comment -

          Prepare to delete "spec" subcomponent.

          Show
          Ed Burns added a comment - Prepare to delete "spec" subcomponent.
          Hide
          Manfred Riem added a comment -

          Closing resolved issue out

          Show
          Manfred Riem added a comment - Closing resolved issue out

            People

            • Assignee:
              Ed Burns
              Reporter:
              arobinson74
            • Votes:
              6 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: