Re: struts 2 validation error

2013-03-06 Thread Lukasz Lenart
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 >

Re: struts 2 validation error

2010-01-06 Thread Greg Lindholm
See the FAQ http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html On Mon, Jan 4, 2010 at 2:40 AM, Rakesh K nair wrote: > > Hi > > In my struts2 jsp page there is a "selection list".I am populating the > "list" from action class before rendering the page.I hav

Re: struts 2 validation error

2010-01-04 Thread Paweł Wielgus
Hi Rakesh, use preparable interface and in prepare method initialize anything that is necessary to show that page. Best greetings, Pawel Wielgus. 2010/1/4, Rakesh K nair : > > Hi > > In my struts2 jsp page there is a "selection list".I am populating the > "list" from action class before rendering

Re: Struts 2 Validation Error

2008-01-17 Thread Ted Husted
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

Re: Struts 2 validation error messages

2007-07-10 Thread Don Brown
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