You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/09/30 11:10:41 UTC

svn commit: r292685 - /myfaces/sandbox/trunk/tld/myfaces_sandbox.tld

Author: mmarinschek
Date: Fri Sep 30 02:10:37 2005
New Revision: 292685

URL: http://svn.apache.org/viewcvs?rev=292685&view=rev
Log:
defined tld statements for accordion

Modified:
    myfaces/sandbox/trunk/tld/myfaces_sandbox.tld

Modified: myfaces/sandbox/trunk/tld/myfaces_sandbox.tld
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/tld/myfaces_sandbox.tld?rev=292685&r1=292684&r2=292685&view=diff
==============================================================================
--- myfaces/sandbox/trunk/tld/myfaces_sandbox.tld (original)
+++ myfaces/sandbox/trunk/tld/myfaces_sandbox.tld Fri Sep 30 02:10:37 2005
@@ -339,6 +339,42 @@
         </attribute>
      </tag>
 
+    <!-- accordionPanel -->
+    <tag>
+        <name>accordionPanel</name>
+        <tag-class>org.apache.myfaces.custom.accordion.HtmlAccordionPanelTag</tag-class>
+        <body-content>JSP</body-content>
+        <description>
+            A group of panels, which can be opened and closed.
+            See attribute layout for further description on how opening and closing works.
+        </description>
+
+        <description>
+            Extends standard panelGroup by user role support.
+        </description>
+        &standard_panel_group_attributes;
+        &user_role_attributes;
+        <!-- MyFaces extensions -->
+        &ext_forceId_attribute;
+        &display_value_only_attributes;
+
+        <attribute>
+            <name>layout</name>
+            <required>false</required>
+            <rtexprvalue>false</rtexprvalue>
+            <type>java.lang.String</type>
+            <description>
+                Defines the layout of this accordionPanel.
+                If you set this to 'accordion', opening a panel
+                will close all other panels.
+                If you set this to 'toggling', opening a panel
+                doesn't affect the state of the other panels.
+                You can close a panel by clicking on the header
+                of this panel a second time.
+            </description>
+        </attribute>
+     </tag>
+
     <!-- Converter for Boolean values -->
 	<tag>
 		<name>convertBoolean</name>