Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    koujiid is on a distinguished road

      0  

    Default How to set the AjaxProxy to read xml by http postmethod

    How to set the AjaxProxy to read xml by http postmethod


    Hi
    I use the Sencha Architect 2.1.
    I want to use ajaxproxy to read the xml by http post method.
    AjaxProxy uses the http get method to read.
    Please tell me how to change this method in Sencha Architect 2.1.

    Thank you.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Sounds like you want an XmlStore (an XML reader coupled with an Ajax Proxy).

    The default behavior of what uses POST or GET is documented here:
    http://docs.sencha.com/ext-js/4-1/#!...-actionMethods

    Code:
    actionMethods: {read: 'POST'}
    should do you
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    koujiid is on a distinguished road

      0  

    Default Custom Property?

    Custom Property?


    Thank you your reply , aconran.

    I knew that in architect , I can add the property as custom prpperty.
    So, I added the "actionMethods" as a custom property.

    Is this right way?

    And I want to post the parameter. This way is right?

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Yes
    Aaron Conran
    @aconran
    Sencha Architect Development Team