Hi Emanuele, most possibly, cause you only disable the button on the _server-side_, but the button is not re-rendered to the _client-side_ - so you won't see the effects of the changed attribute. You'll need to disable the button on the client-side with javascript. regards,
Martin On 8/13/07, Emanuele Gesuato <[EMAIL PROTECTED]> wrote: > Hi Martin, > > I have a page, in this page i have a button that once clicked render a file. > I want to disable the button when the file is rendered. > > In this button i have an action similar to what's described here: > http://wiki.apache.org/myfaces/Sending_Files > > When i add a statement to the action such as setEnabled(false) or > setRendered(false), the button for some reason remains enabled/rendered. > Why ? > > Thanks, > Emanuele > > >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 > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

