Changes between Version 18 and Version 19 of AJAX/Dojo/RefactoredFormSubmit
- Timestamp:
- Feb 16, 2007, 8:03:49 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AJAX/Dojo/RefactoredFormSubmit
v18 v19 122 122 123 123 Notice the absence of the {{{formNode}}} param for {{{postContent}}}, and the presence of {{{dojo.io.encodeForm}}} to parse/encode the form data into a proper format. That is more than sufficient for validating the 124 form with a {{{XMLHTTPTransport}}}. However, this approach doesn't work with file-uploads. To have file-uploads,124 form with a {{{XMLHTTPTransport}}}. However, this approach doesn't work per se with file-uploads. To have file-uploads, 125 125 you could however change the {{{transport}}} line to {{{IframeTransport}}}. Here's a link to the [http://dojotoolkit.org/api/?#dojo.io.IframeTransport IframeTransport api]. 126 126 … … 132 132 * XMLHTTPTransport doesnt support file-uploading. 133 133 134 === Notes ===134 === Notes/Comments/Suggestions === 135 135 136 Add some notes here.136 Add some notes (or comments!) here. :-) 137 137 138 138 === References ===