[Zope] Selection and Lines Properties for DTML Docs

Steve McMahon steve@suntype.com
Tue, 02 Jan 2001 09:36:28 -0800


I'm new to Zope and am interested in the use of document properties
for separating content and design in documents (i.e., using <dtml-var
prop_name> in the "edit" tab to insert properties defined on
the "properties" tab>.

I've had success with simple text properties and would like to be
able to present the user with selection properties (choice 1, choice
2, ...). That works well when I first define a "lines" property, then
a "selection" property. But, what I'd really like to do is hide the
lines property from the user. I've tried putting a lines property in
another document, then setting the selection value
to 'source_doc.lines_prop'. That yields an error "No select variable
source_doc.lines_prop."

Any ideas on the right way to do this? Please feel free to point me
to good documentation!
_________________________________________
Steve McMahon, SunType Publishing Systems
steve@suntype.com
voice & fax: (530) 757-7682
http://www.suntype.com