Multiple Window and Struts2 token issue.

2013-03-06 Thread Sreekanth S. Nair
Hi, I have a web app where its having a couple of operations say for example Create User and Create Role. Both these forms are having struts2 token for handling duplicate submit. Its working as expected. Now the problem is when try to open both of it and try to save both of it. The window ope

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 >

struts 2 validation error

2013-03-06 Thread john lee
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

Re: Re: How can I transfer parameters as Map type from jsp to action?

2013-03-06 Thread Lukasz Lenart
2013/3/6 Gmail : > The logs infomation is below: > > DEBUG [http-apr-8080-exec-6] - Setting static parameters {} > DEBUG [http-apr-8080-exec-6] - Setting params NONE > DEBUG [http-apr-8080-exec-6] - Setting params > roleFunctionMap['a-a'].functionId => [ 1 ] roleInfo.roleId => [ 1 ] > DEBUG [http-a

Re: Re: How can I transfer parameters as Map type from jsp to action?

2013-03-06 Thread Gmail
The logs infomation is below: DEBUG [http-apr-8080-exec-6] - Setting static parameters {} DEBUG [http-apr-8080-exec-6] - Setting params NONE DEBUG [http-apr-8080-exec-6] - Setting params roleFunctionMap['a-a'].functionId => [ 1 ] roleInfo.roleId => [ 1 ] DEBUG [http-apr-8080-exec-6] - Entering n

Re: Re: How can I transfer parameters as Map type from jsp to action?

2013-03-06 Thread Lukasz Lenart
2013/3/6 Gmail : > I know what's the problem, but I don't know why and how to resolve. > > 1. > 2. > > The first can works, but the second fail. > The difference between the firs and the second is a minus. It can be related to excludeParamNames pattern in ParametersInterceptor, you should see a

Re: Re: How can I transfer parameters as Map type from jsp to action?

2013-03-06 Thread Gmail
I know what's the problem, but I don't know why and how to resolve. 1. 2. The first can works, but the second fail. The difference between the firs and the second is a minus. Gmail From: Gmail Date: 2013-03-06 13:47 To: user@struts.apache.org Subject: Re: Re: How can I transfer parameters