Author: dsvyatobatsko
Date: 2008-03-25 05:39:03 -0400 (Tue, 25 Mar 2008)
New Revision: 7155
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/examples/switchTypes.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/usage.xhtml
Log:
[RF-2663] Demo site: corrections of Tab Panel demo layout
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/examples/switchTypes.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/examples/switchTypes.xhtml 2008-03-24
20:35:35 UTC (rev 7154)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/examples/switchTypes.xhtml 2008-03-25
09:39:03 UTC (rev 7155)
@@ -4,8 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <p>
- Here is an example of default tab panel with 3 tabs.
+ <p>Here is an example of default tab panel with 3 tabs.</p>
<rich:tabPanel>
<rich:tab label="First">
Here is tab #1
@@ -17,9 +16,8 @@
Here is tab #3
</rich:tab>
</rich:tabPanel>
- </p>
- <p>
- Here is an example of tab panel switched in "ajax" style. Second tab is
disabled.
+ <br/><br/>
+ <p>Here is an example of tab panel switched in "ajax" style. Second tab
is disabled.</p>
<rich:tabPanel switchType="ajax">
<rich:tab label="First">
Here is tab #1
@@ -31,9 +29,8 @@
Here is tab #3
</rich:tab>
</rich:tabPanel>
- </p>
- <p>
- Here is an example of tab panel switched completely on client.
+ <br/><br/>
+ <p>Here is an example of tab panel switched completely on client.</p>
<rich:tabPanel switchType="client">
<rich:tab label="First">
Here is tab #1
@@ -45,6 +42,5 @@
Here is tab #3
</rich:tab>
</rich:tabPanel>
- </p>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/usage.xhtml 2008-03-24
20:35:35 UTC (rev 7154)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/usage.xhtml 2008-03-25
09:39:03 UTC (rev 7155)
@@ -10,15 +10,16 @@
Tab panel is used to create "tabbed" pages. RichFaces tab panel can be
switched in 3 ways: using "normal" server-side update, using "ajax"
style update, when only tab panel area is updated on the page, and using
"client" type, without any interaction with the server.
Note, that in case of a "client" switch type, all tabs are rendered at the
same time.
</p>
- <div id="itme" class="sample-container">
-
- <ui:include src="/richfaces/tabPanel/examples/switchTypes.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/tabPanel/examples/switchTypes.xhtml"/>
- </ui:include>
-
- </div>
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Tab Panel example</legend>
+ <div id="itme" class="sample-container">
+ <ui:include src="/richfaces/tabPanel/examples/switchTypes.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/tabPanel/examples/switchTypes.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
</ui:define>
</ui:composition>