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
>
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
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
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
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
5 matches
Mail list logo