What about if you do

$.getJSON("../index.cfm",

                 { search_ID: ‘1234’,

                   event: "page.JSONcall",

                   requestformat: "json"

                 },

                 doResult() )


I'm just wondering if jquery doesn't like the SES formatted url and is
failing to append the url params to the request


2009/11/12 Richard East <[email protected]>

>
>  Hi,
>
>
>
> I’m using Model-Glue 3 and SES URLs. I use jQuery and the function
> getJSON() to trigger JSON calls to the server:
>
>
>
> $.getJSON("../index.cfm/page.JSONcall/requestformat/json",
>
>                  { search_ID: ‘1234’},
>
>                  doResult() )
>
>
>
> It successfully calls the app and returns JSON data to my page, however if
> I cfdump arguments.event.getValue(‘search_ID’)  I get [empty string] but if
> I cfdump the url scope, I get the correct search_ID.
>
>
>
> Has anyone else come across this? Is there a preferred method of submitting
> JSON data to MG3 that will get my input into the “event”?
>
>
>
> Regards,
>
>
>
> Richard
>
>
>
>
>
>
>
>
>
>
>   ------------------------------
>   This transmission is strictly confidential, possibly legally privileged,
> and intended solely for the addressee. Any views or opinions expressed
> within it are those of the author and do not necessarily represent those of
> 192.com, i-CD Publishing (UK) Ltd or any of it's subsidiary companies. If
> you are not the intended recipient then you must not disclose, copy or take
> any action in reliance of this transmission. If you have received this
> transmission in error, please notify the sender as soon as possible. No
> employee or agent is authorised to conclude any binding agreement on behalf
> of i-CD Publishing (UK) Ltd with another party by email without express
> written confirmation by an authorised employee of the Company.
> http://www.192.com (Tel: 08000 192 192).
> i-CD Publishing (UK) Ltd is incorporated in England and Wales, company
> number 3148549, VAT No. GB 673128728.
> ------------------------------
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to