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
Phillip Drew is currently offline Phillip DrewFriend
Messages: 77
Registered: October 2012
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?

Re: JET2 setVariable [message #1128937 is a reply to message #1079092] Tue, 08 October 2013 06:16 Go to previous message
John Michael Amparado is currently offline John Michael AmparadoFriend
Messages: 3
Registered: October 2013
Junior Member

<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: Sun Feb 25 23:14:31 GMT 2024

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

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

Back to the top