[Checkins] SVN: Products.ExternalEditor/trunk/manage_main.dtml Fixed an acqusition issue in manage_main.dtml. Gotta love aq_self in templates ; -).

Stefan H. Holek stefan at epy.co.at
Fri Sep 1 09:33:10 EDT 2006


Log message for revision 69920:
  Fixed an acqusition issue in manage_main.dtml. Gotta love aq_self in templates ;-).
  

Changed:
  U   Products.ExternalEditor/trunk/manage_main.dtml

-=-
Modified: Products.ExternalEditor/trunk/manage_main.dtml
===================================================================
--- Products.ExternalEditor/trunk/manage_main.dtml	2006-09-01 13:27:31 UTC (rev 69919)
+++ Products.ExternalEditor/trunk/manage_main.dtml	2006-09-01 13:33:09 UTC (rev 69920)
@@ -59,7 +59,7 @@
 
 <form action="&dtml-URL1;/" name="objectItems" method="post">
 <dtml-if objectItems>
-  <dtml-let hasOrderSupport="_.hasattr(this().aq_self, 'has_order_support')">
+  <dtml-let hasOrderSupport="_.getattr(this().aq_explicit, 'has_order_support', 0)">
   <dtml-unless skey>
     <dtml-if hasOrderSupport>
       <dtml-call expr="REQUEST.set('skey', getDefaultSorting()[0])">



More information about the Checkins mailing list