Hello,

I would like to use the operation [if] but it doesn't work :

<gendoc ><drop/>
[for ( a:Abstraction | self.ownedElement->filter(Abstraction) 
->sortedBy(name))]<drop/>
[if (a.client.name=’Vrai’)]
[a.supplier.name.clean()/] [else] nul
[/if]<drop/>
[/for]<drop/>
</gendoc>

It doesn't recognize 'Vrai' and it writes always nul instead of the name of 
supplier.
Thanks for your help

Best regards

Arnaud
_______________________________________________
Topcased-users mailing list
Topcased-users@lists.gforge.enseeiht.fr
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
  • [Topcased-users] gendoc prob... Topcased user list where issues are discussed

Reply via email to