This content has been marked as final.
Show 8 replies
-
1. Re: rich progress bar
ilya_shaikovsky Jan 12, 2009 6:19 AM (in response to scay)put all the progress bars into the same queue.
-
2. Re: rich progress bar
scay Jan 12, 2009 6:23 AM (in response to scay)I already done it, but nothing changed.
-
3. Re: rich progress bar
nbelaevski Jan 12, 2009 9:02 PM (in response to scay)Can you please post related code: page, beans?.. Thank you in advance!
-
4. Re: rich progress bar
andrei_exadel Jan 13, 2009 4:08 AM (in response to scay)Which RF version do you use?
Such problem was in 3.2.0 version, but it was already fixed in later version. -
5. Re: rich progress bar
scay Jan 19, 2009 11:09 AM (in response to scay)Hi Andrei,
Sorry for my late answer.
I am using richfaces 3.2.2.SR1. -
6. Re: rich progress bar
scay Jan 19, 2009 11:18 AM (in response to scay)my jsf bean code is
public long getPercentage(){return percentage+=5;}
percentage is a class variable.All progress bar items are calling same
method with different wrappers.
and jsf code sample is<c:set var="interval" value="250"></c:set> <h:panelGrid width="100%" columns="2"> <rich:panel id="transactionHistory" bodyClass="scroll fixedHeight100 noPadding"> <f:facet name="header"> <h:outputText value="#{BackofficeSession.langMap.view_player_transaction_history}" /> </f:facet> <a4j:outputPanel style="text-align:left"> <rich:progressBar progressVar="percentage" style="color:blue" value="#{ViewPlayerProfileBean.transactionHistoryPercentage}" minValue="-1" maxValue="99" interval="#{interval}" reRenderAfterComplete="transactionHistory" immediate="true" rendered="#{percentage != -1}" ajaxSingle="true" label="Processing Report[{value} %]" mode="ajax"> </rich:progressBar> <h:outputFormat style="text-align:left" lang="html" value="#{ViewPlayerProfileBean.transactionHistoryExport}" escape="false" /> </a4j:outputPanel> </rich:panel> <rich:panel id="sessionHistory" bodyClass="scroll fixedHeight100 noPadding"> <f:facet name="header"> <h:outputText value="#{BackofficeSession.langMap.view_player_session_history}" /> </f:facet> <a4j:outputPanel style="text-align:left"> <rich:progressBar progressVar="percentage" style="color:blue" value="#{ViewPlayerProfileBean.sessionHistoryPercentage}" minValue="-1" maxValue="99" interval="#{interval}" reRenderAfterComplete="sessionHistory" immediate="true" rendered="#{percentage != -1}" ajaxSingle="true" label="Processing Report[{value} %]" mode="ajax"> </rich:progressBar> <h:outputFormat style="text-align:left" lang="html" value="#{ViewPlayerProfileBean.sessionHistoryExport}" escape="false" /> </a4j:outputPanel> </rich:panel> <rich:panel id="balanceInformation" bodyClass="scroll fixedHeight100 noPadding"> <f:facet name="header"> <h:outputText value="#{BackofficeSession.langMap.view_player_balance_information}" /> </f:facet> <a4j:outputPanel style="text-align:left"> <rich:progressBar progressVar="percentage" style="color:blue" value="#{ViewPlayerProfileBean.balanceInformationPercentage}" minValue="-1" maxValue="99" interval="#{interval}" reRenderAfterComplete="balanceInformation" immediate="true" rendered="#{percentage != -1}" ajaxSingle="true" label="Processing Report[{value} %]" mode="ajax"> </rich:progressBar> <h:outputFormat style="text-align:left" lang="html" value="#{ViewPlayerProfileBean.balanceInformationExport}" escape="false" /> </a4j:outputPanel> </rich:panel> </h:panelGrid>
-
7. Re: rich progress bar
andrei_exadel Jan 20, 2009 5:47 AM (in response to scay)Hello,
I tested your code on 3.3.0GA. All works fine, progress bar nevers stops polling.
Try please the last release. -
8. Re: rich progress bar
scay Jan 20, 2009 11:07 AM (in response to scay)Hi Andrei,
Thank you for your time.
I will try it.