Hi Emanuele, I don't get you - you have a page, you render a file from it, you want to disable the button on the first page? Do you talk about clicking on the back button?
regards, Martin On 8/9/07, Emanuele Gesuato <[EMAIL PROTECTED]> wrote: > 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 > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

