tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Canfield (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-1615) Add not null check expression syntax
Date Wed, 24 Aug 2011 13:41:29 GMT

     [ https://issues.apache.org/jira/browse/TAP5-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Canfield updated TAP5-1615:
--------------------------------

    Priority: Minor  (was: Major)

Minor loss of function, or other problem where easy workaround is present.

> Add not null check expression syntax
> ------------------------------------
>
>                 Key: TAP5-1615
>                 URL: https://issues.apache.org/jira/browse/TAP5-1615
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>            Reporter: Denis Stepanov
>            Priority: Minor
>         Attachments: tapestry-notnull.patch
>
>
> New sytax will allow to check if expression result is not null
> value="prop?" - returns true if "prop" is not null
> value="prop.a.b.c?"  returns true if "c" is not null
> value="prop?.a?.b?.c?" returns true if "c" is not null
> value="m()?" returns true if result of the method "m" is not null

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message