struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: ParameterNameAware issue
Date Sun, 13 Jul 2014 07:29:37 GMT
2014-07-12 14:01 GMT+02:00 Markus Demetz <markus@demetz.eu>:
> Hi,
>
> I am trying to upgrade my application from 2.3.15.2 to 2.3.16.3.
> Some of my actions implement the ParameterNameAware interface to check if a
> parameter will be accepted.
> I have parameters of the form like "user.username" (e.g. loginform) which
> will be passed to the acceptableParameterName(String) function of the
> LoginAction class.
> The LoginAction has a User Object with a setUsername method. I didn't want
> to use the model-driven approach.
>
> When upgrading to struts 2.3.16.3 the acceptableParameterName function is
> getting called multiple times with different combinations: "user.username",
> "user" and "username".
> Is it wrong to use dots in parameter names?
> Any suggestions?

I think it is related to https://issues.apache.org/jira/browse/WW-4257


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
View raw message