Author: dsvyatobatsko
Date: 2008-03-27 15:45:41 -0400 (Thu, 27 Mar 2008)
New Revision: 7335
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/jpegSample.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/examples/noneLayout.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml
Log:
Demo site: Ajax output demos layout correction completed
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -29,16 +29,8 @@
}
</style>
-
- <rich:separator height="1" style="padding:10px"/>
+ <br/>
<h:panelGrid width="100%" columns="2"
columnClasses="col1,col2">
- <f:verbatim>
- The demo shows the example of three-steps wizard created
- using a4j:include. The navigation rules defined in the
- faces-config.xml are used to navigate between the steps
- of the wizard.
-
- </f:verbatim>
<a4j:keepAlive beanName="profile" />
<rich:panel styleClass="wizard">
<f:facet name="header">
@@ -50,6 +42,6 @@
</rich:panel>
</h:panelGrid>
- <rich:separator height="1" style="padding:10px"/>
+ <br/>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/usage.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/usage.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -18,8 +18,16 @@
a full context-relative path of the resource in order to use as from-view and to-view
in the
JSF navigation cases.
</p>
-
- <div class="sample-container">
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Include example</legend>
+ <div class="sample-container">
+ <p>
+ The demo shows the example of three-steps wizard created
+ using a4j:include. The navigation rules defined in the
+ faces-config.xml are used to navigate between the steps
+ of the wizard.
+ </p>
<ui:include src="/richfaces/include/examples/wizard.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/include/examples/wizard.xhtml"/>
@@ -42,8 +50,8 @@
<ui:param name="openlabel" value="View faces-config.xml Navigation
Rules" />
<ui:param name="sourcetype" value="xml" />
</ui:include>
- </div>
-
+ </div>
+ </fieldset>
<p>
The Ajax command component (button, link, jsFunction, etc) should be located inside
the
a4j:include in order to have a partial navigation. When the navigation is
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/jpegSample.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/jpegSample.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/jpegSample.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -6,9 +6,9 @@
xmlns:rich="http://richfaces.org/rich">
- <rich:separator height="1" style="padding:10px"/>
+ <br/>
<a4j:mediaOutput element="img" cacheable="false"
session="true"
createContent="#{mediaBean.paint}" value="#{mediaData}"
mimeType="image/jpeg" />
- <rich:separator height="1" style="padding:10px"/>
+ <br/><br/>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -30,28 +30,29 @@
is set to false, the request will be cached. If it is set to true, it will be cached
and the serialized value of 'value' attribute plays the role of a cache key.
</p>
- <div class="sample-container" >
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">MediaOutput example</legend>
+ <div class="sample-container">
- <ui:include src="/richfaces/mediaOutput/examples/jpegSample.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/mediaOutput/examples/jpegSample.xhtml"/>
- <ui:param name="openlabel" value="View Page Source" />
- </ui:include>
+ <ui:include
src="/richfaces/mediaOutput/examples/jpegSample.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/mediaOutput/examples/jpegSample.xhtml"/>
+ <ui:param name="openlabel" value="View Page Source" />
+ </ui:include>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/demo/media/MediaBean.java"/>
- <ui:param name="openlabel" value="View MediaBean.java Source"
/>
- <ui:param name="sourcetype" value="java" />
- </ui:include>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/demo/media/MediaBean.java"/>
+ <ui:param name="openlabel" value="View MediaBean.java
Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/demo/media/MediaData.java"/>
- <ui:param name="openlabel" value="View MediaData.java Source"
/>
- <ui:param name="sourcetype" value="java" />
- </ui:include>
-
-
- </div>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/WEB-INF/src/org/richfaces/demo/media/MediaData.java"/>
+ <ui:param name="openlabel" value="View MediaData.java
Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/examples/noneLayout.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/examples/noneLayout.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/examples/noneLayout.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -12,7 +12,7 @@
}
</style>
- <rich:separator height="1" style="10px 0"/>
+ <br/>
<h:panelGrid columns="2" width="100%"
columnClasses="col">
@@ -34,7 +34,7 @@
<a4j:outputPanel layout="block">
<h:form>
- <h:outputText value="Enter Text:"/>
+ <h:outputText value="Enter Text: "/>
<h:inputText id="text1" label="text1"
value="#{rsBean.text1}">
<f:validateLength maximum="10"/>
<a4j:support event="onkeyup" reRender="out1" />
@@ -56,7 +56,7 @@
<a4j:outputPanel layout="block">
<h:form>
- <h:outputText value="Enter Text:"/>
+ <h:outputText value="Enter Text: "/>
<h:inputText id="text2" label="text1"
value="#{rsBean.text2}">
<f:validateLength maximum="10"/>
<a4j:support event="onkeyup" reRender="out2" />
@@ -69,7 +69,7 @@
</a4j:outputPanel>
</a4j:outputPanel>
</h:panelGrid>
-
- <rich:separator height="1" style="10px 0"/>
-
+
+ <br/>
+
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml 2008-03-27
19:33:32 UTC (rev 7334)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml 2008-03-27
19:45:41 UTC (rev 7335)
@@ -33,14 +33,15 @@
rendered and assigns the id of the child component if the component is not rendered.
Otherwise, it does not become rendered at all.<br/>
The following example shows the cases of usage described above:</p>
- <div class="sample-container" >
-
- <ui:include src="/richfaces/outputPanel/examples/noneLayout.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/outputPanel/examples/noneLayout.xhtml"/>
- </ui:include>
-
- </div>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">OutputPanel example</legend>
+ <div class="sample-container">
+ <ui:include
src="/richfaces/outputPanel/examples/noneLayout.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/outputPanel/examples/noneLayout.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>