Author: dsvyatobatsko
Date: 2008-03-28 07:13:58 -0400 (Fri, 28 Mar 2008)
New Revision: 7355
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
Log:
Demo site: Ajax misc. demos layout correction completed
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2008-03-28
10:55:58 UTC (rev 7354)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2008-03-28
11:13:58 UTC (rev 7355)
@@ -37,9 +37,14 @@
then updated via Ajax. Such problems could be solved with the a4j:htmlCommandLink
usage. Necessary fields are encoded
even when the link is not rendered initially. Hence it may be Ajax updated and
parameters work correctly.
</p>
- <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
- <rich:insert highlight="xhtml"
src="/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml"></rich:insert>
- </rich:panel>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">HtmlCommandLink usage
example</legend>
+ <div class="sample-container">
+ <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
+ <rich:insert highlight="xhtml"
src="/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml"></rich:insert>
+ </rich:panel>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml 2008-03-28
10:55:58 UTC (rev 7354)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml 2008-03-28
11:13:58 UTC (rev 7355)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <p>There you can explore debug info for Simple Repeater example:</p>
<p>Type some symbols to trigger the requests</p>
<h:form>
<h:panelGrid columns="1">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2008-03-28
10:55:58 UTC (rev 7354)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2008-03-28
11:13:58 UTC (rev 7355)
@@ -13,17 +13,20 @@
tree changes on update and other useful debug information.
</p>
<p>
- Debug info can be rendered on the main page or as a separate popup window.
+ Debug info can be rendered on the main page or as a separate popup window.
+ There you can explore debug info for Simple Repeater example:
</p>
-
- <div class="sample-container">
- <ui:include src="/richfaces/log/examples/log.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/log/examples/log.xhtml"/>
- <ui:param name="openlabel" value="View Page Source" />
- </ui:include>
- </div>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Log demo</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/log/examples/log.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/log/examples/log.xhtml"/>
+ <ui:param name="openlabel" value="View Page Source" />
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2008-03-28
10:55:58 UTC (rev 7354)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2008-03-28
11:13:58 UTC (rev 7355)
@@ -34,16 +34,22 @@
</p>
<p>
This component should be defined as a child component for <f:view> For
example:
- </p>
- <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/page/snippets/page.xhtml"
highlight="xhtml"></rich:insert>
- </rich:panel>
- <p>
- Will be rendered as:
- </p>
- <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
- <rich:insert src="/richfaces/page/snippets/gen.xhtml"
highlight="xhtml"></rich:insert>
- </rich:panel>
+ </p>
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">AjaxPage usage example</legend>
+ <div class="sample-container">
+ <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/page/snippets/page.xhtml"
highlight="xhtml"></rich:insert>
+ </rich:panel>
+ <p>
+ Will be rendered as:
+ </p>
+ <rich:panel styleClass="viewsourcepanel"
bodyClass="viewsourcebody">
+ <rich:insert src="/richfaces/page/snippets/gen.xhtml"
highlight="xhtml"></rich:insert>
+ </rich:panel>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>