Hello Mr. TERKELTOBA, Normally, it's must be work if your template shows different file paths with [getDiagrammeUsineMagasin(u.code)/] in the loop. So, can I have a full template and all code and description of method getDiagrammeUsineMagasin(String) in order to test it. Regards, MALICK
I'm actually an IT developer in the company Sydel in Lorient (FRANCE). I send you this e-mail because I have a problem with generating images from the template. I'm using the plugin gendoc2 core version standalone for EMF in an helios eclipse. The problem is that all the generated images are the same. It is always the last image of the loop that shows in the generated document. I have a bundle I use to store some images files path in HashTable and I get that path with "getDiagrammeUsineMagasin(String)" it returns a String. The file path of my images is always different in the loop, all of my images are different and I haven't errors in the generation. I have tried with others images files paths in others Hash Tables and I have the same problem. This is the sample of the template where is the problem: [ for(u : Usine | e.usines)] [if(isMagasin(u.code))] [getDiagrammeUsineMagasin(u.code)/] <image filePath='[getDiagrammeUsineMagasin(u.code)/]' keepW='true'> </image> [/if] [/for] I hope that you can provide me with an answer. Thank you for treating my request. Best regards. Marc TERKELTOBA ________________________________ Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
