At 10:08 AM 1/2/01, Andy McKay wrote:
> > Im not sure what you mean by "hide it from the user", it all depends upon
> > the rights you give your user.
In this case, I just meant that it shouldn't appear in the properties list
for the particular page. I want to give the editor of the particular page's
properties the ability to make a selection, but not the ability to change
the list of possible selections.
> > If I create a lines property on my root folder called selection_list, I
> > then in folder /test/ make a property test_selection, type selection,
> > selection_list. The problem you
>may have is that you are trying to put it on another document, rather than
>on a folder in the acquistion path.
You're diagnosis is dead-on. I added my lines property to the containing
folder and it worked perfectly. I'm still mystified, though, as to why I
couldn't put the lines property in another document in the same folder and
use the notation 'doc_id.lines_id' to refer to the lines property in the
> > --
> > Andy McKay, Developer.
> > ActiveState.
> > ----- Original Message -----
> > From: "Steve McMahon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 02, 2001 9:36 AM
> > Subject: [Zope] Selection and Lines Properties for DTML Docs
> > > 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
> > > [EMAIL PROTECTED]
> > > voice & fax: (530) 757-7682
> > > http://www.suntype.com
> > >
> > >
> > > _______________________________________________
> > > Zope maillist - [EMAIL PROTECTED]
> > > http://lists.zope.org/mailman/listinfo/zope
> > > ** No cross posts or HTML encoding! **
> > > (Related lists -
> > > http://lists.zope.org/mailman/listinfo/zope-announce
> > > http://lists.zope.org/mailman/listinfo/zope-dev )
> > >
Steve McMahon, SunType Publishing Systems
voice & fax: (530) 757-7682
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -