DTML Zope (element of list?)
missive at frontiernet.net
Sat Jun 5 00:01:54 CEST 2004
On 2004-06-04, Holger Butschek <holger at butschek.com> wrote:
> Hy folks,
> I have a problem in Zope (DTML).
> I know, that it's a very simple problem, but I'm quite new to Zope.
> I want to check, if a sequence-item of a sql-statement is in a list called
> groupsSW (this list might or might not be given by URL from a previous
> <dtml-if "&dtml-PIDSCHLAGWORT;:&dtml-SCHLAGWORT; in
> If the element is in the list, then I want it CHECKED.
You will probably want to ask this question on the zope at zope.org
mailiing list. That is the best place for any and all zope questions.
The code in quotes needs to be a python statement. The way I read this
you are going to end up with something like ...
6:'foo' in groupsSW()
More information about the Python-list