ZEXP [V ((UApp.ProductqUProductqtqNt.}q(UidqUXMLRPCProxyqU__ac_local_roles__q}qUdshawq ]q
UOwnerqasUXMLRPCProxyq(U [lq
(UZClasses.ZClassqUZClassqttQU_objectsq(}q(U meta_typeqUProduct HelpqhUHelpqu}q(hUZ ClassqhUXMLRPCProxyqu}q(hUDTML MethodqhUXMLRPCProxy_addFormqu}q(hhhUXMLRPCProxy_addqu}q(hUZope PermissionqhUXMLRPCProxy_add_permissionqu}q (hUZope Factoryq!hUXMLRPCProxy_factoryq"uth(U [mq#(UOFS.DTMLMethodq$U
DTMLMethodq%ttQh(U [kq&(h$U
DTMLMethodq'ttQh(U [nq((UApp.Permissionq)U
Permissionq*ttQUtitleq+U h(U [Wq,(UHelpSys.HelpSysq-UProductHelpq.ttQh"(U [oq/(UApp.Factoryq0UFactoryq1ttQu. [l ((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping
PM
qNRq}qU"_Create_class_instances_Permissionq U_Add_XMLRPCProxys_Permissionq
sbU_zclass_propertysheets_classqU [pqQUidq
UXMLRPCProxyqU_zbasesq]q(cZClasses.ZClass
ZObject
qcProducts.XMLRPCProxyBase
_ZClass_for_XMLRPCProxyBase
qcProducts.OFSP
_ZClass_for_Folder
qeU__ac_local_roles__q}qUdshawq]qUOwnerqasU_zclass_qU [qqQUtitleqUXMLRPCProxyqUpropertysheetsqU [rqQu. [m c((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqU"XMLRPCProxy constructor input formqUrawqT
Add XMLRPCProxy
Add XMLRPCProxy
qU__ac_local_roles__q }q
Udshawq]qUOwnerq
asUglobalsq}qU__name__qUXMLRPCProxy_addFormqU_varsq}qu. [k ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqUXMLRPCProxy constructorqUrawqT
Add XMLRPCProxy
We add the new object by calling the class in
a with tag. Not only does this get the thing
added, it adds the new thing's attributes to
the DTML name space, so we can call methods
to initialize the object.
You can add code that modifies the new instance here.
For example, if you have a property sheet that you want to update
from form values, you can call it here:
Now we need to return something. We do this via
a redirect so that the URL is correct.
Unfortunately, the way we do this depends on
whether we live in a product or in a class.
If we live in a product, we need to use DestinationURL
to decide where to go. If we live in a class,
DestinationURL won't be available, so we use URL2.
qU__ac_local_roles__q }q
Udshawq]qUOwnerq
asUglobalsq}qU__name__qUXMLRPCProxy_addqU_varsq}qu. [n ((UApp.PermissionqU
PermissionqtqNt.}q(UtitleqU"XMLRPCProxy constructor permissionqUidqUXMLRPCProxy_add_permissionqUnameq UAdd XMLRPCProxysq
U__ac_local_roles__q}qUdshawq
]qUOwnerqasu. [W ((UHelpSys.HelpSysqUProductHelpqtqNt.}q(UtitleqUXMLRPCProxyqUcatalogq(U [Xq(UProducts.ZCatalog.ZCatalogq UZCatalogq
ttQUidqUHelpqu. [o ((UApp.FactoryqUFactoryqtqNt.}q(UtitleqUXMLRPCProxy factoryqUidqUXMLRPCProxy_factoryqUinitialq UXMLRPCProxy_addFormq
Uobject_typeqUXMLRPCProxyqU__ac_local_roles__q
}qUdshawq]qUOwnerqasU
permissionqUAdd XMLRPCProxysqu. [p (cExtensionClass
ExtensionClass
q(UXMLRPCProxy_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UXMLRPCProxy Property Sheetsq
U__propset_attrs__q(U
Propertiesqtq
U_p_oidqU [pqU
Propertiesq(U [xq(UZClasses.PropertyqUZInstanceSheetqttQU
__module__qNU _p_serialqU6c