GIGJ.COM
welcome to my space
X
Welcome to:gigj.com
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
Search:  
 HOME   Ext.lib.Ajax.formRequest method is hardcoded to POST

Ext.lib.Ajax.formRequest method is hardcoded to POST

Published by: mike 2010-03-18

  • OXXus.net: Web Hosting » Uncategorized::
    Sep 8, 2007 Fx keeps insisting it can't install this basic test extension I build by some you usually use a database library to manipulate the data in the database .. If I'm in shared environment and use phpmailer's smtp method. after an ajax call, how do you read the POST variables in java
    http://blog.oxxus.net/archives/category/uncategorized
    HOME
    In the latest SVN build all *-bridge Ext.lib.Ajax.formRequest functions are hardcoded to use POST as the method.
    From yui-bridge.js

    Ext.lib.Ajax = {
    ...
    formRequest : function(form, uri, cb, data, isUpload, sslUri){
    {69} Stale Tickets - Rails Trac - Trac::
    Request to not simulate methods as POST, 2007-06-13 23:10:00.00 . #8948 · [PATCH] Form.request as JSON, 2007-07-11 10:58:32.00 Response to the Ajax.Request to allow the Response to be seen when the #9196 · [PATCH] in_place_editor has been hard coded to ignore validation checks on the attribute.
    http://dev.rubyonrails.org/report/69
    HOME
    Information about one special library - Rutgers University Special ::
    ext lib ajax formrequest method is hardcoded to post; safari grid scrolling; closed combobox html encoding; store paramnames gets overwritten and nan page
    http://hznm.com/hznm/hznmenarticleF/information-about-one-special-library-555489.html
    HOME
    CN.setForm(form, isUpload, sslUri);
    return CN.asyncRequest('POST', uri, cb, data);
    },


  • Is it even valid to GET a form?


  • As I understand it, you can "GET" a form, but you need to append the data to the querystring rather than writing it to the request stream.


  • Can I ask why you would want to get a form over XHR? The only reason I can think of form GET with a form is to prevent the irritating "Data Expired" message with the back button. That wouldn't apply to XHR.

    With all that said, I did apply your patch. :D


  • Mostly I like to use GET to make troubleshooting easier; if I have
    page.php?updateRecord?id=1&firstname=fname I can just browse to it and see the error immediately, and work on that page directly. Otherwise I have to dummy up the post which is a pain.
    Basicform updaterecord - Ext: Bugs - Page 17 - Ext JS Forums ::
    Ext.lib.Ajax.formRequest method is hardcoded to POST - Ext JS Forums fix and youre using an Ext Form/BasicForm make sure you set your method in the
    http://portal.toyotataa.com/bas/basicform-updaterecord.htm
    HOME
    Oracleо WebLogic Portal::
    File Format: PDF/Adobe Acrobatto be done using a POST; the GET method is not supported. represented as an XML file with a .portlet file extension. .. Shared Library portlet in the Merged Projects view with the Copy to Project option selected. precedence over the hard-coded value. Also, if just the hard-coded value is to be used,
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/pdf/portlets.pdf
    HOME

    I'm not explictly using formRequest, it's called from Ext.form.Action.Submit.run() which I've extended to make success() meet my needs.
    run : function(){
    var o = this.options;
    var isPost = this.getMethod() == 'POST';
    if(o.clientValidation === false this.form.isValid()){
    Ext.lib.Ajax.formRequest(

    I don't think that I'm Ext.form.Action.Submit incorrectly am I?


  • Unless I'm totally misunderstanding how Ext Forms and Actions are meant to be used, it should be.
    Djangobook::
    The database connection parameters and backend are hard-coded. It's simple: Just use any existing Python library to execute an SQL query and do The request method â ” e.g., POST, GET, HEAD â ” is not taken into account when XML serialized representations of models (usually used for AJAX functions).
    http://www.slideshare.net/MayankDhingra/djangobook-260925
    HOME
    http://www.w3.org/TR/html4/interact/forms.html#h-17.3

    Ext.lib.Ajax.formRequest() is called from within Ext.form.Action.Submit:

    Ext.extend(Ext.form.Action.Submit, Ext.form.Action, {
    type : 'submit',

    run : function(){
    var o = this.options;
    var isPost = this.getMethod() == 'POST';
    if(o.clientValidation === false this.form.isValid()){
    Ext.lib.Ajax.formRequest(
    this.form.el.dom,
    this.getUrl(!isPost),
    this.createCallback(),
    isPost ? this.getParams() : null, this.form.fileUpload, Ext.SSL_SECURE_URL);

    }else if (o.clientValidation !== false){ // client validation failed
    this.failureType = Ext.form.Action.CLIENT_INVALID;
    this.form.afterAction(this, false);
    }
    },


  • A quick fix for YUI for anyone who needs it:

    formRequest : function(form, uri, cb, data, isUpload, sslUri){
    CN.setForm(form, isUpload, sslUri);
    return CN.asyncRequest(form.method ? form.method.toUpperCase() : 'POST', uri, cb, data);
    },


    If you use the above fix and you're using an Ext Form/BasicForm make sure you set your method in the Form options, NOT the Action options. The same temp fix can be used for any of the adapters, just replace 'POST' with the bold text above.





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

  • will a tattoo hurt and should i get it
  • diarrhea i know gross but help please
  • what do you think of women with tattoos and smoking cigarettes
  • i 039 m am getting a tattoo that is going to take 8 to 10 hours how much will it hurt
  • gift baskets need help
  • does first tattoo hurt alot if its on inner thigh
  • how do i record cash receipts in both the general fund and governmental activities journals
  • ladies on you does it or not
  • do anyone of you think men or women with piercings or tattoos are attractive
  • how bad does a tattoo hurt on the back of the shoulder
  • geisha tattoo
  • what do women think of men with tattoos
  • why does my tattoo hurt
  • why do i keep seeing people say that they dont think women should have tattoos
  • does a tattoo hurt really bad
  • do major stock holders always make up 100 of the board of directors for corp
  • job ideas for mom to be please
  • bump on ear after piercing
  • does a colour tattoo have to have a black outline
  • does a foot tattoo hurt pics
  • birth control help please
  • cashing a check not issued to you
  • really important how do i replicate this jewelry
  • will a hip tattoo hurt
  • does it hurt to tattoo over scar tissue
  • do u like my new tat is it normal for it to hurt 3 days after getting it done
  • what do you think of young women with tattoos
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Ext.lib.Ajax.formRequest method is hardcoded to POST , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved