[ http://jira.jboss.com/jira/browse/RF-2364?page=all ]
Aleksej Yanul closed RF-2364. ----------------------------- > Progress Bar: works wrong with Long value returned > -------------------------------------------------- > > Key: RF-2364 > URL: http://jira.jboss.com/jira/browse/RF-2364 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.0 > Reporter: Ilya Shaikovsky > Assigned To: Aleksej Yanul > Fix For: 3.2.0, 3.2.1 > > > Demosite need this fix. > <rich:progressBar value="#{progressBarBean.currentValue}" > id="progressBar" interval="10000" > label="#{progressBarBean.currentValue} %" enabled="true"> > <f:facet name="initial"> > <h:outputText value="Process indicator"/> > </f:facet> > </rich:progressBar> > public Long getCurrentValue(){ > if (isEnabled()){ > System.out.println(new Date().getTime() - startTime); > System.out.println((new Date().getTime() - > startTime)/1000); > return (new Date().getTime() - startTime)/1000; > }else > return Long.valueOf(-1); > } > public String startProcess() { > setEnabled(true); > setStartTime(new Date().getTime()); > return null; > } > if I use the same code but call getSeconds and return Integer - works fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ richfaces-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/richfaces-issues
