I got this trouble while developing my tapestry-based web application. I do not understand why the component property "uploaded" is always null after submitting my form. Can you help ?
.tml : input t:type="upload" t:id="uploaded" value="uploadedValue" /> .java : @Property private UploadedFile uploaded; @Property private String UploadedValue; [..] I tried : System.out.println(uploaded.getFileName()); =>return a nullpointer exception. However on the debug web page of this error I can see that "uploaded" contains the correct Filename. So I tried : System.out.println(uploaded); => return null value. I just want to retrieve the name of my uploaded file. Regards, Benjamin -- View this message in context: http://www.nabble.com/-Tapestry-5-Upload-component-tp24763624p24763624.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org