With the 4.1 ’alpha’ custom lexicon has been introduced to enable us to write our own verbs and it really is quite cool!
At the moment you can’t create verbs than have child elements or closing tags without having to cheat a little bit. When we were first discussing the custom lexicon implementation Steve Nelson asked if it was possible to wrap <include>’s inside a <cftransaction> block, i wrote a ‘transaction’ verb which lets me do it - with a little bit of cheating.
<include template=“act_somefuse.cfm” />
<include template=“act_anotherfuse.cfm” />
</jb.transaction mode=“end”>
You can download the verb, here. REMEMBER though custom lexicon is in 4.1 beta release strictly as a proof of concept, it might not be present in later versions! Youll need to register a lexicon custom name space and path in fusebox.xml.cfm to use the verb.
November 3rd, 2004 at 8:43 pm
That’s exactly what I looking for~
Thank you!!!