ZEXP ((UApp.ProductqUProductqtqNt.}q(UidqUProductContentqU__ac_local_roles__q}qUgrunyanq ]q
UOwnerqasU_objectsq(}q
(U meta_typeqUZ ClassqhUzContentqu}q(hUDTML MethodqhUzContent_addFormqu}q(hhhUzContent_addqu}q(hUZope PermissionqhUzContent_add_permissionqu}q(hUZope FactoryqhUzContent_factoryqu}q(U meta_typeqUProduct HelpqUidqUHelpq utUversionq!U1.1q"UzContent_add_permissionq#(U q$(UApp.Permissionq%U
Permissionq&ttQUzContentq'(U q((UZClasses.ZClassq)UZClassq*ttQUzContent_addFormq+(U q,(UOFS.DTMLMethodq-U
DTMLMethodq.ttQUzContent_factoryq/(U q0(UApp.Factoryq1UFactoryq2ttQUzContent_addq3(U q4(h-U
DTMLMethodq5ttQUtitleq6UNOLABox Product Contentq7h (U
q8(UHelpSys.HelpSysq9UProductHelpq:ttQUconfigurable_objects_q;]q<(UzContentq=UzContent_addFormq>UzContent_addq?UzContent_add_permissionq@UzContent_factoryqAUHelpqBeUredistributableqCU1u. ((UApp.PermissionqU
PermissionqtqNt.}q(UtitleqUzContent constructor permissionqUidqUzContent_add_permissionqUnameq U
Add zContentsq
U__ac_local_roles__q}qUgrunyanq
]qUOwnerqasu. ((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping
PM
qNRq}qU"_Create_class_instances_Permissionq U_Add_zContents_Permissionq
sbU_zclass_propertysheets_classqU qQUidq
UzContentqU_zbasesq]q(cZClasses.ZClass
ZObject
qcProducts.ZCatalog
_ZClass_for_CatalogAware
qcProducts.OFSP
_ZClass_for_DTMLDocument
qeU__ac_local_roles__q}qUgrunyanq]qUOwnerqasU_zclass_qU qQUtitleqUZope Product ContentqUpropertysheetsqU qQu. ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqUzContent constructor input formqUrawqT
Add zContent
Add zContent
qU__ac_local_roles__q }q
Ugrunyanq]qUOwnerq
asUglobalsq}qU__name__qUzContent_addFormqU_varsq}qu. ((UApp.FactoryqUFactoryqtqNt.}q(UtitleqUzContent factoryqUidqUzContent_factoryqUinitialq UzContent_addFormq
Uobject_typeqUzContentqU__ac_local_roles__q
}qUgrunyanq]qUOwnerqasU
permissionqU
Add zContentsqu. b((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqUzContent constructorqUrawqT
Add zContent
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.
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
Ugrunyanq]qUOwnerq
asUglobalsq}qU__name__qUzContent_addqU_varsq}qu.
((UHelpSys.HelpSysqUProductHelpqtqNt.}q(UtitleqUProductContentqUcatalogq(U
q(UProducts.ZCatalog.ZCatalogq UZCatalogq
ttQUidqUHelpqu. 0(cExtensionClass
ExtensionClass
q(UzContent_PropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcZClasses.Property
ZInstanceSheets
qtq}q(UiconqU U
_p_changedqKU__doc__q UzContent Property Sheetsq
U__propset_attrs__q)U_p_oidqU q
U
__module__qNU _p_serialqU7\nqutqt.N. (cExtensionClass
ExtensionClass
q(UzContentq(cZClasses.ZClass
PersistentClass
qcProducts.ZCatalog.CatalogAwareness
CatalogAware
qcOFS.DTMLDocument
DTMLDocument
qcOFS.SimpleItem
SimpleItem
qtq}q(Uiconq U9Control_Panel/Products/ProductContent/zContent/ziconImageq
U
_p_changedqKU__doc__qUZope Product Contentq
U_p_oidqU qU meta_typeqUzContentqUpropertysheetsqU qQU
index_htmlq(U q(UZClasses.MethodqUMWpqttQUmanage_optionsq(}q(UlabelqUEditqUactionqUmanage_mainqu}q(hUUploadqhUmanage_uploadFormq u}q!(hU
Propertiesq"hUmanage_propertiesFormq#u}q$(hUViewq%hU u}q&(hUProxyq'hUmanage_proxyFormq(u}q)(hUSecurityq*hU
manage_accessq+utq,U
ziconImageq-(U 6q.(U OFS.Imageq/UImageq0ttQU__ac_permissions__q1((U
Add zContentsq2)(UManagerq3tttq4U _p_serialq5U7,q6U
__module__q7U*CbPxtGK36EsI5BnrQDx6Vw==q8utq9t.N. (U qQNt.}q(Ucommonq(U q(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(U q(UZClasses.Methodq UZClassMethodsSheetq
ttQu.
,((UProducts.ZCatalog.ZCatalogqUZCatalogqtqNt.}q(UidqUcatalogqU_objectsq(}q(U meta_typeq U
Vocabularyq
hh
utqU thresholdqM'Uvocab_idq
U h
(U
q(UProducts.ZCatalog.VocabularyqU
VocabularyqttQU_catalogq(U
q(UProducts.ZCatalog.CatalogqUCatalogqttQUtitleqU u. (U qQNt.}q. T((UZClasses.MethodqUMWpqtqNt.(U q(UOFS.DTMLMethodqU
DTMLMethodqttQ. 6 ((U OFS.ImageqUImageqtqNt.}q(UsizeqMUdataqT GIF89a 켿췻갴꯳鵷髯䘝䗝䗜㬯㕚㔙╗┖ކޅބ~ۈۆxqvckqwinemsxipgl]fv{flyU^\bMWffW^kpU]OV@JSS7= ,$-#"--(%#!
! , @ (Yϛ'4\H B N0HU Ha,>l!ȍ?$˰xpha1 "8E0P8 ꢐ%0IF!Ο0pH08NxbIq("R.
1b8LҔ""!=&RTR)$q*օpp"M~` ;qU__name__qU
ziconImageq Utitleq
U Ucontent_typeqU image/gifqUpreconditionq
U UwidthqU16qUheightqU17qu. K(cExtensionClass
ExtensionClass
q(UzContent_ZPropertySheetsClassq(cZClasses.ZClass
PersistentClass
qcOFS.PropertySheets
PropertySheets
qhcZClasses.ZClass
ZClassSheets
qcApp.PersistentExtra
Persistent
qtq}q(Uiconq U U
_p_changedq
K U__doc__qUzContent_ZPropertySheetsClassqU_p_oidq
U qU
__module__qNutqt.N. G((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}qU_objectsq)s. ((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qUidqUmethodsqU_objectsq (}q
(U meta_typeqUDTML MethodqUidq
Uindex_html qutu.
((UProducts.ZCatalog.VocabularyqU
VocabularyqtqNt.}q(UtitleqU
VocabularyqUidqhU__ac_local_roles__q}q Urunyagaq
]qUOwnerqasUlexiconq
(U
q(USearchIndex.GlobbingLexiconqUGlobbingLexiconqttQUglobbingqKu.
((UProducts.ZCatalog.CatalogqUCatalogqtqNt.}q(Uschemaq}q(UpermissionsqKU
categoriesqK Utitle_or_idq KUidq
KUurlqKuUdataq(U
q
(UBTreeqUBTreeqttQUindexesq}q(USearchableTextq(U
q(USearchIndex.UnTextIndexqUUnTextIndexqttQh(U
q(USearchIndex.UnKeywordIndexqUUnKeywordIndexqttQh(U
q(hUUnKeywordIndexqttQuUnamesq(hhh hh
tqUuidsq(U
q(UOIBTreeqUBTreeq ttQUlexiconq!U
Vocabularyq"Upathsq#(U
q$(UIOBTreeq%UBTreeq&ttQu.