Extend property expression language to include ternary and "Elvis" operators
----------------------------------------------------------------------------

                 Key: TAP5-1160
                 URL: https://issues.apache.org/jira/browse/TAP5-1160
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2.0
            Reporter: Howard M. Lewis Ship
            Priority: Minor


Ternary is if-then-else:

expression ? if-true : if-false

That is evaluate expression, then evaluate one of the two other expression 
(if-true and if-false)

"Elvis" is the nickname of a similar operator in Groovy:

expression ?: if-false

which is equivalent to

expression ? expression : if-false



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to