Results 1 to 2 of 2

Thread: YAHOO.ext.UpdateManager

  1. #1
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Bédoin/Redwood City
    Vote Rating

    Default YAHOO.ext.UpdateManager

    Needs this code:

    	YAHOO.util.Connect.asyncRequest(method, url, callback, params);
    Changing to:

    	YAHOO.util.Connect.asyncRequest(method, url, callback, params);
    Otherwise, because it's "static", any form data from a previous setForm() call will be in there, and appended to the URL.

    I use YAHOO.util.Connect.setForm() to create a parameter string in uurlencoded format to pass as a DWR argument.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    New York, NY
    Vote Rating


    asyncRequest automatically clears the form. UpdateManager doesn't need to clear it.

    I understand what you are doing though. You are calling setForm from your code and using it's logic to create your form urlencoded and then not using asyncRequest so it is never cleared. Wouldn't the best solution then be for your code which is calling setForm() to clear the form after it is done?

Similar Threads

  1. YAHOO.extend() versus YAHOO.extendX()
    By griffiti93 in forum Community Discussion
    Replies: 2
    Last Post: 2 Feb 2007, 3:55 PM
  2. YAHOO.ext.BorderLayout && YAHOO.ext.ContentPanel
    By wos in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 13 Dec 2006, 6:14 AM
  3. UpdateManager
    By techno_adi in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 15 Nov 2006, 6:54 AM
  4. YAHOO.ext.UpdateManager setting Content-Type for ISO-8859
    By young_matthewd in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 14 Nov 2006, 11:32 AM
  5. Basic usage of YAHOO.ext.UpdateManager
    By angusf in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 12 Oct 2006, 8:19 PM

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