commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dion gillard (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JEXL-29) Support non-object-level functions/methods, as size and empty function
Date Fri, 26 Oct 2007 08:49:51 GMT

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

dion gillard updated JEXL-29:
-----------------------------

    Fix Version/s: 2.0

> Support non-object-level functions/methods, as size and empty function
> ----------------------------------------------------------------------
>
>                 Key: JEXL-29
>                 URL: https://issues.apache.org/jira/browse/JEXL-29
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Weikuo Liaw
>            Priority: Critical
>             Fix For: 2.0
>
>
> This needs an enhanced JexlContext, as suggested in the prev request, to work.
> As configured validators in a validation form. It is nice for users to use those validators
directly such as "required(object)" or "requiredif(object, not empty(object2))".
> I have added "LOOKAHEAD(3) Method() " in the Reference() in Parse.jjt, so it can be accepted
but it needs changes to ASTMethod and JexlContext to work.
> void Reference() : {}
> {
>   (LOOKAHEAD(Identifier() "[" ( Expression() | IntegerLiteral() | Reference()) "]") ArrayAccess()
| LOOKAHEAD(3) Method() | Identifier() )
>   (LOOKAHEAD(2) "."

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


Mime
View raw message