Re: convert python to dtml
21 Jul
2003
21 Jul
'03
3:49 p.m.
Why do you want to recode into DTML? I think that is piece of good code and much faster than DTML. Yes, that's a good question and I'm wondering too. Anyway, your code could be written shorter and nicer.
You don't have to use "rownum" to count the rows. This lines of code: <dtml-call "REQUEST.set(rownum,1)" <dtml-in recordset> Row <dtml-var rownum>, check <drml-var sequence-item><br> <dtml-call "REQUEST.set(rownum,rownum+1)" </dtml-in> can be replaced by: <dtml-in recordset> Row <dtml-var "_['sequence-number']">, check <drml-var sequence-item><br> </dtml-in> Regards, Josef
8295
Age (days ago)
8295
Last active (days ago)
0 comments
1 participants
participants (1)
-
Josef Meile