|[Xpand] Call Template for Null Object [message #644052]
||Thu, 09 December 2010 09:38
| Gerd Kainz
Registered: May 2010
sometimes it is useful to call an Xpand template like a function. Thereby all information is handed to the template through the parameter list without any concrete object (null) for which the template is called.
«DEFINE generate(String content) FOR Void»
«FILE "Test.txt" -»
Template call from workflow
template::generate('Hello World') FOR null
But since Helios this feature is no longer supported. If you call a template with null there is a check which stops the execution. Is there a specific reason for that? Is it possible to reenable this feature?
Powered by FUDForum
. Page generated in 0.02144 seconds