In addition to what Ralph suggested, you may want to look at the SWP
element ui:setGlobalVar and its companion function ui:globalVarValue.
Holger
On 23/07/2016 0:37, pamar...@gmail.com wrote:
Hello,
I'm trying to increment a counter inside a forEach loop in a JSONService
created using SWP.
I used <ui:group let:someCount="{= ?someCount + 1 }" >. Then completed my other
tasks, then closed the ui:group.
When I check the value of ?someCount, it never changes.
How can I increment a counter inside a forEach loop?
-Paula
Sent from my iPhone
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.