[Zope] Syntax for getting property sheet
Michel Pelletier
michel@digicool.com
Tue, 07 Mar 2000 11:56:23 -0800
There is no standard rythem for manipulating the class without an
instance. At least not that I know of. It can be done, however,
because it can be done from the managment interface. Anything that you
can do with clicks in a browser you can do with DTML, it's just in this
case your problem is necessarily complex because we never, ever,
considered your use case when we engineered ZClasses. This is one of
the reasons why software can be dificult to use, because the engineers
did not KNOW in advance how you wanted to use it.
But you want to do this so I suggest you look at how the managment
interface traverses through the Control Panel and Products to manipulate
ZClasses. Using URL introspection, you should be able to deduce how to
do this. I would help you but I honestly don't know how it would be
done myself.
-Michel
Jon Prettyman wrote:
>
> If I have a ZClass with a property sheet called 'Info', how can I get
> access to the sheet when I DON'T have an instance of that ZClass to
> work with.
>
> Specifically, I want an ADD form for my ZClass that has an ID field
> and a dynamically generated section containing all the properties from
> 'Info' all on ONE from. I can't seem to figure out how to dynamically
> generate the property section without an instance to work with.
>
> -Jon
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )