‎25-02-2013 11:29 AM
Hello,
My web site has several pages. On the "processus metier" page, I have set several descriptor.
The first descriptor will build the list of "processus organisationnels of the "processus métier". I use "ordinal" to increment a JavaScript function argument. I have given the code that works at the end.
Then I would like to extract the "message émis" of each "processus organisationel", I have used a group and "ordinal' does not work anymore. How can I do to add a number (like ordinal) to a JavaScript function argument. Here is what I have started to do (just below). If any one has en idea it would be wonderful.
--------------------------------
\n<div id="fiche1">
\n<p style="margin-left:40px;color:#333333">
\n<b>[Property=Nom Link=Out/]</b>
\n<br>[Property=Commentaire/]</p>
\n
\n<p style="margin-left:40px;color:#333333">
\n[Component="SMQ - ERQ d'une procédure"]<b>ERQ</b> > <span title="Cliquer pour en savoir plus">[ComponentProperty="Nom court" Link=out/]</span><br>[/Component]
\n</p>
\n
\n<p style="margin-left:40px;color:#333333">
\n[Component="SMQ - Livrables d'une procédure"]<b>LIV</b> > <span title="Cliquer pour en savoir plus">[ComponentProperty="Nom court" Link=out/]</span><br>[/Component]
\n</p>
\n
\n</div>
*********code that works because it is not in a group*************************
[Component="Processus organisationnel"]
\n<tr><td>
\n<div>
\n<a href="javascript:fiche('fiche[CollectionProperty=Ordinal/]')" style="text-decoration:none" onMouseOver="this.style.color='white'" onMouseOut="this.style.color='#162f5e'">
\n > [ComponentProperty="Nom court"/]
\c[CollectionProperty = "Ordinal"/]
\n
\n</div>
\n</td></tr>
[/Component]
Solved! Go to Solution.
‎26-02-2013 09:15 AM
Hi,
You can bypass the group you created by using a overlapping Component Tags to reach the object you want to insert in your HTML page, "Message émis" in this case. So, you will be able to insert the ordinal instruction to increment your Java Script function argument
Thank you