I've added a first cut of a <j:parse> tag that can be used to parse a Jelly
script from a string or from the output of its body. e.g.
<j:parse text="${foo}"/>
or
<j:parse>
<!-- something that generates XML events like XSLT or something -->
</j:parse>
if a var attribute is specified then the Scirpt is output as a variable -
otherwise its just executed.
Note that I've not had time to create a JUnit test case for this (bad James)
so use at your own peril :). I think it'll work but am not sure.
James
-------
http://radio.weblogs.com/0112098/
----- Original Message -----
From: "Wannheden, Knut" <[EMAIL PROTECTED]>
To: "'Jakarta Commons Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:42 AM
Subject: RE: [Jelly] jelly script in an Object's String attribute
Rapha�l,
> I'm currently trying to understand how to use jelly but,
> it seems that we can not use a script stored as a string attribute of
> an object.
Check the recent thread "[jelly] Eval complex xml pipline?" (archive
http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=104616122928043&w=2).
It discusses how to implement a Tag to make Jelly evaluate a piece of XML as
Jelly code. I don't know if there is a working implementation already.
Sean?
Cheers,
--
knut
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]