[Erp5-report] r19663 - /erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 4 10:27:04 CET 2008


Author: bartek
Date: Tue Mar  4 10:27:03 2008
New Revision: 19663

URL: http://svn.erp5.org?rev=19663&view=rev
Log:
renaming and removing for the improved impl

Removed:
    erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_getDefaultSkinObject.xml
    erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_redirectToSkinObject.xml

Removed: erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_getDefaultSkinObject.xml
URL: http://svn.erp5.org/erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_getDefaultSkinObject.xml?rev=19662&view=auto
==============================================================================
--- erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_getDefaultSkinObject.xml (original)
+++ erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_getDefaultSkinObject.xml (removed)
@@ -1,168 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.PythonScripts.PythonScript</string>
-          <string>PythonScript</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Python_magic</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-  Lookup an object in portal skins, return location of the one\n
-  which is going to be called if acquired normally.\n
-"""\n
-\n
-st = context.portal_skins\n
-path = st.getSkinPath(\'View\')\n
-for p in path.split(\',\'):\n
-  skin = getattr(st, p)\n
-  f = getattr(skin, object_id)\n
-  if \'portal_skins\' in f.getPhysicalPath():\n
-    return f\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_filepath</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>object_id</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>object_id</string>
-                            <string>_getattr_</string>
-<string>context</string>
-                            <string>st</string>
-                            <string>path</string>
-                            <string>_getiter_</string>
-                            <string>p</string>
-                            <string>getattr</string>
-                            <string>skin</string>
-                            <string>f</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Admin_getDefaultSkinObject</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_redirectToSkinObject.xml
URL: http://svn.erp5.org/erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_redirectToSkinObject.xml?rev=19662&view=auto
==============================================================================
--- erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_redirectToSkinObject.xml (original)
+++ erp5admin/trunk/erp5_admin/SkinTemplateItem/portal_skins/erp5_admin/Admin_redirectToSkinObject.xml (removed)
@@ -1,161 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.PythonScripts.PythonScript</string>
-          <string>PythonScript</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Python_magic</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-  Find object which would be used by default,\n
-  redirect to its manage tab.\n
-"""\n
-\n
-ob = context.Admin_getDefaultSkinObject(object_id)\n
-if ob is not None:\n
-  # needs to be done like that because Base_redirect fails for reports\n
-  # (like Base_viewHistory)\n
-  return context.REQUEST.RESPONSE.redirect(ob.absolute_url() + \'/manage_main\')\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_filepath</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>object_id</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>object_id</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>ob</string>
-                            <string>None</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Admin_redirectToSkinObject</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list