Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-573

would like InjectStateWorker to add an "exists" method

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: