r13811 - ArchGenXML/trunk/src/archgenxml/templates

"Philipp Auersperg" <[email protected]> Fri, 23 Sep 2011 15:08:18 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: zworkb
Date: Fri Sep 23 15:08:18 2011
New Revision: 13811

Modified:
   ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
Log:
attribute for browserviews

Modified: ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/browser.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/browser.zcml	Fri Sep 23 15:08:18 2011
@@ -29,6 +29,9 @@
      template="templates/<dtml-var "dep.getTaggedValue('template_name') or klass.getTaggedValue('template_name')">"
 </dtml-if>
      permission="<dtml-var "dep.getTaggedValue('permission') or klass.getTaggedValue('permission') or 'zope2.View'">"
+<dtml-if "klass.getTaggedValue('attribute') or dep.getTaggedValue('attribute')">
+     attribute="templates/<dtml-var "klass.getTaggedValue('attribute') or dep.getTaggedValue('attribute')">"
+</dtml-if>
      />
 
 </dtml-let>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2