|[XPand] questions in using AROUND [message #650857]
||Wed, 26 January 2011 17:05
| Thomas Lauria
Registered: January 2011
Hey there, |
first of all: I am new here and if I am violating the netiquette somehow, give me a hint please.
My Problem: My AROUND Statement in a XPand Template won't be weaved around the code.
I try to use an AROUND statement similar to the following, all in one file:
«DEFINE foo FOR FooType» FOO «ENDDEFINE»
«DEFINE foo FOR BarType» BAR «ENDDEFINE»
«AROUND foo FOR FooType»
ABC «targetDef.proceed()» 123
«EXPAND foo FOR FooType»
I am expecting as output: "ABC FOO 123" but I am getting only " FOO ", so IMHO the AROUND is not applied.
I tried also the AROUND with the fully qualified name bar::bar::foo and with wildcards "*foo*", but nothing happens.
Can't I use AROUNDs in the same file as the DEFINE?
Has I to prepare something in the workflow to use the AROUND statement?
Or is there another common pitfall in using AROUNDs?
I am using the Eclipse Helios Release.
Powered by FUDForum
. Page generated in 0.01561 seconds