ZEXP((U App.ProductqUProductqtqNt.}q(UidqUZRTChatqU__ac_local_roles__q}qUjwashinq ]q UOwnerq asUZRTChatClass_addq (Uq (UOFS.DTMLMethodqU DTMLMethodqttQUZRTChatClass_factoryq(Uq(U App.FactoryqUFactoryqttQUZRTChatClass_add_permissionq(Uq(UApp.PermissionqU PermissionqttQUChatItemClass_add_permissionq(Uq(hU PermissionqttQUversionqU0.2.0qU ZRTChatClassq(Uq(UZClasses.ZClassqUZClassq ttQUZRTChatClass_addFormq!(Uq"(hU DTMLMethodq#ttQU_objectsq$(}q%(U meta_typeq&UZ Classq'hhu}q((h&U DTML Methodq)hh!u}q*(h&h)hh u}q+(h&UZope Permissionq,hhu}q-(h&U Zope Factoryq.hhu}q/(h&h,hhutU_permissionMapperq0cAccessControl.PermissionMapping PM q1NRq2}q3(U_View_Permissionq4U_View_Permissionq5U_Add_ZRTChats_Permissionq6U_Add_ZRTChats_Permissionq7U'_Access_contents_information_Permissionq8U'_Access_contents_information_Permissionq9U#_View_management_screens_Permissionq:U#_View_management_screens_Permissionq;ubUtitleq]q?(U ZRTChatClassq@UZRTChatClass_addFormqAUZRTChatClass_addqBUZRTChatClass_add_permissionqCUZRTChatClass_factoryqDUChatItemClass_add_permissionqEeu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUZRTChatClass constructorqU__name__qUZRTChatClass_addqU__ac_local_roles__q }q Ujwashinq ]q UOwnerq asUglobalsq}qUrawqT Add ZRTChatClass 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.((U App.FactoryqUFactoryqtqNt.}q(UtitleqUZRTChatClass factoryqUidqUZRTChatClass_factoryqU__ac_local_roles__q }q Ujwashinq ]q UOwnerq asUinitialqUZRTChatClass_addFormqU object_typeqUZRTChatqU permissionqU Add ZRTChatsqu.((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU#ZRTChatClass constructor permissionqUidqUZRTChatClass_add_permissionqUnameq U Add ZRTChatsq U__ac_local_roles__q }q Ujwashinq ]qUOwnerqasu.((UApp.PermissionqU PermissionqtqNt.}q(UtitleqU$ChatItemClass constructor permissionqUidqUChatItemClass_add_permissionqUnameq U Add ChatItemsq U__ac_local_roles__q }q Ujwashinq ]qUOwnerqasu.((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_ZRTChats_Permissionq sbU_zclass_propertysheets_classq Uq QUidq U ZRTChatClassqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qcZClasses.ObjectManager ZObjectManager qeU__ac_local_roles__q}qUjwashinq]qUOwnerqasU_zclass_qUqQUtitleqUZope Runtime Chat ClassqUpropertysheetsqUqQu.$((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqU#ZRTChatClass constructor input formqU__name__qUZRTChatClass_addFormqU__ac_local_roles__q }q Ujwashinq ]q UOwnerq asUglobalsq}qUrawqTH Add ZRTChat

Add ZRTChat

Id
qU_varsq}qu.(cExtensionClass ExtensionClass q(U ZRTChatClass_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UZRTChatClass Property Sheetsq U__propset_attrs__q (Uinfoq tq U_p_oidqU qUinfoq(Uq(UZClasses.PropertyqUZInstanceSheetqtqtqQU __module__qNU _p_serialqU0d2qutqt.N. (cExtensionClass ExtensionClass q(U ZRTChatClassq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcZClasses.ObjectManager ObjectManager qcOFS.SimpleItem SimpleItem qtq}q(U _p_changedq KU__doc__q UZope Runtime Chat Classq U refreshformq cZClasses.Method MW q NRq}qU$_ZClassMethodPermissionMapperMethod_q(Uq(UOFS.DTMLMethodqU DTMLMethodqttQsbU_zclass_method_meta_typesq)U ChatItemClassqh NRq}qh(Uq(UZClasses.ZClassqUZClassqttQsbU_p_oidqUqU meta_typeqUZRTChatqUpropertysheetsqUq QU index_htmlq!h NRq"}q#h(Uq$(hU DTMLMethodq%ttQsbUnoframesq&h NRq'}q(h(Uq)(hU DTMLMethodq*ttQsbUhometextq+UU__ac_permissions__q,)U chatframeq-h NRq.}q/h(Uq0(hU DTMLMethodq1ttQsbU nfshowmsgsq2h NRq3}q4h(Uq5(hU DTMLMethodq6ttQsbU addchatitemq7h NRq8}q9U$_ZClassMethodPermissionMapperMethod_q:(Uq;(hU DTMLMethodq}q?h(Uq@(hU DTMLMethodqAttQsbUiconqBU6Control_Panel/Products/ZRTChat/ZRTChatClass/ziconImageqCU returntextqDUU _p_serialqEU0d4qFUmanage_optionsqG(}qH(UlabelqIU PropertiesqJUactionqKUpropertysheets/info/manageqLu}qM(hIUContentsqNhKU manage_mainqOu}qP(hIUViewqQhKU index_htmlqRutqSUbgcolorqTU#ffffffqUU tablerowitemqVh NRqW}qXU$_ZClassMethodPermissionMapperMethod_qY(U#qZ(hU DTMLMethodq[ttQsbUlatestlastformq\h NRq]}q^h:(Uq_(hU DTMLMethodq`ttQsbUnotablerowitemqah NRqb}qchY(U%qd(hU DTMLMethodqettQsbU formframeqfh NRqg}qhh(Uqi(hU DTMLMethodqjttQsbUtoptextqkUFirst, identify yourself. Type your name at the bottom of the page and press "Submit name." A new form will appear in the same window. Type your message in the text box and press "Post message." qlUhomelinkqmUUtopicqnUNice weather we're having...qoUnfpostqph NRqq}qrh(U qs(hU DTMLMethodqtttQsbU ziconImagequ(U qv(U OFS.ImageqwUImageqxttQUtopframeqyh NRqz}q{h(U q|(hU DTMLMethodq}ttQsbU returnlinksq~h NRq}qU$_ZClassMethodPermissionMapperMethod_q(U q(hU DTMLMethodqttQsbU returnlinkqUUcontrolsqh NRq}qh:(Uq(hU DTMLMethodqttQsbU __module__qU*XsuLMzMVIa8gnp16zs/SBw==qU countformqh NRq}qh(U q(hU DTMLMethodqttQsbutqt.N.(UqQNt.}q(Ucommonq(Uq(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(Uq (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.}((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUinfoqU_baseq (Uq (hU ZCommonSheetq tq tq Qu. ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT[
qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU refreshformqU_varsq}qu.((UZClasses.ZClassqUZClassqtqNt.}q(U_permissionMapperqcAccessControl.PermissionMapping PM qNRq}qU"_Create_class_instances_Permissionq U_Add_ChatItems_Permissionq sbU_zclass_propertysheets_classq Uq QUidq U ChatItemClassqU_zbasesq]q(cZClasses.ZClass ZObject qcProducts.ZCatalog _ZClass_for_CatalogAware qeU__ac_local_roles__q}qUjwashinq]qUOwnerqasU_zclass_qUqQUtitleqUZope Chat ItemqUpropertysheetsqUqQu.(UqQNt.}q.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUChatqUrawqT <dtml-var topic> <dtml-var noframes> qU__ac_local_roles__q }q Ujwashinq ]q UOwnerq asUglobalsq}qU__name__qU index_htmlqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT7

Topic:

Your message:

Posting as Logout Refresh
Type your name here to identify yourself:

qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUnoframesqU_varsq}qu.O((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUjwashinq]qUOwnerq asU__name__q U chatframeq Utitleq UU _proxy_rolesq (UManagerqtqUglobalsq}qUrawqT '9999'"> " URL="#latest"> bgcolor=""> 'all'"> 'all'">
qU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqU qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU nfshowmsgsqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqU qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU addchatitemqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUChatItemClass constructorqUrawqT Add ChatItemClass qU__ac_local_roles__q }q Ujwashinq ]q UOwnerq asUglobalsq}qU__name__qUChatItemClass_addqU_varsq}qu.#((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqU: qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU tablerowitemqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT&

qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUlatestlastformqU_varsq}qu.%C((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqU

: ( )qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUnotablerowitemqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUjwashinq]qUOwnerq asU__name__q U formframeq Utitleq UU _proxy_rolesq (UManagerqtqUglobalsq}qUrawqT

Your message:
Posting as
Type your name here to identify yourself:
qU_varsq}qu. ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUjwashinq]qUOwnerq asU__name__q Unfpostq Utitleq UU _proxy_rolesq (UManagerqUOwnerqtqUglobalsq}qUrawqUL qU_varsq}qu. d((U OFS.ImageqUImageqtqNt.}q(UsizeqMUdataqTJFIFGGCreated with The GIMPC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222"#!A1Qq ?5 ][

qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUtopframeqU_varsq}qu. X((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT
Return to: or
qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU returnlinksqU_varsq}qu.<((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT

Controls:

(scroll down for more)



qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUcontrolsqU_varsq}qu. p((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqT
qU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qU countformqU_varsq}qu.(cExtensionClass ExtensionClass q(U!ZRTChatClass_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ObjectManager ZObjectManagerPropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q (Uiconq UU _p_changedq KU__doc__q U!ZRTChatClass_ZPropertySheetsClassq U __module__qNU_p_oidqU qutqt.N.((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(U_objectsq(}q(U meta_typeqUCommon Instance Property SheetqUidq Uinfoq utUinfoq (Uq (UZClasses.Propertyq U ZCommonSheetqttqQu.((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qUidqUmethodsqU_objectsq (}q (U meta_typeq UZ Classq hUChatItemClass q u}q(U meta_typeqU DTML MethodqUidqU countform qu}q(hhhU formframe qu}q(hhhU index_html qu}q(hhhUnfpost qu}q(hhhU nfshowmsgs qu}q(hhhU noframes qu}q(hhhU refreshform qu}q(hhhU topframe q u}q!(hhhU chatframe q"u}q#(U meta_typeq$U DTML Methodq%Uidq&UChatItemClass_add q'u}q((U meta_typeq)U DTML Methodq*Uidq+U returnlinks q,u}q-(U meta_typeq.U DTML Methodq/Uidq0U tablerowitem q1u}q2(h.h/h0Unotablerowitem q3u}q4(U meta_typeq5U DTML Methodq6Uidq7U addchatitem q8u}q9(U meta_typeq:U DTML Methodq;Uidq(U meta_typeq?U DTML Methodq@UidqAUlatestlastform qButu.((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUU_mdq}qUidqUinfoq U _propertiesq (}q (Umetaq }q hUtopicqUtypeqUstringqu}q(Umetaq}qUidqU returnlinkqUtypeqUstringqu}q(h}qhU returntextqhUstringqu}q(h}qhUhomelinkqhUstringqu}q (h}q!hUhometextq"hUstringq#u}q$(Umetaq%}q&Uidq'Utoptextq(Utypeq)Utextq*u}q+(Umetaq,}q-Uidq.Ubgcolorq/Utypeq0Ustringq1utu.(cExtensionClass ExtensionClass q(U!ChatItemClass_PropertySheetsClassq(cZClasses.ZClass PersistentClass qcZClasses.Property ZInstanceSheets qtq}q(UiconqUU _p_changedqKU__doc__q UChatItemClass Property Sheetsq UChatInfoq (Uq (UZClasses.Propertyq UZInstanceSheetqtqtqQU__propset_attrs__q(h tqU_p_oidqU qU __module__qNU _p_serialqU0dCs;qutqt.N.(cExtensionClass ExtensionClass q(U ChatItemClassq(cZClasses.ZClass PersistentClass qcProducts.ZCatalog.CatalogAwareness CatalogAware qcOFS.SimpleItem SimpleItem qtq}q(UiconqU^Control_Panel/Products/ZRTChat/ZRTChatClass/propertysheets/methods/ChatItemClass%20/ziconImageq U _p_changedq KU__doc__q UZope Chat Itemq U zrtcmessageq UUdtq(cDateTime.DateTime DateTime qNoq}q(U_hourqKU_dqG@zFU_fmonqUJanuaryqU_yearqMU_pmonqUJan.qUtimeqGU _dayoffsetqKU_dayqKU_adayqUFriqU_minuteqKU_tqGAF+(U_monthq KU_pmq!Uamq"U_secondq#GU_amonq$UJanq%U_fdayq&UFridayq'U_pdayq(UFri.q)U_pmhourq*K U_tzq+U US/Easternq,U_nearsecq-GubU_p_oidq.Uq/Uzrtcuserq0UU meta_typeq1UChatItemq2Upropertysheetsq3Uq4QUtitleq5cZClasses.Method MW q6NRq7}q8U$_ZClassMethodPermissionMapperMethod_q9(Uq:(UOFS.DTMLMethodq;U DTMLMethodq(Ulabelq?UInfoq@UactionqAUpropertysheets/ChatInfo/manageqBu}qC(h?USecurityqDhAU manage_accessqEutqFU ziconImageqG(UqH(U OFS.ImageqIUImageqJttQU__ac_permissions__qK)U _p_serialqLU0h(qMU __module__qNU*byFqILWL7rbulR1Cfsp/SQ==qOutqPt.N.(UqQNt.}q(Ucommonq(Uq(UZClasses.PropertyqUZInstanceSheetsSheetqttqQUmethodsq(Uq (UZClasses.Methodq UZClassMethodsSheetq tq tq Qu.((UZClasses.PropertyqUZInstanceSheetqtqNt.}q(U_mdq}qUidqUChatInfoqU_baseq (Uq (hU ZCommonSheetq tq tq Qu.(UqQNt.}q.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(UtitleqUUrawqUqU__ac_local_roles__q}q Ujwashinq ]q UOwnerq asUglobalsq }qU__name__qUtitleqU_varsq}qu.((U OFS.ImageqUImageqtqNt.}q(UsizeqKWUdataqUWGIF89a! ,(˝/{)UXavL2\.o,Î8K;qU__name__qU ziconImageq Utitleq UU content_typeq U image/gifq U preconditionq UUwidthqU16qUheightqU16qu.S(cExtensionClass ExtensionClass q(U"ChatItemClass_ZPropertySheetsClassq(cZClasses.ZClass PersistentClass qcOFS.PropertySheets PropertySheets qcZClasses.ZClass ZClassSheets qcApp.PersistentExtra Persistent qtq}q(Uiconq UU _p_changedq KU__doc__q U"ChatItemClass_ZPropertySheetsClassq U __module__q NU_p_oidqU qutqt.N.((UZClasses.PropertyqUZInstanceSheetsSheetqtqNt.}q(UChatInfoq(Uq(UZClasses.PropertyqU ZCommonSheetqttq QU_objectsq (}q (U meta_typeq UCommon Instance Property Sheetq Uidqhutu.((UZClasses.MethodqUZClassMethodsSheetqtqNt.}q(U_mdq}qU_objectsq(}q(U meta_typeq U DTML Methodq Uidq Utitle q utUidq Umethodsqu.((UZClasses.PropertyqU ZCommonSheetqtqNt.}q(UtitleqUZope Chat InfoqU_mdq}qUidq UChatInfoq U _propertiesq (}q (Umetaq }qh UdtqUtypeqUdatequ}q(Umetaq}qUidqUzrtcuserqUtypeqUstringqu}q(h}qhU zrtcmessageqhUtextqutu.