[Zope-dev] ZPivotTable doesnt save its data dictionary

florian_reiser@gmx.de florian_reiser@gmx.de
Sun, 13 May 2001 19:21:08 +0200


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
>=20
> as far as i know you can call superValues from DTML. it returns a list of
> objects. you could do something like this:
>=20
> <dtml-in expr=3D"folder_name.superValues(['Meta Type 1', 'Meta Type 2'])">
>=20
>   <dtml-if name=3D"sequence-start">
>     <select name=3D"my_select_list">
>   </dtml-if>
>=20
>   <dtml-with sequence-item only>
>     <option value=3D"&dtml-getId;">&dtml-title;</option>
>   </dtml-with>
>=20
>   <dtml-if name=3D"sequence-end">
>     </select>
>   </dtml-if>
>=20
> <dtml-else>
>   <p><b>Cannot find anything!</b></p>
>=20
> </dtml-in>
>=20
> jens
>=20
>=20
> On 5/13/01 10:43, "florian_reiser@gmx.de" <florian_reiser@gmx.de> wrote:
>=20
> > jens,
> >=20
> > thanks for your reply. It helped me a lot.
> >=20
> > Do you have me a tip how I can get all Z SQL Methods in an selection fi=
eld.
> > I've found the superValues('Z SQL Method') function, but I'm having pro=
blems
> > using it, because it can only be used in python.
> >=20
> > So how can I get the result returned from this function in my dtml form?
> >=20
> > thanx in advance
> >=20
> > florian
> >=20
>=20
>=20
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>=20
>=20

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


--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE6/sKEBdtuEVNozz8RAnDJAJ9C7yejJqSjmkGqBx5pL/HqQ6ipTQCggp2r
ObzwIUKdkQ/c2r+NGrWMi28=
=jugQ
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--