Re: [Zope] dtmll-in variables

2000-06-09 Thread ethan mindlace fremen

josh on wrote:

 great, thanks a lot!
 
 I think that this page should be updated with this info:
 
 http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.7.2.html
 
 unless I am wrong.

It should.  However, because the method used to generate the "old" guides is not
the method that will be used to generate the new guides.  The new guides, which
will be cvs backed and much more amenable to community update, will be coming
along: please see the "documentation chat",
http://www.zope.org/Documentation/Chats/doc_chat

for more information.

ethan mindlace fremen
Zopatista Community Liason

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] dtmll-in variables

2000-06-08 Thread josh on

Hi,

 I am trying to only perform a task if there are less than a certain amount
of records returned by a query.

Jonothan gave me the variable name for the record count:

  is there an easy way to get a record count of total number of items or
  iterations returned by a dtml-in tag?

 dtml-var sequence-length
 --jfarr

But I am struggling to put that into an if statement:

dtml-in linescontributed
line:dtml-var contentbr
dtml-var sequence-lengthbr
dtml-if "sequence-length == 10"
WHOOP WHOOP
/dtml-if
/dtml-in

There are ten lines returned by this query but zope sees the line:

dtml-if "sequence-length == 10"

and thinks I am trying to say sequence minus length,
rather than refer to the dtml var sequence-length

Could anyone help me ut with this?

josh on

On another smaller note how do I write a greater than sign in this context?








___
Zope maillist  -  [EMAIL PROTECTED]
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 )