1. #1
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default YAHOO.ext.UpdateManager

    YAHOO.ext.UpdateManager


    Needs this code:

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

    Code:
    	YAHOO.util.Connect.setForm();
    	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
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    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

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi