struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gmail <rebeyond1...@gmail.com>
Subject Re: Re: How can I transfer parameters as Map type from jsp to action?
Date Wed, 06 Mar 2013 10:13:10 GMT
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 nullPropertyValue [target=[com.teradata.sxmon.role.action.RoleAction@17ff3e4,
com.opensymphony.xwork2.DefaultTextProvider@1dc16a], property=roleInfo]
DEBUG [http-apr-8080-exec-6] - Property: roleId
DEBUG [http-apr-8080-exec-6] - Class: mybatis.dto.Role
DEBUG [http-apr-8080-exec-6] - field-level type converter for property [roleId] = none found
DEBUG [http-apr-8080-exec-6] - Property: roleInfo.roleId
DEBUG [http-apr-8080-exec-6] - Class: com.teradata.sxmon.role.action.RoleAction
DEBUG [http-apr-8080-exec-6] - global-level type converter for property [roleId] = none found
DEBUG [http-apr-8080-exec-6] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@5b9cff]
DEBUG [http-apr-8080-exec-6] - Creating converter with name [string]
DEBUG [http-apr-8080-exec-6] - Converter of Type [com.opensymphony.xwork2.conversion.impl.StringConverter]
with name [string], created!




Gmail

From: Lukasz Lenart
Date: 2013-03-06 17:50
To: Struts Users Mailing List
Subject: Re: Re: How can I transfer parameters as Map type from jsp to action?
2013/3/6 Gmail <rebeyond1218@gmail.com>:
> I know what's the problem, but I don't know why and how to resolve.
>
> 1. <input name="roleFunctionMap['aaa'].roleId" type="hidden" value="1">
> 2. <input name="roleFunctionMap['a-aa'].roleId" type="hidden" value="1">
>
> 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 warning/debug message in the
logs.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message