myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r292912 - /myfaces/examples/trunk/sandbox/accordionPanel.jsp
Date Sat, 01 Oct 2005 02:55:09 GMT
Author: mmarinschek
Date: Fri Sep 30 19:55:05 2005
New Revision: 292912

URL: http://svn.apache.org/viewcvs?rev=292912&view=rev
Log:
new feature: if set, a different content will be shown in closed mode

Modified:
    myfaces/examples/trunk/sandbox/accordionPanel.jsp

Modified: myfaces/examples/trunk/sandbox/accordionPanel.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/sandbox/accordionPanel.jsp?rev=292912&r1=292911&r2=292912&view=diff
==============================================================================
--- myfaces/examples/trunk/sandbox/accordionPanel.jsp (original)
+++ myfaces/examples/trunk/sandbox/accordionPanel.jsp Fri Sep 30 19:55:05 2005
@@ -45,7 +45,10 @@
     <s:accordionPanel id="test2" layout="toggling">
         <t:panelTab>
             <f:facet name="header">
-                <h:outputText value="Content 1"/>
+                <h:outputText value="Header in facet"/>
+            </f:facet>
+            <f:facet name="closedContent">
+                <h:outputText value="The tab is now closed - open it by clicking on the
header."/>
             </f:facet>
             <h:outputText value="Content 1"/>
             <h:inputText value=""/>



Mime
View raw message