Ok Mike. Thanks for the help.


As I stated in my last email, the use case is an autosave function for
a very large form.

I have a setTimeout call that runs a saveForm function. The form
elements should be serialized and submitted via ajax. The calback
function pops up a little window that notifies the user that the form
has been autosaved. The user interface continues to show the form.

When the user has completed working with the form and presses the
submit button, the form fully submits and the screen hard-refreshes to
another page.


I have all of this working via DWR but I am having trouble with the
serialization in DWR as it uses XML. The form is so large that xml
serialization creates such a large data packet (15KB ) that it is
refused by the webserver.


>From what I saw of the form plugin, it takes control of the form
submit. I want the form submit to work as a normal HTML based form
submit. I will handle calling the ajax form submit via the setTimeout
mechanism I previously mentioned.

So my questions are:

1) Will the form plugin work if only called through a function?
2) Will I be able to maintain the normal ( non-ajax ) function of the
form submit button?
3) What serialization options are available?
4) How are special characters ( like the high unicode characters from
a MSWord paste) handled? I can say they are not much loved in the XML
serialization I am currently using?

Thanks in advance

Dan Wilson



-- 
"Come to the edge, he said. They said: We are afraid. Come to the
edge, he said. They came. He pushed them and they flew."

 Guillaume Apollinaire quotes

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to