NNKL.COM
welcome to my space
X
Search:  
 HOME   form submit no firebug display?
form submit no firebug display?
Published by: wktd 2010-03-10
Welcome to:nnkl.com

  • hi, i don't know if i'm missing something but firebug won't display my form submission details (headers, params, etc..) i am using FormPanel...

    here is my sample source code...
    when i submit this form, it gets submitted to the server alright...but i just can't view the details (the headers, params, returned message pass to and from the server..)...

    is there something i'm missing, or is this the natural behavior of FormPanel?

    joborder.app = function(){

    var submitComplete_Joborder = function(formEl,action){

    this.btnSubmit.enable();
    }

    var submitFailed_JobOrder = function(formEl,action){

    this.btnSubmit.enable();
    }
    var btnSubmitJobOrder_Click = function(btnEl,e){
    btnEl.disable();
    this.joborderform.getForm().submit({url:'index.php ?module=foo&event=bar',
    waitMsg: 'Processing..',
    method: 'post'
    });
    }

    return {

    joborderformtitle:'Job Order Form',
    init: function(){
    this.btnSubmit = new Ext.Button({id:'btnSubmit',
    Ask a Jedi: Trouble with ColdFusion.Ajax.SubmitForm : Raymond Camdens ::
    Download Firebug and get used to doing your debugging there. However, Im trying to submit the form to a CFWindow through ColdFusion.Ajax.
    http://www.coldfusionjedi.com/index.cfm/2008/7/3/Ask-a-Jedi-Troub-ColdFusionAjaxSubmitForm
    HOME
    Attach more detailed breadcrumb-like information on the panel pane ::
    display = $form[panels_display code that I plugged into FireBug to mock it up: title bar or down below the No title would help accelerate
    http://drupal.org/node/194415
    HOME
    text:'Create Job Order',
    handler:btnSubmitJobOrder_Click,
    scope:this
    });

    this.joborderform = new Ext.form.FormPanel({labelAlign: 'top',
    waitMsgTarget: true,
    title: this.joborderformtitle,
    fileUpload : true,
    items:[/*myitems*/],
    buttons:[this.btnSubmit]
    });
    this.joborderform.getForm().on({actioncomplete: submitComplete_Joborder,
    actionfailed: submitFailed_JobOrder,
    SCR37: Creating Custom Dialogs in a Device Independent Way | Techniques ::
    submit value=OK /> <input type=reset value=Cancel /> </div> </form> </div> Resources are for information purposes only, no endorsement implied.
    http://www.w3.org/TR/2008/WD-WCAG20-TECHS-20081103/SCR37
    HOME
    beforeaction: function(formel,action){
    /*some codes here*/
    },
    scope:this
    })

    this.joborderform.render('form_joborder');


    }//end init
    };
    }();


  • thanks tryanDLS

    Set BPs in the Action.Submit.run fn and see if something is causing it to fail before sending the request.


    didn't get it man...:D
    i am able to sucessfully post in the server, it's just that that the submission details wouldn't appear on firebug..
    anyway, i am using FFox 2.x with firebug on windows

    i'm really sorry if i'm my ignorance bothers you..

    here is my code though:

    /*jsondata = is a variable i encode first using ext.util...i currently can successfully decode it in the server..
    */
    this.joborderform.getForm().submit({url:'index.php ?module=joborder&event=save_joborder',
    waitMsg: 'Saving Job Order...',
    method: 'post',
    params:'templates='+jsondata
    });


    this snippet is invoked when a button is clicked (as seen in the original code posted above)

    thanks tryanDLS...:)


  • That is the case for me as well for some reason.
    I had to check the params in the server-side script.


  • hi djliquidice, thanks for the reply,
    sorry man, didn't get what you meant...:D



    Firebug can monitor all XHR, HTTP/scripttag proxy requests. My question is - are you tracking that via firebug? If so, where in firebug :)


  • Are you running in a web server?


  • make sure that in the console tab "options" dropdown, "Show XMLHttpRequests" is checked.


  • tryanDLS:

    no, i am still running on localhost, but will try to test soon my code in a web server...i suspect that running on a web server will display the submission details on firebug...

    djliquidice:

    yes i am tracking those in firebug; and in the console part...most of ext components making ajax calls i used (tree, dataview, grid via get/post) are reflected in the console part...which has the params, headers, POST/GET, Response sections..and sadly these are not appearing on my FormPanel configured to work with JSON whenever i submit it...

    devnull:
    yes, i had that checked and i still cannot see the post summary of my form...


    thanks all for the help!


  • Set BPs in the Action.Submit.run fn and see if something is causing it to fail before sending the request.


  • I have no issues with this in Fx 2.x + fb windows

    where are you looking to monitor the form submission details? Network/XHR?


  • hi djliquidice, thanks for the reply,


    where are you looking to monitor the form submission details? Network/XHR?

    sorry man, didn't get what you meant...:D

    anyway, i am using FFox 2.0 with firebug on windows...and my FormPanel is configured to work with JSON (which is the default if unspecified, right?) instead of XML...the weird thing is that the example on this site with the FormPanel's Loading and Submitting of XML data, actually is reflected on my firebug...but as for my case, it's just blank...and it gives me pain in debugging...


  • Same here, but I ain't quite sure if it ever did... can't really remember :P





  • Get Smart About Monitoring Virtual Machines
    Microsoft Gets Ex-Streamly Cozy with U.K.'s MediaWave

    You are looking at:nnkl.com's form submit no firebug display?, click nnkl.com to home
  • boost your web sites by effective document conversion services
  • replacing windows regedit
  • free online antivirus
  • salon software manage your business
  • free fault diagnose before laptop repair
  • say goodbye to routine hands down oracle administration
  • spa management systems
  • salon management system making thing easier
  • cyberbullying – a dangerous trend
  • salon pos systems
  • kaspersky best antivirus protection and internet security
  • cheating spouse infidelity investigations
  • rapid application development with sql database and dataset designer
  • salon training for complete salon management
  •  
  • is your computer safe from spyware
  • is spyware slowing your computer down
  • who else wants cheap software
  • deskcad cad to pdf releases
  • topics on usability creating hot tracking icons
  • popular 3d screensavers are only saving screen or someting more
  • pop download
  • rational unified process and extreme programming
  • salon computer systems
  • software outsourcing
  • some ways to increase your computer speed fast
  • graphics for mobile developers
  • growth of the hotel industry in india
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 nnkl.com        Site made:CFZ