It works. But as I have a log on the method getInformeAnualCsv from the 'informes' backing bean I can see that the method is invoked also on each rendering which includes navigation on a table that is shown in the page. Which of course is quite a waste of CPU.
Hi,
Try placing some partialSubmit="true" on some of those components that have nothing to do with your file. This is not 100% certain.
What you can also do is cache the .csv file so you don't have to generate it every time, but this still leaves the waste of bandwidth of sending it more than once...