Author: dsvyatobatsko
Date: 2008-03-25 07:59:57 -0400 (Tue, 25 Mar 2008)
New Revision: 7161
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/polling.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml
Log:
[RF-2659] Demo site: corrections of Progress Bar demo layout
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml 2008-03-25
11:13:59 UTC (rev 7160)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml 2008-03-25
11:59:57 UTC (rev 7161)
@@ -32,6 +32,6 @@
<h:outputText value="Process Done"/>
</f:facet>
</rich:progressBar>
- <button type="button" onclick="startProgress();">Start
Progress</button>
+ <button type="button" onclick="startProgress();"
style="margin: 9px 0px 5px;">Start Progress</button>
</h:form>
</ui:composition>
\ No newline at end of file
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/polling.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/polling.xhtml 2008-03-25
11:13:59 UTC (rev 7160)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/polling.xhtml 2008-03-25
11:59:57 UTC (rev 7161)
@@ -4,18 +4,20 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
+
<h:form>
<h:outputText
value="http://jira.jboss.com/jira/browse/RF-2364"/>
- <a4j:outputPanel id="progressPanel">
- <a4j:commandButton action="#{progressBarBean.startProcess}"
value="startProcess" reRender="progressPanel" rendered="#{not
progressBarBean.enabled}"/>
-
+ <a4j:outputPanel id="progressPanel">
+ <br/>
+ <a4j:commandButton action="#{progressBarBean.startProcess}"
value="startProcess" reRender="progressPanel" rendered="#{not
progressBarBean.enabled}" style="margin: 9px 0px 5px;"/>
<rich:progressBar value="#{progressBarBean.currentValue}"
interval="2000"
- label="#{progressBarBean.currentValue} %"
enabled="#{progressBarBean.enabled}">
- <f:facet name="initial">
+ label="#{progressBarBean.currentValue} %"
enabled="#{progressBarBean.enabled}">
+ <f:facet name="initial">
+ <br/>
<h:outputText value="Process doesn't started yet"/>
</f:facet>
- <f:facet name="complete">
+ <f:facet name="complete">
+ <br/>
<h:outputText value="Process Done"/>
</f:facet>
</rich:progressBar>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml 2008-03-25
11:13:59 UTC (rev 7160)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml 2008-03-25
11:59:57 UTC (rev 7161)
@@ -11,33 +11,26 @@
SHORT DESCRIPTION
</p>
- <p>
- Server Side
- </p>
-
- <div class="sample-container" >
-
- <ui:include src="/richfaces/progressBar/examples/polling.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/progressBar/examples/polling.xhtml"/>
- </ui:include>
- </div>
-
- <p>
- Client Side
- </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Server Side</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/progressBar/examples/polling.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/progressBar/examples/polling.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
- <div class="sample-container" >
-
- <ui:include src="/richfaces/progressBar/examples/client.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/progressBar/examples/client.xhtml"/>
- </ui:include>
- </div>
-
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Client Side</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/progressBar/examples/client.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/progressBar/examples/client.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
-
</ui:composition>
</html>