Hi,
I want to show a static text “NO ACTIVITY ELEMENT”, if in my activity diagram there are not any elementType =“Activity”.
In my template I write:
…
<HasChildElementChecker elementType= "Activity" flag ="false">
<StaticText content = "Detail Activity: " style = "Heading 4"/>
<ParagraphBreak/>
<StaticText content = "NO ACTIVITY ELEMENT" style = "Table Contents"/>
</HasChildElementChecker>
<HasChildElementChecker elementType= "Activity" flag ="true">
<StaticText content = "Detail Activity: " style = "Heading 4"/>
<ParagraphBreak/>
<StaticText content = "YES ACTIVITY ELEMENT" style = "Table Contents"/>
</HasChildElementChecker>
…
but this code don’t work…
If there are activity element in my activity diagram , the text “YES ACTIVITY ELEMENT” shows in my document, inf there aren’t activity element in my activity diagram, the text “NO ACTIVITY ELEMENT” don’t show in my document generete whit report writer. Why???
tks