[Zope] using DTML-tree within formulator
Somhorst JJT
qsj at oce.nl
Tue Mar 8 08:50:19 EST 2005
I didnt look @ the zopetree project yet but I experimented with some tales
(zpt?).
I created an page template witht he following code:
<select>
<option tal:repeat="sales_tree here/sales_tree/objectValues"
tal:attributes="value sales_tree/getId"
tal:content="sales_tree/getId"></option>
</select>
this renders an select box with the objects in the sales_tree folder. But
when i try to add this template to the form using the tales tab it gives
some errors... or i dont understand the meaning of this tab or the form
doesnt understand what i want...
-----Original Message-----
From: David Convent [mailto:david.convent at naturalsciences.be]
Sent: dinsdag 8 maart 2005 13:28
To: Somhorst JJT
Cc: 'zope at zope.org'
Subject: Re: [Zope] using DTML-tree within formulator
I personnaly use ZopeTree for that purpose
http://www.zope.org/Members/philikon/ZopeTree
HTH,
Somhorst JJT wrote:
>Hello All,
>
>For a project i need to use formulator. I created a form and used the
>exported XML in my own silva extension that works. But now i need to have
>some logic into my form :).
>I need to retrieve a list of the contents from a certain folder and put
this
>information into a listfield. But how can I do this?
>
>I didnt find a good tutorial on how to accomplish this with tal
>
>Yours sincerely,
>
>J.somhorst
>
>_______________________________________________
>Zope maillist - Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>.
>
>
>
--
David Convent
More information about the Zope
mailing list