jQWidgets Forums

jQuery UI Widgets Forums Grid Grid do not work URL problem …

This topic contains 2 replies, has 2 voices, and was last updated by  arminkesslerw 12 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Grid do not work URL problem … #18520

    Hello:

    I received this error:

    Unsafe JavaScript attempt to access frame with URL http://grupoitalven.com/ from frame with URL http://190.203.249.90:8080/ufs/ufsmain?ebz=1_1364994542722. Domains, protocols and ports must match.

    When I run with this URL 190.203.249.90:8080 all work OK, but when I run with URL grupoitalven.com the jqxGrid
    do not work. When I define grupoitalven.com on godaddy.com I redirect to grupoitalven.com:8080 to make this tranparent
    to the user.
    I included in my web.xml the CORS filters with grupoitalven.com and 190.203.249.90:8080 and the same error occurs.

    What should I do to solve this problem … Thanks in advance

    Grid do not work URL problem … #18542

    Peter Stoev
    Keymaster

    Hi,

    I suppose that you have a Cross Domain issue with your IFrames or you try to make cross-domain Ajax calls without using JSONP. If your intention is to make such calls, you should use JSONP as dataType. Example is available in the Grid’s Demos – bindingtojsonp.htm. From the provided information, I cannot say what could be the problem or whether it is related or not to jqxGrid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Grid do not work URL problem … #18615

    Peter:

    Thanks for your response …

    I read in the documentation

    JSONP for a cross domain data source

    and
    I have two questions:

    1.- http://ws.geonames.org/searchJSON should be a special service ?

    2.-

    data: {
    featureClass: "P",
    style: "full",
    maxRows: 50
    }

    Where could I found information of the DATA parameters ?

    I included on my code : datatype: “jsonp”, and the DATA on code and received this error: Error jQuery1830… was not called

    Thanks in advance Armin

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.