On 7/27/06, Kees van Dieren <[EMAIL PROTECTED]> wrote:
Hi all,Does Jelly suppor tag functions, such as: <ct:myCustomTag customAttr="${tagf:sqr(33)}"/>
No.
Is there a way define custom tag functions? If not, how difficult is it to built in support for this?
Not built-in to Jelly. You'd need to provide your own expression resolver for Jelly. It is very easy, however to define your own tags, on the fly and have them directly invoke Java methods. See the 'define' tag library, and the <invoke/> tag in the core lib.
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: [EMAIL PROTECTED] LinkedIn: www.linkedin.com/in/keesvandieren
-- http://www.multitask.com.au/people/dion/ "If you even dream of beating me you'd better wake up and apologize" - Muhammad Ali --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
