Hi Thiago, That's interesting. Perhaps the documentation wants updating. It says: "Note the importance of return this;. A void event handler method, or one that returns null, will result in the FileUploadException being reported to the user as an uncaught runtime exception."
https://tapestry.apache.org/uploading-files.html Perhaps if I change it to void it may keep my values, i'll give it a try. Thanks, Steve On 9 June 2015 at 18:25, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote: > On Tue, 09 Jun 2015 14:05:49 -0300, Stephen Nutbrown <steves...@gmail.com> > wrote: > >> Hi, > > > Hi! > >> Object onUploadException(FileUploadException ex) { >> message = "The file is too large, please resize it to be less than >> 500kb."; >> return this; >> } > > > Never return "this" in an event handler unless you want to force a > redirection. Return null or void. > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org