Problem with progressBar and livedemo
edilmar Mar 7, 2011 3:01 PMHi,
I have an webapp with JSF2/RichFaces3.3.3/CDI/GlassFish3.0.1.
I want to create a button that, when clicked, opens a modalPanel and shows a progressBar.
The first iteration of the progressBar should call a webservice in the managed bean to process something.
Then, in each iteration of the progressBar, I need to check in the managed bean if the webservice response is available. If not, it continues waiting with progressBar; otherwise, the progressBar should stay invisible and a message "Something processed..." shoube stay visible.
First of all, I tried to test the progressBar sample from LIVEDEMO (http://livedemo.exadel.com/richfaces-demo/richfaces/progressBar.jsf?c=progressBar&tab=usage). I copied the same ProgressBarBean.java and created my teste.xhtml like the sample file. Below is my xhtml:
However, this doesn't behaviour like LIVEDEMO sample. Look at my page after rendered:
The button to start process is not show, the progressBar appears directly.
What's the problem with this sample? Is there some problem in ProgressBarBean.java?
My browsers are Firefox 3.5.15 and Chrome 9, Linux Fedora12.
The Console Error from JS in Firefox arises these errors:
1. Alerta: Propriedade desconhecida “text-color”. Declaração ignorada.
Arquivo-fonte: http://localhost:8080/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf
2. Alerta: Propriedade desconhecida “text-color”. Declaração ignorada.
Arquivo-fonte: http://localhost:8080/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf
3. Alerta: Erro no processamento do valor de “filter”. Declaração ignorada.
Arquivo-fonte: http://localhost:8080/sitesat2/a4j/s/3_3_3.FinalMETA-INF/skins/glassX.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf
4. Alerta: Erro no processamento do valor de “filter”. Declaração ignorada.
Arquivo-fonte: http://localhost:8080/sitesat2/a4j/s/3_3_3.FinalMETA-INF/skins/glassX.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf