ZEXP Q ((UApp.ProductqUProductqtqNt.}q(UHiperDOMDocument_addFormq(U R#q(UOFS.DTMLMethodqU
DTMLMethodqttQUHiperDOMDocument_factoryq (U R$q
(UApp.FactoryqUFactoryqttQUidq
UHiperDOMqU__ac_local_roles__q}qUlaloq]qUOwnerqasUHiperDOMDocument_addq(U R%q(hU
DTMLMethodqttQU_objectsq(}q(U meta_typeqUProduct Helpqh
UHelpqu}q(hUZ Classqh
UHiperDOMDocumentqu}q(hUDTML Methodq h
hu}q!(hh h
hu}q"(hUZope Permissionq#h
UHiperDOMDocument_add_permissionq$u}q%(hUZope Factoryq&h
h utUtitleq'UHiperDOMq(h(U Qq)(UHelpSys.HelpSysq*UProductHelpq+ttQh$(U R&q,(UApp.Permissionq-U
Permissionq.ttQh(U R'q/(UZClasses.ZClassq0UZClassq1ttQu. R# A((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqU'HiperDOMDocument constructor input formqUrawqT`
Add HiperDOM Document
Add HiperDOM Document
qU__ac_local_roles__q }q
Ulaloq]qUOwnerq
asUglobalsq}qU__name__qUHiperDOMDocument_addFormqU_varsq}qu. R$ ((UApp.FactoryqUFactoryqtqNt.}q(UtitleqUHiperDOMDocument factoryqUidqUHiperDOMDocument_factoryqUinitialq UHiperDOMDocument_addFormq
Uobject_typeqUHiperDOM DocumentqU__ac_local_roles__q
}qUlaloq]qUOwnerqasU
permissionqUAdd HiperDOM Documentsqu. R% ((UOFS.DTMLMethodqU
DTMLMethodqtqNt.}q(UtitleqUHiperDOMDocument constructorqUrawqT
Add HiperDOMDocument
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
Ulaloq]qUOwnerq
asUglobalsq}qU__name__qUHiperDOMDocument_addqU_varsq}qu. Q -((UHelpSys.HelpSysqUProductHelpqtqNt.}q(UidqUHelpqUHDOMDocument_editq(U Qq(UHelpSys.HelpTopicq UDTMLDocumentTopicq
ttQU_objectsq(}q(U meta_typeq
U
Help TopicqUidqhu}q(U meta_typeqU
Help TopicqUidqUHDOM_syntaxqu}q(hhhUPrototype_notesqu}q(U meta_typeqU
Help TopicqUidqUHDOMDocument_uploadquth(U Vq(h UDTMLDocumentTopicqttQh(U Uq(h UDTMLDocumentTopicqttQUtitleq UHiperDOMq!Ucatalogq"(U Qq#(UProducts.ZCatalog.ZCatalogq$UZCatalogq%ttQh(U Uq&(h UDTMLDocumentTopicq'ttQu. R&