Hi Tim, Thanks - I couldn't get either of them to work, but whilst trying, realised (rather foolishy!) that I can of course do this.... <dtml-if SelectSID> SelectSID = <dtml-var SelectSID> <input type=hidden name=SelectSID value=<dtml-var SelectSID>> </dtml-if> ...which as I am doing this inside forms, solved the problem! at least in the current project... so if anybody has got an answer, I will still need it when I go back to other projects, I feel! but thanks for the response anyway! :) Regards, Greg.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim Hicks Sent: 24 August 2002 18:12 To: Greg Conway; Zope@Zope. Org Subject: Re: [Zope] dtml-if fustration!
...as an error is thrown up if REQUEST.SelectSID doesn't exist!
Anybody got a simple answer to my dilemma?!!
Not sure, but have you tried either of;
REQUEST['SelectSID'] REQUEST.get('SelectSID')
Don't know if that'll fix you up though.
tim
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
This electronic transmission and any files attached to it are strictly confidential and intended solely for the addressee. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify us by return and delete the same. Further enquiries/returns can be posted to postmaster@gmlnt.com Thank you.