Tapestry
  1. Tapestry
  2. TAPESTRY-573

would like InjectStateWorker to add an "exists" method

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.2
    • Component/s: Framework
    • Labels:
      None

      Description

      It would be really useful if the injection of an application state object added not only a getter method but also an "exists" method to check whether the state object has been created. The alternative is to use the state: binding prefix, but this can't be combined in an ognl expression, which makes using it somewhat cumbersome. If an "exists" method was added, it would make it possible to do the usual "check if it exists, then check a value within it" pattern in one conditional expression.

        Activity

        Hide
        Jesse Kuhnert added a comment -

        I don't know when it was resolved but I do see an exists method on the ApplicationStateManager interface, is this what you meant? If not please re-open.

        Show
        Jesse Kuhnert added a comment - I don't know when it was resolved but I do see an exists method on the ApplicationStateManager interface, is this what you meant? If not please re-open.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development