[Zope-dev] What would *you* like to have in PropertyManager and friends?

2001-05-27 Thread Lalo Martins

raise ZopeProject('http://dev.zope.org/Wikis/DevSite/Proposals/PropertyRevamp')

We at Hiperlogica realize a lot of you people prefer to write
your code in Python in the filesystem. However, we also believe
the power of Zope's trough-the-web RAD framework is one of the
reasons for its success; more importantly, it's a good part of
the reason it works for *us*.

In this spirit, we fired up HiperDom a few months ago, and
we're now working on ZUnitTTW to allow developers to unit test
their ZClasses and even their very sites.

Now, we've been taking note of a lot of peeves we have with
Properties, in the past one year or so. After all this time,
and dealing with some Zope internals, we feel confident enough
to propose to fix them.

So we're "raising" a Project in the fishbowl to implement these
changes. But before we dive in the mud, we'd like to hear from
people that really use Properties (and/or ZClasses), or that
would use them if they were more powerful. Please go to the
Proposal page, linked above, and tell us what you think.

[]s,
   |alo
   +
--
   I say a prayer now our love's departed
That you'll come back to stay
  Bring back the perfect day

http://www.laranja.org/mailto:[EMAIL PROTECTED]
 pgp key: http://www.laranja.org/pessoal/pgp

Brazil of Darkness (RPG)  ---   http://www.BroDar.org/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Simple ZClass Stuff

2001-05-27 Thread Joachim Werner

> Error Type: TypeError
> Error Value: unsliceable object

Have you tried to use the newest Zope version? In 2.3.0 or so there was a
bug that gave us the "unsliceable object" error for ZClasses that are based
on "Image" or "File" (which should be similar to the DTMLDocument case).
Newer versions work fine again.

> NOTE:
> On one attempt, I modified the constructor input form to use
> 'addDTMLDocument' and the class method to use 'manage_edit' and
> 'manage_upload'.  These changes got past the 'unsliceable object' error,
> however, when instantiating this class, I was unable to access the
property
> sheets and views that I had defined.  I was left with the default views
> defined for the DTML Document class.

I guess with this you actually create plain DTMLDocuments, not the new
ZClass you have defined. This is why you don't get any of your customized
propertysheets.

BTW: What do you need a "DTMLDocument" ZClass for? I would not really know
what it could be good for ...

Joachim



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )