Results 1 to 3 of 3

Thread: How to retrieve the URL from the xml Reader?

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default How to retrieve the URL from the xml Reader?

    Hi,

    How to retrieve the URL from the xml Reader., I have a Store, an AjaxProxy and an Xml reader., I want to append a string at the end of the URL.

    Thanks,
    /pradeepk

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    22
    Vote Rating
    7
      0  

    Default

    you can write to the .url field of the proxy if you are changing the proxy to a different server resourse. But if you are just building the request, I would look at the proxy's buildRequest() and buildURL() methods.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default How to access the store?

    How to access the store from another function?

    var myStore = Ext.data.reader.Xml('movieDB');
    - movieDB is the idProperty of myXMLReader.
    - my Url is given in the Url field of MyAjaxProxy.

    Thanks,
    /pRaDeE

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •