[Zope] ZClass Propertysheets
Pieter Claassen
Pieter Claassen" <pieter@openauth.co.uk
Thu, 6 Feb 2003 13:15:38 -0000
Hi,
1. You must provide a default value for date. Try something like
<dtml-var expr="_.DateTime()"> to pop the time that you edit the doc in
there. Not sure how to pop the time of creation of the doc in there, but
that shoulnd't be too hard.
2. You can edit the dtml method edit page for the property sheet and just
yank that code from it.
3. You have to delete properties in the property sheet and re-add them.
Pieter
----- Original Message -----
From: "Arjan Huijzer" <huijzer72@yahoo.com>
To: <zope@zope.org>
Sent: Thursday, February 06, 2003 11:50 AM
Subject: [Zope] ZClass Propertysheets
> Hello all,
>
> Once again I find myself stuck, hoping someone might
> help me out:
>
> I have created a ZClass and added a propertysheet.
> However, I am experiencing some problems when defining
> the separate properties:
>
> - When I define a property to be of type 'date' I
> cannot leave the "value" empty. Is this a bug or is
> there a specific reason for this?
>
> - When I want to add a selection, I added another
> property of type "lines" to hold the different
> selection items. However, I do not want this extra
> property with the lines to show up on my edit screen
> when I manage my objects. Is this possible?
>
> - When I have created a property I cannot seem to
> change its name.
>
>
> I have tried to find the answers in the available
> documentation but didn't find it. Can someone please
> help me out here or point me to some rtelevant
> information I might have missed?
>
> Thanks in advance,
>
> Arjan Huijzer
>
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> _______________________________________________
> Zope maillist - Zope@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 )
>
>