[
https://issues.apache.org/jira/browse/TAP5-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Kemnade closed TAP5-1160.
--------------------------------
Resolution: Invalid
We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the
latest 5.4 preview release), feel free to provide the necessary information and
reopen.
> 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
> Reporter: Howard M. Lewis Ship
> Priority: Minor
> Labels: bulk-close-candidate
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)