Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » JET2 setVariable(Misunderstanding how to set variables in JET2 transformations)
JET2 setVariable [message #1079092] Sat, 03 August 2013 22:38
Phillip Drew is currently offline Phillip Drew
Messages: 65
Registered: October 2012
Member
So currently I have the following two lines in my JET2 template

<% context.setVariable("control", control);%>
<c:include template="templates/templates/control.jet" passVariables="$control"/>

However I get an error on the <c:include> tag saying that "Variable is not defined: $control"

By my understanding I have set that variable on the line above? What am I doing wrong?

Thanks
Previous Topic:[Acceleo] Access to siblings of resource roots
Next Topic:Xtend Recursive method issues
Goto Forum:
  


Current Time: Mon Oct 07 09:35:12 EDT 2013

Powered by FUDForum. Page generated in 0.05328 seconds