This content has been marked as final.
Show 1 reply
-
1. Re: Tag s:fileUpload property disabled doesn't work
nick.hoyle Mar 4, 2009 5:56 AM (in response to edesilva)I also noticed this. It seems to be by design. The fileUpload renderer (in seam 2.0.1-GA) has the following line in the doEncodeEnd(...) method:
org.jboss.seam.ui.renderkit.FileUploadRendererBase.doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component)
...
HTML.renderHTMLAttributes(writer, component, HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED);
...
So it seems the "disabled" attribute is ignored on purpose. Does anyone know of a specific reason why this is the case?