[Zope-dev] Need help getting dtml-in tag info into external function

Phil Harris phil.harris@zope.co.uk
Wed, 1 Mar 2000 23:42:33 -0000


Adam,

How about something like (untested)

<dtml-in findUsers size=50 start=query_start>
   Output: <dtml-var "anExternalFunction( _['sequence-item'] )">
</dtml-in>

Phil
phil.harris@zope.co.uk



----- Original Message -----
From: "Adam Pawliuk" <apawliuk@aui.ca>
To: <zope-dev@zope.org>
Sent: 01 March 2000 23:30
Subject: [Zope-dev] Need help getting dtml-in tag info into external
function


> HI, I'm new to the Zope world and have a question regarding how to pass
> variables available in the dtml-in tag into an external function.
>
> Ideally I want to be able to pass data such as the summary statistics
 i.e.
> count-nnn, min-nnn, etc ), and item ( i.e. sequence-item, etc  ), and
batch
> processing info ( sequence query, etc) into an external function.
>
> For example:
> <dtml-in findUsers size=50 start=query_start>
>    Output: <dtml-var "anExternalFunction( <dtml-var sequence-item> )">
> </dtml-in>
>
> Although the code above does not seem to work?
>
> How can I get at this data?
>
> Thanks in advance!
>
> Adam
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>