Hi all,
I have this problem: the result of form submission (with s:file) is Object
HTMLDocument] in firefox and [object] in IE7 in my s:div.  I have been
looking to have the action response in my div and not in the iframe DOJO is
creating. I am working with struts 2.0.11.1. i thing solution has been
resolved in version 2.1.
Is there any other way to submit the form and redirect the action response
to my div??
I have tried with: (Is not working to me, is there any error???)

dojo.require("dojo.io.IframeIO");
        
        function sendIt(){
        
        
   var bindArgs = {
       transport: "IframeTransport",
       formNode: document.getElementById("nouInforme"),
       mimetype: "text/plain",
       load: function(type, data, evt){
           document.getElementById("aplicacion").innerHTML =
data.firstChild.innerHTML;
       }
   };
        var request = dojo.io.bind(bindArgs);
        
}


-- 
View this message in context: 
http://www.nabble.com/ajax-file-upload-in-iframe-tp17758498p17758498.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to