Bjørn T Johansen schrieb:
> Does myfaces have a progress bar component one can use or if not, some hints 
> on how to make one?
> 
> 
No progress bar yet, however there is a way...
you can use partial page rendering and a t:div...

it should work the following way,
put a ppr field with a cyclic refresh into a page...
in the backend at the time of the triggering of the refresh measure your
progress and adjust the css width of the t:div element accordingly
(or set a progress text, to your liking)
Since the t:div does not use any  javascript this should work as expected.

this is quite natural because you do not have to do some huge tricks in
the backend, ppr panel backend binding to the panel if needed, div
element backend binding to the element, and progress code, thats it
basically.

I have not tried this, but given my experiments with the tomahawk ppr
control, it should work as expected as long as there is a command link
in the page (the ppr control needs one command in the page due to a bug)

Sorry to say that you have to use explicetly t:div because verbatim tags
do not work with the ppr controls as of yet....

Reply via email to