[opencms-dev] Nested taglib elements
    Sebastian Himberger 
    sebastian.himberger at gmx.de
       
    Mon Jan  3 21:39:21 CET 2005
    
    
  
Hi Ulrich,
that's because dynamic attributes are disabled. You have to edit the 
WEB-INF/opencms.tld and enable expressions for the desired attributes.
Example:
     <tag>
         <name>contentload</name>
         <tag-class>org.opencms.jsp.CmsJspTagContentLoad</tag-class>
         <body-content>JSP</body-content>
         <description>
             This tag loads XML content items from the OpenCms VFS.
         </description>
         <attribute>
             <name>collector</name>
         </attribute>
         <attribute>
             <name>param</name>
	    <!-- THIS IS THE LINE NEEDED FOR DYNAMIC PARAMETERS --> 	
	    <rtexprvalue>true</rtexprvalue>	
         </attribute>
         <attribute>
             <name>property</name>
         </attribute>
         <attribute>
             <name>editable</name>
         </attribute>
     </tag>
HTH
Sebastian
Ulrich Rueth wrote:
> Hi all,
> 
> is it possible to pass dynamic parameters inside a taglib element, such as
> (see articleRoot parameter):
> 
> <cms:contentload collector="allInFolderDateReleasedDesc"
> param="<%=articlesRoot %>article_${number}.html|11" editable="true">
> 
> The line above leads to an exception. If not, do I need to use the
> CmsDefaultResourceCollector class directly?
> 
> Thanks and regards
> Ulrich
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
    
    
More information about the opencms-dev
mailing list