Author: jmorliaguet Date: Sat Oct 15 07:29:55 2005 New Revision: 28340 Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt Log:
- workaround to avoid calling Portlet.__call__() Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt (original) +++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_menu.pt Sat Oct 15 07:29:55 2005 @@ -10,8 +10,9 @@ actual_display python: displayable.getDisplay(perspective); display python: displayable.getEffectiveDisplay(perspective); formattable display/formattable:this|nothing; - edited formattable/?format_name|context; - edit_url string:${edited/@@absolute_url}/@@edit.html; + here_url context/@@absolute_url; + edited_url formattable/?format_name/@@absolute_url|here_url; + edit_url string:${edited_url}/@@edit.html; main_url request/form/main_url|edit_url" tal:attributes="onload python: main_url and 'parent.main.location.href = \'%s\'' % main_url -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins