Dojo, input=file and struts2 problem

2008-10-09 Thread Jeroen Simons
I have a very weird problem and I hope somebody can tell me where to look for a solution. Using the code below everything works as expected. On form submission an ajax call is made to the alert() method which simply forwards to alert.jsp which alerts the filled in text and a dom reference o

FileUpload + Token interceptor problem

2008-09-30 Thread Jeroen Simons
Hi, I have a problem when using the token and fileUpload interceptor together (Struts 2.0.11.2). When I put fileUpload before token in my interceptor stack and I upload a file larger than the maximum allowed I get 2 error messages: * the request was rejected because its size (1454475

I18n problem with annotation validation

2008-09-24 Thread Jeroen Simons
Hi, I have a i18n problem when validating a field in my action. (Struts 2.0.11.2) My validation: @RequiredStringValidator( fieldName = "user.username", key = "error.required", message = "") My resource bundle reads this: error.required=${getText(fieldName)} is required. To have a lo