Skip to main content


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] Sun, 04 August 2013 02:38 Go to next message
Eclipse UserFriend
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
Re: JET2 setVariable [message #1128937 is a reply to message #1079092] Tue, 08 October 2013 06:16 Go to previous message
Eclipse UserFriend
try

<c:include template="templates/templates/control.jet" passVariables="control"/>
Previous Topic:[XPAND] How can i run Workflow via Java Code ?
Next Topic:[SOLVED, Xtext/Xpand] Code generation
Goto Forum:
  


Current Time: Mon Feb 17 15:37:36 GMT 2025

Powered by FUDForum. Page generated in 0.03929 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top