jens,

thank you very much for your help. Now I've only get to work out how to get the 
results of the
query inside my Pivot table, so I can compute them.

Greetings

florian


On Sun, May 13, 2001 at 11:22:14AM -0400, Jens Vagelpohl wrote:
> florian,
> 
> as far as i know you can call superValues from DTML. it returns a list of
> objects. you could do something like this:
> 
> <dtml-in expr="folder_name.superValues(['Meta Type 1', 'Meta Type 2'])">
> 
>   <dtml-if name="sequence-start">
>     <select name="my_select_list">
>   </dtml-if>
> 
>   <dtml-with sequence-item only>
>     <option value="&dtml-getId;">&dtml-title;</option>
>   </dtml-with>
> 
>   <dtml-if name="sequence-end">
>     </select>
>   </dtml-if>
> 
> <dtml-else>
>   <p><b>Cannot find anything!</b></p>
> 
> </dtml-in>
> 
> jens
> 
> 
> On 5/13/01 10:43, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
> > jens,
> > 
> > thanks for your reply. It helped me a lot.
> > 
> > Do you have me a tip how I can get all Z SQL Methods in an selection field.
> > I've found the superValues('Z SQL Method') function, but I'm having problems
> > using it, because it can only be used in python.
> > 
> > So how can I get the result returned from this function in my dtml form?
> > 
> > thanx in advance
> > 
> > florian
> > 
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> 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 )
> 
> 

-- 
-----------------------------------------------------------------------
| Florian Reiser                        PGP-Key:0x5368CF3F            |
| PGP-Fingerprint: 84C7 24BC F3A4 487F CBC7  692C 05DB 6E11 5368 CF3F |
-----------------------------------------------------------------------

PGP signature

Reply via email to