• Issuezilla Id:
    • Status Whiteboard:

      size_small importance_small

      size_small importance_small


      Looking the documentation there is a hint called VisitHint.EXECUTE_LIFECYCLE
      that says the following:

      "Hint that indicates that the visit is being performed as part of lifecycle
      phase execution and as such phase-specific actions (initialization) may be taken."

      I understand why VisitHint.SKIP_TRANSIENT and VisitHint.SKIP_UNRENDERED, but
      looking the javadoc I couldn't find when, how or why that hint should be set. At
      this time, myfaces just ignore it, but if it is used, there should be some
      documentation on UIComponent.visitTree or UIData.visitTree. Maybe I'm wrong
      about that, and if myfaces don't use it really there is not problem, but the
      point is: Is mojarra really implementing the algorithm that says the javadoc?.
      It could be good if someone could check this algorithm against javadoc, because
      really it is very suspicious.

      ANDY>Martin suggested "EXECUTE_LIFECYCLE" for this concept, and we rolled with that.

      ANDY>In the version of Mojarra that I happen to have sitting here (about a month
      old), UIData is looking for this hint. However... the PartialViewContext
      implementation is not actually setting the hint, so this is not actually being
      used at the moment.

      After discuss this stuff, it was clear the utility behind
      VisitHint.EXECUTE_LIFECYCLE, but if it is used, the documentation of
      UIData.visitTree should be more explicit about how and when it is used (Right
      now it is not clear from where this hint should be checked and the effect)


        lu4242 created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 803 20408
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s 2.3 [ 16372 ]
        Fix Version/s 2.2 [ 10403 ]
        Ed Burns made changes -
        Priority Critical [ 2 ] Trivial [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Manfred Riem made changes -
        Priority Trivial [ 5 ] Critical [ 2 ]
        Manfred Riem made changes -
        Attachment changebundle.txt [ 55259 ]
        Manfred Riem made changes -
        Assignee Manfred Riem [ mriem ]
        Manfred Riem made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Resolution Fixed [ 1 ]


          • Assignee:
            Manfred Riem
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: