Please, oh please can someone tell me why this doesn’t
seem to work?
<dtml-in "getLG2(lg1=sData.get('key1'))"
size=12 orphan=0 sort=value start=sData.get('tmStart'))>
<dtml-if
previous-sequence><dtml-call "sData.set('tmPrev',
_['previous-sequence-start-number'])"></dtml-if>
..
..
..
<dtml-if
next-sequence><dtml-call "sData.set('tmNext',
_['next-sequence-start-number'])"></dtml-if>
</dtml-in>
sData is a CST
0.9 integer object. I’m trying to assign the proper sequence-next/previous
values to a URL In order to put the NEXT and PREVIOUS buttons anywhere on the
page (next to each other inside the interface instead of either side of the
form)
The tmNext/Prev variables are then
set in a skin to set the sData.get(‘tmStart’) value as
an integer, then the next load should feed this into the start mechanism of the
dtml-in.
I’m able to see that an integer is set to sData at the right time, but the In
loop doesn’t use the value to start from.
If I change it for a static number, then of course the whole
thing works properly, but I’m lost why I cant
take this from the request? I also tried setting these objects as normal
REQUEST items, but it still doesn’t work.
please and thank you,
Paul Zwarts