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

Henri Biestro resolved JEXL-310.
--------------------------------
    Fix Version/s: 3.2
       Resolution: Not A Problem

> Define Alias or synonyms for Methods with parameters and accesible through 
> Jexl Context 
> ----------------------------------------------------------------------------------------
>
>                 Key: JEXL-310
>                 URL: https://issues.apache.org/jira/browse/JEXL-310
>             Project: Commons JEXL
>          Issue Type: Wish
>    Affects Versions: 3.1
>            Reporter: Osy
>            Assignee: Henri Biestro
>            Priority: Trivial
>             Fix For: 3.2
>
>
> I have a static method:
> *Util.round : public static Object round(Object number, Object places)*
> I can access this Method within an expression adding the class to the context
> *jexlContext.set("util", new Util());*
> And using an expression as *:  util.round(34.678,2)***
> However -within the jexl expression - I don't want to access the method round 
> as :
> *util.round(34.678,2),* instead I want to use the method with my own name:
> +*$$ROUND**(34.678,2)*+**
> It is possible?
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to