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 "action"
attribute of
- <emphasis
role="bold"><rich:tab></emphasis> and
- "selectedTab" of the <emphasis
role="bold"
- ><rich:tabPanel></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>
Show replies by date