check CREATE_TEMP_FILES context param in developer reference guide.
Hi, thanks for quick reply!
I didn't find anything about CREATE_TEMP_FILES context param, but I found out about init-param for RichFaces filter!
I add <init-param> creataTempFiles to RichFaces filter definition and everything works fine)
<!-- Defining and mapping the RichFaces filter --> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> <init-param> <param-name>createTempFiles</param-name> <param-value>false</param-value> </init-param> </filter>
Is that a correct solution? Or I need to work with CREATE_TEMP_FILES context param?
And one more question - the button "Add" disabled if I add the number of files = uploadsAvailable (for my case it's only one file), and if I click "clear" - this button is still disabled. How can I set it enable, when I click "clear" link?
sorry my mistake in naming init-param as context-param Your way is correct now.