Re: [topbraid-users] Incrementing counter

2016-07-24 Thread Holger Knublauch
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.

Re: [topbraid-users] Incrementing counter

2016-07-23 Thread Paula Markes
Markes <pamar...@gmail.com <mailto:pamar...@gmail.com>> > Reply-To: <topbraid-users@googlegroups.com > <mailto:topbraid-users@googlegroups.com>> > Date: Friday, July 22, 2016 at 1:17 PM > To: <topbraid-users@googlegroups.com <mailto:topbraid-users@go

Re: [topbraid-users] Incrementing counter

2016-07-22 Thread Irene Polikoff
aula Markes <pamar...@gmail.com> Reply-To: <topbraid-users@googlegroups.com> Date: Friday, July 22, 2016 at 1:17 PM To: <topbraid-users@googlegroups.com> Subject: Re: [topbraid-users] Incrementing counter Thank you, Ralph! I will look into all these options and see what will work

Re: [topbraid-users] Incrementing counter

2016-07-22 Thread Paula Markes
Excellent! Thank you! -Paula > On Jul 22, 2016, at 1:21 PM, Ralph TQ [Gmail] > wrote: > > See screenshot of help menu: > > > > > >> On Jul 22, 2016, at 1:17 PM, Paula Markes > > wrote: >> >> Thank you, Ralph!

Re: [topbraid-users] Incrementing counter

2016-07-22 Thread Paula Markes
Thank you, Ralph! I will look into all these options and see what will work for me. The last link though, doesn’t work. Is it a specific section that you can point out where I might find the info on tops:for? Thanks again for the info. -Paula > On Jul 22, 2016, at 12:37 PM, Ralph TQ [Gmail]

Re: [topbraid-users] Incrementing counter

2016-07-22 Thread Ralph TQ [Gmail]
A ui:call to a select template allows you to set a variable name for an index. See http://uispin.org/ui.html#forEach: As an optional argument of ui:forEach, the name of an index variable can be provided using ui:indexVar. The value of this variable

[topbraid-users] Incrementing counter

2016-07-22 Thread pamarkes
Hello, I'm trying to increment a counter inside a forEach loop in a JSONService created using SWP. I used . 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