struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Struts2 Json Plugin - overwrites parameter values in url string?
Date Fri, 28 Nov 2014 16:04:32 GMT
What does the action in question look like, specifically, stuff
related to the `searchCriteria` object?

On Fri, Nov 28, 2014 at 10:29 AM, Burton Rhodes <> wrote:
> I have a simple json action that searches for a Contact in the system.  I
> am using a GET request with the following url:
> "ContactSearchJson.action?searchCriteria.searchStringContact=Doe&searchCriteria.categories=agent
> You'll notice I'm trying to set two variable in the object searchCriteria.
> However, when the variables are set in the action only one variable is set,
> but not both.  If I remove either "searchStringContact" or "categories",
> the remaining value will set fine.
> My assumption is it is setting the "searchCriteria.searchStringContact"
> value, then when it comes across the "searchCriteria.categories" value it
> overwrites the entire object so the only value that is set is "categories".
> My questions is, if this a bugor a feature in the json-plugin?  Or am I
> doing something wrong here?
> Thanks,
> Burton

m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnewton
so: Dave Newton

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message