Hi, Martijn, thanks for the input! I'm trying to get the in tag working. <!--#in (1,2,3,4,5,6,7)--> <!--#/in--> gives me an error : System Unavailable This site is currently experiencing technical difficulties. Please contact the site administrator for more information. For additional technical information, please refer to the HTML source for this page. Thank you for your patience. Is there another possible solution. I just want to create a loop. from 1 to 7 Another point : <!--#var PrincipiaTime fmt="Date"--> gives me the date I nowhere found the PrincipiaTime parameter in the guides. Is there a guide which gives an overview of all possible parameters per tag and their explenation? Thanks in advance! Tom.
On Thu, 29 Apr 1999, Tom Deprez wrote:
Martijn, thanks for the input!
I'm trying to get the in tag working.
<!--#in (1,2,3,4,5,6,7)-->
_Pretty_ close: <!--#in "(1,2,3,4,5,6,7)"--> ...will do it. The quotes are needed because you are asking for a Python expression to be used. --Paul
Paul Everitt wrote:
On Thu, 29 Apr 1999, Tom Deprez wrote:
Martijn, thanks for the input!
I'm trying to get the in tag working.
<!--#in (1,2,3,4,5,6,7)-->
_Pretty_ close:
<!--#in "(1,2,3,4,5,6,7)"-->
...will do it. The quotes are needed because you are asking for a Python expression to be used.
Oops -- I should've tested it, I knew that! Stupid me. Sorry for the misleading information. I did test most of the other snippets in the Zope vs ASP post I made, though. Regards, Martijn
Tom Deprez wrote:
I'm trying to get the in tag working.
<!--#in (1,2,3,4,5,6,7)-->
should be: <!--#in "(1,2,3,4,5,6,7)"--> <!--#var sequence-item-->
<!--#/in-->
gives me an error :
System Unavailable
I find in general if I need to use a "functionish" thing, quotes are necessary. -- Jim Washington
participants (4)
-
Jim Washington -
Martijn Faassen -
Paul Everitt -
Tom Deprez