Error uploading file using FORM with ID. File value is null.
TEMPLATE CLASS <form t:type="form" t:id="guestForm"> </form> PAGE CLASS @Component(id = "guestForm") private Form guestForm; @Property private UploadedFile file; public void onSuccessFromguestForm() { // Set Path String path = "C:/temp/"; File copied; // Get File copied = new File(path + file.getFileName()); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-5-Error-uploading-file-using-FORM-with-ID-will-generate-NPE-tp4474992p4474992.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