You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Created) (JIRA)" <ji...@apache.org> on 2012/01/24 20:48:41 UTC
[jira] [Created] (TAP5-1829) Extend property expression language to
include named functions
Extend property expression language to include named functions
--------------------------------------------------------------
Key: TAP5-1829
URL: https://issues.apache.org/jira/browse/TAP5-1829
Project: Tapestry 5
Issue Type: New Feature
Components: tapestry-core
Affects Versions: 5.4
Reporter: Howard M. Lewis Ship
Priority: Minor
It would be nice to by able to define, as a service contribution, a function that could be referenced inside a property expression. This could be used for frequent operations such as sorting a collection, or defaulting null values.
It's a bit tricky, since the property expression language is generics aware; the function provided (possibly: a static method on a class) would also need to support generics.
Currently, this can be done in Java code, but it either leads to heavy base classes (providing utility methods) or some ugly repetition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira