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

would like InjectStateWorker to add an "exists" method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.1.2
    • Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: