Re: onValidate NPE

2008-05-02 Thread zack1403
uot;? Do > you have proper getter/setter methods for your uploadfile? > > Josh -- View this message in context: http://www.nabble.com/onValidate-NPE-tp17024869p17027833.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: onValidate NPE

2008-05-02 Thread Josh Canfield
tried that though). The files can be saved and modified in > the onSuccess method just fine. I no other components in the page. > > My tml basically consists of: > > > > > validate="required"/> > > >

Re: onValidate NPE

2008-05-02 Thread zack1403
By the way, thank you for the quick response! -- View this message in context: http://www.nabble.com/onValidate-NPE-tp17024869p17025322.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: onValidate NPE

2008-05-02 Thread Josh Canfield
r incorrectly? > > @Component > private Form form; > private UploadedFile up; > > public void onValidate() { >// form.recordError("an error"); >if(!web.getFileName().endsWith(".ssi")) { > form.recordError("wrong ext error"); >

onValidate NPE

2008-05-02 Thread zack1403
UploadedFile up; public void onValidate() { // form.recordError("an error"); if(!web.getFileName().endsWith(".ssi")) { form.recordError("wrong ext error"); } } -- View this message in context: http://www.nabble.com/onValidate-NPE-tp17024869p17024869.html