Hi there,

I've an action binded to a button; this action send a file to a browser.

The content of the method is similar to what's written in the wiki (http://wiki.apache.org/myfaces/Sending_Files). In the same method i add the rendered property of the button to false but once clicked the button remain rendered.

I have tried to put the setRendered(false) statement to the beginning or to the end of the action but nothing change. It seems that the property isn't "persisted" to the component, the encoding process seems interrupted. I've tried to remove the part of the action that send the file to the browser and in this condition the button once clicked is correctly not rendered.

Is there anyone who can help me ?
Thanks,
Emanuele

Reply via email to