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.
-
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"/>
>
>
>
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.
---
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");
>
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