Author: dsvyatobatsko
Date: 2008-03-25 06:34:11 -0400 (Tue, 25 Mar 2008)
New Revision: 7158
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/simpleTogglePanel/usage.xhtml
Log:
[RF-2661] Demo site: corrections of Simple Toggle Panel demo layout
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/simpleTogglePanel/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/simpleTogglePanel/usage.xhtml 2008-03-25
10:33:03 UTC (rev 7157)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/simpleTogglePanel/usage.xhtml 2008-03-25
10:34:11 UTC (rev 7158)
@@ -20,26 +20,28 @@
using the simpleTogglePanel control located to the right of the base text label by
default.<br />
This is an example of the component with default look-n-feel:
</p>
- <div class="sample-container" >
-
- <ui:include
src="/richfaces/simpleTogglePanel/examples/basic.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/simpleTogglePanel/examples/basic.xhtml"/>
- </ui:include>
- </div>
-
-
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Simple Toggle Panel
example</legend>
+ <div class="sample-container" >
+ <ui:include
src="/richfaces/simpleTogglePanel/examples/basic.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/simpleTogglePanel/examples/basic.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+ <br/><br/>
<p>The switchType attribute allows to select a toggle approach that can be
'client',
'server' or 'ajax'. The 'server' and 'ajax' types
require to be surrounded with a form element such as <h:form> or
<a4j:form>.
</p>
- <div class="sample-container" >
-
- <ui:include
src="/richfaces/simpleTogglePanel/examples/difftypes.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/simpleTogglePanel/examples/difftypes.xhtml"/>
- </ui:include>
- </div>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Switch types example</legend>
+ <div class="sample-container">
+ <ui:include
src="/richfaces/simpleTogglePanel/examples/difftypes.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/simpleTogglePanel/examples/difftypes.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>