-----Original Message----- From: Daniel G. Rusch [mailto:drusch@globalcrossing.com] Sent: Monday, October 25, 1999 2:45 PM To: zope@zope.org Subject: [Zope] manage_users question
hello all,
How on earth does one call manage_users? The quick reference says: manage_users([submit, REQUEST, RESPONSE]) User Folder, Manage Users. submit can equal 'Add...', 'Add', 'Edit', 'Change', or 'Delete'. Add and Edit use the following variables from the REQUEST object: name,password,confirm,[roles,domains]. ???
but, <!--#call "acl_users.manage_users(submit='Edit', name=REQUEST['name'], password=REQUEST['password'])" --> returns an error.
What is the correct syntax????
<dtml-call "REQUEST.set('name', 'Bob')> <dtml-call "REQUEST.set('password', 'uncle')> etc... <dtml-call "acl_users.manage_users(submit='Edit', REQUEST=REQUEST)"> 'name' and 'password' can be form value, of course. This is now the managment interface works. Remember, Zope being open source, it is usualy a good idea to see how Zope does something that is similar to your problem. Since you can inspect all of Zope's behavior from the source, you can find all kinds of tips and tricks. Zope is not only an application platform, but it is also an application written *with* that platform, just like web applications you and others want to write. -Michel
participants (1)
-
Michel Pelletier