commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject [jelly] [define]
Date Wed, 12 Mar 2003 16:16:32 GMT
Is there some way for a defined tag to check/get the content of it's body?

let's say I have a tag defined:

    <define:tag name="exec">
       <exec dir="." executable="${maven.ssh.executable}">
         <arg line="${maven.repo.central} -l ${maven.username} 
'${command}'"/>
       </exec>
    </define:tag>

Which I'd like to get ${command} from the tag body the user provides, or 
the attribute, in that order, e.g. support:

<tag:exec>
text/other jelly stuff here
</tag:exec>

or

<tag:exec command="asdasd" />
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


Mime
View raw message