Simple calculations involving properties WAS: Re: [Webtest] Decrement
in fieldIndex
Paul King
webtest@lists.canoo.com
Wed, 14 Dec 2005 13:03:23 +1000
Only two months late! :-)
The storeProperty step will now also handle simple arithmetic
expressions so you can achieve what you want below using two
steps (an extra storeProperty step before the one you have below).
The other ways to do this (as previously mentioned on the list)
remain working too.
Cheers, Paul.
Vikenty Menshutkin wrote:
> Hi all,
>
> Can I use some simple math functions in (for example) fieldIndex?
>
> <repeat ...
> ...
> <setCheckbox
> name="selected"
> fieldIndex="#{checkBox-count}-1" <!-- NOT WORKING -->
> checked="false" />
> </repeat>
>
> Or this is impossible?
>