Edit DTML Document content and properties in one form
Can I edit the DTML Document and its properties in one form. Can this be extended to Zclass? I find that I always forgot to modify the properties. I hope making them into one form will help this. Rgs, Kent Sin
Sin Hang Kin wrote:
Can I edit the DTML Document and its properties in one form.
Yes, if you combine the forms and edit methods ;-) Your best bet is to take the form code from Zope Management interface (most of it is in the Zope installation tree). Make the form action a custom dtml method that does a combined manage_edit on the DTML Document and a manage_changeProperties(REQUEST) on the properties. There is an example specifying this in the standard ZClass creation method.
Can this be extended to Zclass?
yes, idem. Of course, if you use a special propertysheet name, you'll have to specify it. Rik
I was working on setting up pcgi to work with NT4.0 SP6A and Website Pro. I didn't get past the authentication failures but I was running zope apps via pcgi. I tried to get back to it today and when I ran it I got an error, " pcgi-wrapper.exe!" "Dll initialization failed. Kernel32.dll failed."" I have had this problem running perl apps in the past but thought I had fixed it by jiggling the enviroment sizes in the current controls of the registry. I also bumped up paging file size to 1024 from it's default 512: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows\ This is a documented fix in the MS KB and I thought I would be ok until the next MS thing. Are there any suggestions for what might be causing this?
participants (3)
-
J. Michael Mc Kay -
Rik Hoekstra -
Sin Hang Kin