[Zope3-Users] Selecting a Vocabulary for a Choice field upon the value of another field

Tim Cook timothywayne.cook at gmail.com
Fri May 1 08:28:20 EDT 2009


On Fri, 2009-05-01 at 13:57 +0200, Massimiliano della Rovere wrote:

> 2) split the schema into two pages: in the first page, and thus stage,
> you define the wine colour, in the second the associated vocabulary is
> used. I do not like it because I want all the data describing the
> degustative experience in one page. This applies to page reloading
> too.

I suggest using Viewlets attached to a Viewletmanager.  I am just
learning about these myself but it was easy to see how you can
communicate between Viewlets.  

I recently did a remake of a Grok tutorial on viewlets:
http://grok.zope.org/documentation/how-to/understanding-viewlets

that demonstrates something that might help you out.  Unfortunately they
haven't published it yet but if you have a login on grok.zope.org I
think I can share it with you.  I'll also send you the code via email if
you wish.

Cheers,
Tim


-- 
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook 
**************************************************************
*You may get my Public GPG key from  popular keyservers or   *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20090501/f1186a72/attachment.bin 


More information about the Zope3-users mailing list