This content has been marked as final.
Show 3 replies
-
1. Re: rf4 a4j:mediaOutput event oncomplete
michpetrov Jul 17, 2014 9:18 AM (in response to tatatanja)Hi,
the progressbar has an onfinish attribute, you can use that.
-
2. Re: rf4 a4j:mediaOutput event oncomplete
tatatanja Jul 18, 2014 1:12 AM (in response to michpetrov)I tried it, but the Panel didn't close. My method is started with the a4j:mediaOutput and so the progressBar don't know when the method is finished...
Any other Idea?
-
3. Re: rf4 a4j:mediaOutput event oncomplete
michpetrov Jul 18, 2014 3:43 AM (in response to tatatanja)I thought the progressbar was there to monitor the progress. You could define a data attribute pointing to some variable that will be set to true once the export finishes.
<rich:progressBar data="#{exportController.exportFinished}" onbegin="if(event.data){#{rich:component('inProgressPanel')}.hide();}">