ZEXPí‚((U App.ProductqUProductqtqNt.}q(USTX_Document_add_permissionq(Uöq(UApp.PermissionqU PermissionqttQUidq U STX_Documentq U__ac_local_roles__q }q Uzopeq ]qUOwnerqasUSTX_Document_addFormq(U÷q(UOFS.DTMLMethodqU DTMLMethodqttQUSTX_Document_factoryq(Uøq(U App.FactoryqUFactoryqttQU_objectsq(}q(U meta_typeqUZ Classqh U STX_Documentqu}q(hU DTML Methodqh hu}q(hhh USTX_Document_addq u}q!(hUZope Permissionq"h hu}q#(hU Zope Factoryq$h hutUtitleq%UStructured Text Documentq&h (Uîq'(UZClasses.ZClassq(UZClassq)ttQUversionq*U1.1q+h (Uùq,(hU DTMLMethodq-ttQu.öÏ((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU#STX_Document constructor permissionqUidqUSTX_Document_add_permissionqUnameq UAdd STX_Documentsq U__ac_local_roles__q }q Uzopeq ]qUOwnerqasu.÷¹((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqU#STX_Document constructor input formqUrawqTà Add STX_Document

Add STX_Document

Id:
Title:
Body:
qU__ac_local_roles__q }q Uzopeq ]q UOwnerq asUglobalsq}qU__name__qUSTX_Document_addFormqU_varsq}qu.øû((U App.FactoryqUFactoryqtqNt.}q(UtitleqUSTX_Document factoryqUidqUSTX_Document_factoryqUinitialq USTX_Document_addFormq U object_typeq U STX_Documentq U__ac_local_roles__q }qUzopeq]qUOwnerqasU permissionqUAdd STX_Documentsqu.îÞ((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_STX_Documents_Permissionq sbU_zclass_propertysheets_classq Uïq QUidq U STX_DocumentqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qeU__ac_local_roles__q}qUzopeq]qUOwnerqasU_zclass_qUðqQUtitleqUStructured Text DocumentqUpropertysheetsqUñqQu.ù«((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUSTX_Document constructorqUrawqTá Add STX_Document 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 Uzopeq ]q UOwnerq asUglobalsq}qU__name__qUSTX_Document_addqU_varsq}qu.ïÂ(cExtensionClass ExtensionClass q(U STX_Document_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q USTX_Document Property Sheetsq U__propset_attrs__q (U Propertiesq UHelpTextq tqU_p_oidqUïqh (Uýq(UZClasses.PropertyqUZInstanceSheetqttQU Propertiesq(Uûq(hUZInstanceSheetqttQU __module__qNU _p_serialqU2c:q!s]qutqt.N.ðÍ(cExtensionClass ExtensionClass q(U STX_Documentq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcOFS.SimpleItem SimpleItem qtq}q(UiconqUU _p_changedq KU__doc__q UStructured Text Documentq U_p_oidq Uðq U meta_typeqU STX_DocumentqUhelp_stxqTÒ *From the StructuredText docstrings* Structured text is text that uses indentation and simple symbology to indicate the structure of a document. A structured string consists of a sequence of paragraphs separated by one or more blank lines. Each paragraph has a level which is defined as the minimum indentation of the paragraph. A paragraph is a sub-paragraph of another paragraph if the other paragraph is the last preceding paragraph that has a lower level. Special symbology is used to indicate special constructs: - A single-line paragraph whose immediately succeeding paragraphs are lower level is treated as a header. - A paragraph that begins with a '-', '*', or 'o' is treated as an unordered list (bullet) element. - A paragraph that begins with a sequence of digits followed by a white-space character is treated as an ordered list element. - A paragraph that begins with a sequence of sequences, where each sequence is a sequence of digits or a sequence of letters followed by a period, is treated as an ordered list element. - A paragraph with a first line that contains some text, followed by some white-space and '--' is treated as a descriptive list element. The leading text is treated as the element title. - Sub-paragraphs of a paragraph that ends in the word 'example' or the word 'examples', or '::' is treated as example code and is output as is::
Foo
- Text enclosed single quotes (with white-space to the left of the first quote and whitespace or puctuation to the right of the second quote) is treated as example code. For example: ''. - Text surrounded by '*' characters (with white-space to the left of the first '*' and whitespace or puctuation to the right of the second '*') is *emphasized*. - Text surrounded by '**' characters (with white-space to the left of the first '**' and whitespace or puctuation to the right of the second '**') is made **strong**. - Text surrounded by '_' underscore characters (with whitespace to the left and whitespace or punctuation to the right) is _made underlined_. - Text encloded by double quotes followed by a colon, a URL, and concluded by punctuation plus white space, *or* just white space, is treated as a hyper link. For example, '"Zope":http://www.zope.org/' is interpreted as "Zope":http://www.zope.org/ *Note: This works for relative as well as absolute !URLs.* - Text enclosed by double quotes followed by a comma, one or more spaces, an absolute URL and concluded by punctuation plus white space, or just white space, is treated as a hyper link. For example: '"mail me", mailto:amos@digicool.com' is interpreted as "mail me", mailto:amos@digicool.com - Text enclosed in brackets which consists only of letters, digits, underscores and dashes is treated as hyper links within the document. For example: '"As demonstrated by Smith [12] this technique ..."' Is interpreted as: "As demonstrated by Smith [12] this technique" Together with the next rule this allows easy coding of references or end notes. - Text enclosed in brackets which is preceded by the start of a line, two periods and a space is treated as a named link. For example: '.. [12] "Effective Techniques" Smith, Joe ...' Is interpreted as .. [12] "Effective Techniques" Smith, Joe ... *Note the '' in the HTML source.* Together with the previous rule this allows easy coding of references or end notes.qUpropertysheetsqUõqQUmanage_optionsq(}q(UlabelqUEditqUactionqU edit_formqu}q(hUViewqhU index_htmlqu}q(UlabelqUSecurityqUactionq U manage_accessq!u}q"(hUHelpq#hUhelp_on_structured_textq$utq%Ubody_stxq&UUhelp_on_structured_textq'cZClasses.Method MW q(NRq)}q*U$_ZClassMethodPermissionMapperMethod_q+(Uÿq,(UOFS.DTMLMethodq-U DTMLMethodq.ttQsbU index_htmlq/h(NRq0}q1h+(Uúq2(h-U DTMLMethodq3ttQsbUeditq4h(NRq5}q6h+(Uq7(h-U DTMLMethodq8ttQsbUtitleq9UU _p_serialq:U2eègD!Lq;U__ac_permissions__q<((UAdd STX_Documentsq=)(UManagerq>tttq?U __module__q@U*Qbz37JW7fLHAB81pjBuQpg==qAU edit_formqBh(NRqC}qDh+(UqE(h-U DTMLMethodqFttQsbutqGt.N.ñ¤(UòqQNt.}q(Ucommonq(Uóq(UZClasses.PropertyqUZInstanceSheetsSheetqttQUmethodsq(Uôq(UZClasses.Methodq UZClassMethodsSheetq ttQu.ý}((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qU_baseq(Uþq(hU ZCommonSheetq ttQUidq UHelpTextq u.û((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qU_baseq(Uüq(hU ZCommonSheetq ttQUidq U Propertiesq u.õ(UïqQNt.}q.ÿq((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUHelp on Structured TextqUrawqU¤

qU__ac_local_roles__q }q Uzopeq ]q UOwnerq asUglobalsq}qU__name__qUhelp_on_structured_textqU_varsq}qu.ú0((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqU‰

qU__ac_local_roles__q}q Uzopeq ]q UOwnerq asUglobalsq }qU__name__qU index_htmlqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqTw Use uploaded body, if it exists. qU__ac_local_roles__q}q Uzopeq ]q UOwnerq asUglobalsq }qU__name__qUeditqU_varsq}qu.‘((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUEdit a STX_DocumentqUrawqTÓ

:

Id:
Title:
Body:
Upload:

qU__ac_local_roles__q }q Uzopeq ]q UOwnerq asUglobalsq}qU__name__qU edit_formqU_varsq}qu.òQ(cExtensionClass ExtensionClass q(U!STX_Document_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q(Uiconq UU _p_changedq KU__doc__q U!STX_Document_ZPropertySheetsClassq U_p_oidq UòqU __module__qNutqt.N.óþ((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U Propertiesq(Uüq(hU ZCommonSheetqttQU_objectsq(}q (U meta_typeq UCommon Instance Property Sheetq Uidq U Propertiesq u}q(h h h UHelpTextquth(Uþq(hU ZCommonSheetqttQu.ô((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qUidqUmethodsqU_objectsq (}q (U meta_typeq U DTML Methodq Uidq U index_html qu}q(h h h Uhelp_on_structured_text qu}q(h h h U edit_form qu}q(U meta_typeqU DTML MethodqUidqUedit qutu.þ™((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUHelpTextq U _propertiesq (}q (Umetaq }q hUhelp_stxqUtypeqUtextqutu.üÑ((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUInstance PropertiesqU_mdq}qUidq U Propertiesq U _propertiesq (}q (Umetaq }qh UtitleqUtypeqUstringqu}q(h }qh Ubody_stxqhUtextqutu.ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ