[Zope-dev] Propertysheets
Jason Spisak
jason@mtear.com
Thu, 08 Jul 1999 09:52:23 -0400
I just did an update. It still seems broken, differently, but still
broken.
Here's the traceback when I have a propertysheet named "properties" and
a string property "first_name"
<!--#call "propertysheets.properties.manage_editProperties(
first_name=REQUEST['first_name'])"-->
in the add method.
<STRONG>Error Type: TypeError</STRONG><BR>
<STRONG>Error Value: unexpected keyword argument:
first_name</STRONG><BR>
</P>
<!--
Traceback (innermost last):
File /home/mike_weltz/Zope/lib/python/ZPublisher/Publish.py, line 256,
in publish_module
File /home/mike_weltz/Zope/lib/python/ZPublisher/Publish.py, line 161,
in publish
File /home/mike_weltz/Zope/lib/python/ZPublisher/mapply.py, line 154,
in mapply
(Object: PersonClass_add)
File /home/mike_weltz/Zope/lib/python/ZPublisher/Publish.py, line 98,
in call_object
(Object: PersonClass_add)
File /home/mike_weltz/Zope/lib/python/OFS/DTMLMethod.py, line 150, in
__call__
(Object: PersonClass_add)
File /home/mike_weltz/Zope/lib/python/OFS/DTMLMethod.py, line 145, in
__call__
(Object: PersonClass_add)
File /home/mike_weltz/Zope/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: PersonClass_add)
File /home/mike_weltz/Zope/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
(Object: PersonClass.createInObjectManager(REQUEST['id'], REQUEST))
File /home/mike_weltz/Zope/lib/python/DocumentTemplate/DT_Util.py,
line 315, in eval
(Object: propertysheets.properties.manage_editProperties(
first_name=REQUEST['first_name']))
File <string>, line 0, in ?
TypeError: (see above)
Also, the ZClasses I made yesterday give me KeyErros when I try to
delete or change the propertysheet.
All my best
--
Jason Spisak
webmaster@mtear.com