commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: Does Jelly support tag functions?
Date Tue, 01 Aug 2006 08:46:17 GMT
Several folks have requested that... but we have not yet implemented it.
Can you raise a jira issue with relatively complete example usages ?

Dion, does jexl allow the addition of functions ?? What are the 
syntactic constraints ??

paul

Kees van Dieren wrote:
> Thanks,
>
> This does answer my question; however it would be a nice feature to support
> something like this in a next version (like JSP 2.0 tag functions)
>
>
> Best regards,
>
> Kees van Dieren
> Senior Software Engineer
>
> MP Objects Supply Chain Software
> Stationsplein 45
> 3013 AK Rotterdam
> The Netherlands
>
> Post address:
> Postbus 29126
> 3001 GC Rotterdam
>
> Mobile: +31 (0)6-43068619
> Phone: +31 (0)10-2900304
> Fax: +31 (0)10-2900305
> MSN: keesvandieren@gmail.com
> LinkedIn: www.linkedin.com/in/keesvandieren
>
>
> -----Original Message-----
> From: Paul Libbrecht [mailto:paul@activemath.org] 
> Sent: Friday, July 28, 2006 11:38 AM
> To: Jakarta Commons Users List
> Subject: Re: Does Jelly support tag functions?
>
> No, I don't think this doable but you can define new java objects that can
> have methods...
>   <j:new var="myMath" className="com.x.MyMath"/>
>   <jct:myCustomTag customAttr="${myMath.sqr(33)}"/> Does it answer your
> question ?
> paul
>
>
> Kees van Dieren wrote:
>   
>> Hi all,
>>  
>> Does Jelly suppor tag functions, such as:
>> <ct:myCustomTag customAttr="${tagf:sqr(33)}"/>
>>  
>> Is there a way define custom tag functions? If not, how difficult is it to
>> built in support for this?
>>  
>> Best regards,
>>
>> Kees van Dieren
>> Senior Software Engineer
>>
>> MP Objects Supply Chain Software
>> Stationsplein 45
>> 3013 AK Rotterdam
>> The Netherlands
>>
>> Post address:
>> Postbus 29126
>> 3001 GC Rotterdam
>>
>> Mobile: +31 (0)6-43068619
>> Phone: +31 (0)10-2900304
>> Fax: +31 (0)10-2900305
>> MSN: keesvandieren@gmail.com
>> LinkedIn: www.linkedin.com/in/keesvandieren
>>
>>  
>>
>>   
>>     
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>   


Mime
View raw message