I have added the %%recordIndex%% tag to my list form and all records display “1” like I mentioned above. However, when I click on the fifth record, for instance, the first five records now ALL display “5” (the rest in the list still display “1”).
And after this, if I select the third record, the first five records who previously displayed “5” now ALL display “3” (and like before, the rest in the list still display “1”).
This is certainly unexpected behavior. I’m running Servoy Developer 3.5.3-build 516 and Java version 1.5.0_13-119 on Mac OS X Leopard. (maybe this is more Leopard Java buginess?)
Servoy Developer
Version 3.5.3-build 516
Java version 1.5.0_13-121 (Mac OS X)
If you put the %%recordIndex%% label for example on the footer part of your list it works as expected. Seems to be a bug. Did you report it in the Servoy Support System?
Regards, Robert
chico:
Actually I think I may have uncovered a bug…
I have added the %%recordIndex%% tag to my list form and all records display “1” like I mentioned above. However, when I click on the fifth record, for instance, the first five records now ALL display “5” (the rest in the list still display “1”).
And after this, if I select the third record, the first five records who previously displayed “5” now ALL display “3” (and like before, the rest in the list still display “1”).
This is certainly unexpected behavior. I’m running Servoy Developer 3.5.3-build 516 and Java version 1.5.0_13-119 on Mac OS X Leopard. (maybe this is more Leopard Java buginess?)
May be %%currentRecordIndex%% is what you are looking for?
See Servoy tags in chapter 5.6.2 in Servoy351DevRefGuide.pdf.
Hope this helps, regards, Robert
chico:
Actually I think I may have uncovered a bug…
I have added the %%recordIndex%% tag to my list form and all records display “1” like I mentioned above. However, when I click on the fifth record, for instance, the first five records now ALL display “5” (the rest in the list still display “1”).
And after this, if I select the third record, the first five records who previously displayed “5” now ALL display “3” (and like before, the rest in the list still display “1”).
This is certainly unexpected behavior. I’m running Servoy Developer 3.5.3-build 516 and Java version 1.5.0_13-119 on Mac OS X Leopard. (maybe this is more Leopard Java buginess?)