2013/3/7 john lee :
> Java backtrace for programmers:
> --
> freemarker.template.TemplateModelException: Method public java.util.List
> org.apache.struts2.components.Form.getValidators(java.lang.String) threw an
> exception when invoked on org.apache.struts2.components.Form@d6147e
>
please advise
thanks in advance
john
**
error:
Template processing error: "Method public java.util.List
org.apache.struts2.components.Form.getValidators(java.lang.String) threw an
exception when invok
age without entering
> action class then raising an null pointer exception.I need that "list" even
> if the validation fails.
>
> Please help me to get out of this problem
>
> expecting your kind interaction
>
> thanks in advance
>
> rakesh
> --
> View th
m there to jsp page without entering
> action class then raising an null pointer exception.I need that "list" even
> if the validation fails.
>
> Please help me to get out of this problem
>
> expecting your kind interaction
>
> thanks in advance
>
> rakesh
&g
nd interaction
thanks in advance
rakesh
--
View this message in context:
http://old.nabble.com/struts-2-validation-error-tp27009670p27009670.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscri
If you haven't solved this, here are the things I would try.
* Check that the that the Validation files seem like valid XML. A
quick way to do that is to open them in IE.
* Deploy the MailReader example to the same environment, to be sure
its validation works.
* Deploy your application to anot
Hi all,
I'm new to this mailing list and still a bit confused on how to look
things up, so apologies if this one is already up there!
I'm using Tomcat to serve up JSPs using Struts 2 with java action classes
and xml validation files. For example:
signup.jsp
SignUp.java
SignUp-validation.xml
A
Just use the getText() method to resolve the key of your choice. For
example: addActionError(getText("my.message.key"));
Don
On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I have written my customised java class to do the form validation within
the action class.
I want to render
Hi,
I have written my customised java class to do the form validation within
the action class.
I want to render the validation error messages from a property file and not
hard coding it into the code.
What i understand is the struts ActionSupport class has
addActionError(String msg) which takes
9 matches
Mail list logo