Hi, Here is my code :
<tr:form usesUpload="true"> <table> <tr> <td> <tr:inputFile columns="50" value="#{shopBuildDataBean.fileToBeUploaded}" valueChangeListener="#{shopBuildServiceBean.fileUpload}" /> <tr:commandButton text="save data" /> </td> </tr> </table> </tr:form> ------------------------------------------------------------------- But it doesn't even calling the setter method of data bean and even not calling the "fileUpload" method of service bean on click of button. Even if I write command button code as below it doesn't work <tr:commandButton text="save data" action="#{shopBuildServiceBean.fileUpload}" /> I don't know where I am wrong. When I click on the button, it submits the page and shows the same page but in background it is not doing any process... Please guide me ASAP. Thanks in advance. ----- Gautam Trivedi Programmer Analyst -- View this message in context: http://www.nabble.com/%3Ctr%3AinputFile-doesn%27t-work-tp19411759p19411759.html Sent from the My Faces - Dev mailing list archive at Nabble.com.