-
20 Sep 2006 3:50 AM #1
YAHOO.ext.UpdateManager
YAHOO.ext.UpdateManager
Needs this code:
Changing to:Code: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.Code:YAHOO.util.Connect.setForm(); YAHOO.util.Connect.asyncRequest(method, url, callback, params);
I use YAHOO.util.Connect.setForm() to create a parameter string in uurlencoded format to pass as a DWR argument.
-
20 Sep 2006 12:02 PM #2
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
-
YAHOO.extend() versus YAHOO.extendX()
By griffiti93 in forum Community DiscussionReplies: 2Last Post: 2 Feb 2007, 3:55 PM -
YAHOO.ext.BorderLayout && YAHOO.ext.ContentPanel
By wos in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 13 Dec 2006, 6:14 AM -
UpdateManager
By techno_adi in forum Ext 1.x: BugsReplies: 4Last Post: 15 Nov 2006, 6:54 AM -
YAHOO.ext.UpdateManager setting Content-Type for ISO-8859
By young_matthewd in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 14 Nov 2006, 11:32 AM -
Basic usage of YAHOO.ext.UpdateManager
By angusf in forum Ext 1.x: Help & DiscussionReplies: 7Last Post: 12 Oct 2006, 8:19 PM


Reply With Quote