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/uncategorizedHOME | 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/69HOME | 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.htmlHOME |
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.htmHOME | 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.pdfHOME |
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-260925HOME |
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
|