ZEXP ((UApp.ProductqUProductqtqNt.}q(UPOPMailAccountFolderq(U q(UZClasses.ZClassqUZClassqttq QUidq
UPOPMailqU__ac_local_roles__q}q
Urootq]qUOwnerqasU_objectsq(}q(U meta_typeqUZ Classqh
hu}q(hUDTML Methodqh
UPOPMailAccountFolder_addFormqu}q(hhh
UPOPMailAccountFolder_addqu}q(hUZope Permissionqh
U#POPMailAccountFolder_add_permissionqu}q(hUZope Factoryqh
UPOPMailAccountFolder_factoryqu}q (hhh
UPOPMailAccount_add_permissionq!utUtitleq"U h(U q#(UApp.Permissionq$U
Permissionq%ttq&Qh(U q'(UOFS.DTMLMethodq(U
DTMLMethodq)ttq*Qh!(U q+(h$U
Permissionq,ttq-Qh(U q.(h(U
DTMLMethodq/ttq0Qh(U q1(UApp.Factoryq2UFactoryq3tq4tq5Qu. ((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping
PM
qNRq}qU"_Create_class_instances_Permissionq U%_Add_POPMailAccountFolders_Permissionq
sbU_zclass_propertysheets_classqU qQUidq
UPOPMailAccountFolderqU_zbasesq]q(cZClasses.ZClass
ZObject
qcProducts.POPMailBase
_ZClass_for_POPMailAccountBase
qcZClasses.ObjectManager
ZObjectManager
qeU__ac_local_roles__q}qUrootq]qUOwnerqasU_zclass_qU qQUtitleqU UpropertysheetsqU qQu. ((UApp.PermissionqU
PermissionqtqNt.}q(UtitleqU+POPMailAccountFolder constructor permissionqUidqU#POPMailAccountFolder_add_permissionqUnameq UAdd POPMailAccountFoldersq
U__ac_local_roles__q}qUrootq
]qUOwnerqasu. ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqU POPMailAccountFolder constructorqU__name__qUPOPMailAccountFolder_addqU__ac_local_roles__q }q
Urootq]qUOwnerq
asUglobalsq}qUrawqT
Add POPMailAccountFolder
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 ad 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_varsq}qu. ((UApp.PermissionqU
PermissionqtqNt.}q(UtitleqU%POPMailAccount constructor permissionqUidqUPOPMailAccount_add_permissionqUnameq UAdd POPMailAccountsq
U__ac_local_roles__q}qUrootq
]qUOwnerqasu. S((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqU+POPMailAccountFolder constructor input formqU__name__qUPOPMailAccountFolder_addFormqU__ac_local_roles__q }q
Urootq]qUOwnerq
asUglobalsq}qUrawqTj
Add POPMailAccountFolder
Add POPMailAccountFolder
qU_varsq}qu. #((UApp.FactoryqUFactoryqtqNt.}q(UtitleqUPOPMailAccountFolder factoryqUidqUPOPMailAccountFolder_factoryqU__ac_local_roles__q }q
Urootq]qUOwnerq
asUinitialqUPOPMailAccountFolder_addFormqUobject_typeqUPOPMailAccountFolderqU
permissionqUAdd POPMailAccountFoldersqu. (cExtensionClass
ExtensionClass
q(U(POPMailAccountFolder_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q U$POPMailAccountFolder Property Sheetsq
U
userinterfaceq(U q(UZClasses.Propertyq
UZInstanceSheetqttqQU__propset_attrs__q(UServerManagementqhtqU_p_oidqU "qh(U q(h
UZInstanceSheetqtqtqQU
__module__qNU _p_serialqU5k qutqt.N. .(cExtensionClass
ExtensionClass
q(UPOPMailAccountFolderq(cZClasses.ZClass
PersistentClass
qcProducts.POPMailBase.POP
POPMailAccountBase
qcZClasses.ObjectManager
ObjectManager
qcOFS.SimpleItem
SimpleItem
qtq}q(U
_p_changedq KU__doc__q
UPOPMailAccountFolderqUPOPMailAccount_factoryq(U q
(UZClasses.MethodqUMWpqttQUPOPMailAccountq(U q(hUMWpqttQU_zclass_method_meta_typesq(}q(U
permissionqUAdd POPMailAccountsqUnameqUPOPMailAccountqUproductqUmethodsqUactionqUPOPMailAccount_factoryqutqU_p_oidqU qUtablecolor4q U#EEEEEEq!U meta_typeq"UPOPMailAccountFolderq#Utablecolor2q$U#AAAAFFq%Utablecolor1q&U#AAAAAAq'UPOPAccountHeaderq((U q)(hUMWpq*ttQU__ac_permissions__q+((UAdd POPMailAccountFoldersq,)(UManagerq-tttq.UPOPMailAccount_addq/(U q0(hUMWpq1ttQUforce_message_limitsq2U Uiconq3U>Control_Panel/Products/POPMail/POPMailAccountFolder/ziconImageq4Utablecolor3q5U#FFFFDDq6U _p_serialq7U6$KUfq8UPOPMailAccount_addFormq9(U q:(hUMWpq;ttQU
message_limitq