Details

    • Issuezilla Id:
      803
    • Status Whiteboard:
      Hide

      size_small importance_small

      Show
      size_small importance_small

      Description

      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)

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            lu4242
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: