how to change Z Class Properity in Z Class method.
Hi, I create a class whth two dtml method: edit, edit_done. This class has one Properity "Title" edit contain: ------------------------------------------- <form action="edit_done"> Title:<input name=inputTitle value=<dtml-var Title>><p> <input type=submit> ------------------------------------------- and edit_done contain: ------------------------------------------- <dtml-call "manage_changeProperties(Title=inputTitle)"> ------------------------------------------- but the edit_done dtml method can't modify the properity of the object of that class. How to corroct this ? Thank you. Yuan-Chen Cheng.
"Y. Cheng" wrote:
Hi,
I create a class whth two dtml method: edit, edit_done. This class has one Properity "Title"
edit contain: ------------------------------------------- <form action="edit_done"> Title:<input name=inputTitle value=<dtml-var Title>><p> <input type=submit> -------------------------------------------
and edit_done contain: ------------------------------------------- <dtml-call "manage_changeProperties(Title=inputTitle)"> -------------------------------------------
but the edit_done dtml method can't modify the properity of the object of that class.
How to corroct this ?
Thank you.
Yuan-Chen Cheng.
Are you sure it is Title with a capital "T"? All names are case sensitive. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
On Fri, Apr 13, 2001 at 08:02:43AM -0600, Casey Duncan wrote:
Are you sure it is Title with a capital "T"? All names are case sensitive.
yes, and I have another properity whth name "Author" Similar code won't work, too... I also try to add aother properity named "auth" (all lower case) similar code won't work too. Can you reproduce this ? Thank you. Yuan-Chen Cheng
participants (2)
-
Casey Duncan -
Y. Cheng