|
|
|
Re: [EGL] How to access to enums of a model [message #989380 is a reply to message #989306] |
Wed, 05 December 2012 22:42 |
|
Hi,
Unfortunately, I'm not able to load the default.inno model provided. The model reads
<?xml version="1.0" encoding="UTF-8"?>
<INNO xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns="INNO">
<leadership>
<protagonist protagonist="TMT"/>
<ceo>
<pepe/>
<pepe ceoFactor="opennessToExperience"/>
<pepe ceoFactor="originality"/>
</ceo>
</leadership>
</INNO>
but there doesn't seem to be any class/feature named "pepe" in the metamodel. Any thoughts?
Cheers,
Dimitris
|
|
|
|
Re: [EGL] How to access to enums of a model [message #989607 is a reply to message #989459] |
Thu, 06 December 2012 22:43 |
|
Hi,
The following seems to be doing the trick:
---
DETERMINANTS OF INNOVATION:
[% for (leader in Leadership) { %] [%= Leadership.name %]
The protagonist of the innovation is: [%=leader.protagonist.protagonist %]
Factors that influence in the leaders' ability and motivation to innovate:
[%for (factor in leader.ceo.ceoFactor) { %]
[%=factor.ceoFactor%]
[%}%]
[%}%]
---
Cheers,
Dimitris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds