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

        Dustin Frazier created issue -
        Brian K. Wallace made changes -
        Field Original Value New Value
        Component/s Framework [ 11280 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.2 [ 12312202 ]
        Jesse Kuhnert made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12323517 ] Default workflow, editable Closed status [ 12569069 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569069 ] jira [ 12592071 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development