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 <burtonrho...@gmail.com> 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



-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnewton
so: Dave Newton

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to