[richfaces-svn-commits] JBoss Rich Faces SVN: r1373 - trunk/docs/userguide/en/src/main/docbook/modules.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Jun 28 11:44:08 EDT 2007


Author: vkorluzhenko
Date: 2007-06-28 11:44:08 -0400 (Thu, 28 Jun 2007)
New Revision: 1373

Modified:
   trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
Log:
Info updated

Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml	2007-06-28 15:23:37 UTC (rev 1372)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml	2007-06-28 15:44:08 UTC (rev 1373)
@@ -333,18 +333,19 @@
         <section>
                 <?dbhtml filename="Howtoremembercurrentselectedtab"?>
                 <title>How to remember the current selected tab?</title>
-                <para>To implement this feature use the &quot;action&quot; attribute of
-                                <emphasis role="bold">&lt;rich:tab&gt;</emphasis> and
-                        &quot;selectedTab&quot; of the <emphasis role="bold"
-                                >&lt;rich:tabPanel&gt;</emphasis>. Simple code is placed
-                        below:</para>
+                <para> Simple code is placed below:</para>
                 <programlisting role="XML"><![CDATA[...
-        <rich:tab label="MyName" id="MyName" action="#{MySessionBean.activateSecuritySettingsTab}" > 
-                ...
-                <rich:tabPanel id="tblPnl" selectedTab="#{MySessionBean.activeTabName}">
-                        ...
-                </rich:tabPanel>
-        </rich:tab>
+        <rich:tabPanel selectedTab="t2">
+                <rich:tab label="tab 1" name="t1">
+                        <h:outputText value="tab 1" />
+                </rich:tab>
+                <rich:tab label="tab 1"  name="t2">
+                        <h:outputText value="tab 2" />
+                </rich:tab>
+                <rich:tab label="tab 1"  name="t3">
+                        <h:outputText value="tab 3" />
+                </rich:tab>
+        </rich:tabPanel>
 ...
 ]]></programlisting>
         </section>




More information about the richfaces-svn-commits mailing list