Author: ilya_shaikovsky
Date: 2011-02-02 10:14:02 -0500 (Wed, 02 Feb 2011)
New Revision: 21391
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
Log:
value set in order to see initial value when minValue=0 by default
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-02-02
15:09:53 UTC (rev 21390)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-02-02
15:14:02 UTC (rev 21391)
@@ -32,17 +32,21 @@
clearInterval(intervalID);
}
//]]>
- </script>
- <h:form id="form2">
- <rich:progressBar mode="client" id="progressBar">
- <f:facet name="initial">
- <h:outputText value="Process doesn't started yet"/>
- </f:facet>
- <f:facet name="complete">
- <h:outputText value="Process Done"/>
- </f:facet>
- </rich:progressBar>
- <h:commandButton type="button" onclick="startProgress();
return false;" style="margin: 9px 0px 5px;" id="start"
value="Start Progress"/>
- <h:commandButton type="button" onclick="pauseProgress();
return false;" style="margin: 9px 0px 5px;" id="pause"
disabled="true" value="Pause Progress"/>
- </h:form>
+ </script>
+ <h:form id="form2">
+ <rich:progressBar mode="client" id="progressBar"
value="-1">
+ <f:facet name="initial">
+ <h:outputText value="Process doesn't started yet" />
+ </f:facet>
+ <f:facet name="complete">
+ <h:outputText value="Process Done" />
+ </f:facet>
+ </rich:progressBar>
+ <h:commandButton type="button"
+ onclick="startProgress(); return false;" style="margin: 9px 0px
5px;"
+ id="start" value="Start Progress" />
+ <h:commandButton type="button"
+ onclick="pauseProgress(); return false;" style="margin: 9px 0px
5px;"
+ id="pause" disabled="true" value="Pause Progress" />
+ </h:form>
</ui:composition>
\ No newline at end of file
Show replies by date