kick...
Nobody an idea or suggestion, or a link to point me in the right
direction ? 
 
TM
 
 


________________________________

        Van: [email protected]
[mailto:[EMAIL PROTECTED] Namens Tommy Mestdagh
        Verzonden: dinsdag 21 november 2006 17:16
        Aan: [email protected]
        Onderwerp: [flexcoders] HTTP Post of a custom object
        
        

        How do i do this in flex 

        I have a custom class in Table that is send in the httprequest
to an servlet.  This is the working code of the old struts appl.

        request.getSession().setAttribute("selectedTable", table); 

        In the servlet the Table is read from the request like this.

             Table table = (Table)
request.getSession().getAttribute("selectedTable"); 

        When i do the setAttribut in flex like this. 

                public function doExportExel(event:Object):Void { 
                
            var filterdtos:Array = new Array(); 
                var requestObj: LoadVars = new LoadVars(); 
                filterdtos = tablefilter.getFilterDTO(); 
                
                
                requestObj.tabledto = thistabledto; 
                requestObj.filterdtos = filterdtos; 
                exportexcel.method = "POST"; 
        
requestObj.send("http://localhost:8080/dataeditor/exportExcel
<http://localhost:8080/dataeditor/exportExcel> ","_blank", "POST"); 
                } 

        The table object is not a Table class anymore some sort of
toString conversion of it. 
        I have also tryed to do it with an httpservice object but that
ends up the same way. 
        The tableclass itself works fine when i use it as parameter in a
remote object. 
        regards 
                TM 








        Deze e-mail en alle gekoppelde bestanden zijn officiele
documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen
vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender
onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail
per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder
deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar
derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier
verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze
e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk
gesteld worden voor directe of indirecte schade, verlies of ongemak
veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail.
        
        English Translation: This e-mail and all attached files are
official documents of Antwerp Port Authority and may contain
confidential or personal information. If you have received this e-mail
in error, you are asked to inform the sender by e-mail or telephone
immediately, and to remove it from your system without reading or
reproducing it or passing it on to other parties. Antwerp Port Authority
is in no way responsible for any errors or inaccuracies in the contents
of this e-mail, nor can it be held liable for any direct or indirect
loss, damage or inconvenience arising from any such errors or
inaccuracies. [GHA#Disclaimer] 
        

        

         

Reply via email to