jQWidgets Forums
Forum Replies Created
-
Author
-
I finally got this working by overriding the underlying ajax component to parse params traditionally
$.ajaxSetup({ traditional:true });
This puts out the json on the params as I expected and as RESTEasy required
loggedInAs=5055037200003&loggedInAs=5015715444440&loggedInAs=5016237030227
The data call was like this where loggedInAs
data = {'loggedInAs' : ['somevalue', 'somevalue2']}
I hope this helps someone as I spent a couple of days on this very very minor issue
I have tried every combination now, moving from GET to POST and trying to get a list to show up on the server
If I use Postman then this is perfectly acceptable
["5016237030227","5016237030227"]
However I cannot seem to get the following to work
data = ["5016237030227", "5012648000002"];
which results in a payload (for POST) of
0=5016237030227&1=5012648000002
Or
data = {loggedInAs:["5016237030227", "5012648000002"]}
which results in a payload of
loggedInAs%5B%5D=5016237030227&loggedInAs%5B%5D=5012648000002
in other words it puts the [] after each entry?
Thanks for your assistance but this is driving me insane, I can only assume it is all due to various uses of traditional and the $.param functions
Hi thanks for the reply so for me to receive a list on the server side would I have to do this?
data : { 'receiverCode' : ['a','b'], 'senderCode' : ['1','2'] }
January 24, 2014 at 3:30 pm in reply to: Multiple Select rowselect fires every time Multiple Select rowselect fires every time #48354Hi Peter,
Sure thanks,
Richard
January 24, 2014 at 3:07 pm in reply to: Multiple Select rowselect fires every time Multiple Select rowselect fires every time #48351Hi Peter,
Thanks for the prompt response. Do you think this functionality will be added at some point? Other grids I have seen have change events which in the case of multiple selections only trigger once.
At the moment I am looking at having to put a wait event in place to make sure I don’t get any more row selections triggering….. not ideal
Regards,
Richrd
January 10, 2014 at 9:02 am in reply to: Not automatically data binding Not automatically data binding #47673Hi Peter,
Yes I appreciate that it was purely from a style point of view that I wanted to do this. As I wanted to do all my “prep” work up front and then set values on the source later and call data bind. If it isn’t possible though that’s fine I will just have to work around it.
Regards,
Richard
Thanks for the response, I will do as you say but maybe worth adding this shortcut for a future release?
Regards,
Richard
October 16, 2013 at 10:08 am in reply to: Any chart using IE 11 Windows 7 Any chart using IE 11 Windows 7 #30818Hi,
I appreciate that it was just a heads up, my IE was supposed to be up to date… sigh
Regards,
Richard
Hi,
That is what I thought, however can’t the show password icon be positioned relative to the edit control rather than floating above? If it was it would move when the edit box changes position?
Not a high priority issue however and I will disable in our product for the moment.
Regards,
Richard
October 15, 2013 at 3:13 pm in reply to: 3.0.3 Grid Load/Save State 3.0.3 Grid Load/Save State #30763thanks, I will wait on 3.0.4 for a fix (hopefully)
-
AuthorPosts