Re: [flexcoders] HTTPService url problem

2006-10-25 Thread Prakaz



try this:

mx:HTTPService id=myservice  url="">
http://testdrive.local.net/cgi-bin/get_warnings_data.cgi showBusyCursor=true useProxy=false method=POST result=loginSuccessHandler();
 fault=loginErrorHandler(); /public function callService():void{
var objParameters:Object=new Object();// Collect parameter to sendto HTTPService
 objParameters.code='MA';
 objParameters.pcode=TO
 // Additional parametersobjParameters.parameter1='value1';objParameters.parameter2='value2';

// send HTTPRequest
 myservice.send(objParameter);}

try putting all your parameter inside an object and use HTTPservices' send() method to pass this parameter to your backend code. 

Hope that helps,
-P



On 10/25/06, jbbec_fr [EMAIL PROTECTED] wrote:





Hi all,I am a newbie in flex and i apologize if my posts seem tobe dummies one...I want to populate a datagrid and i use HTTPService to do it.The url parameter is like this :url=""  href="http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?" target="_blank">
http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?code=MApcode=TOwhen i save the file i get an error :The reference to entity pcode must end with the ';' delimiter.can anyone help me ?
thyJB 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] HTTPService url problem

2006-10-25 Thread Dirk Eismann
use amp; instead of  in the URL (you have to escape this character in
MXML)

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of jbbec_fr
 Sent: Wednesday, October 25, 2006 3:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HTTPService url problem
 
 Hi all,
 I am a newbie in flex and i apologize if my posts seem tobe 
 dummies one...
 I want to populate a datagrid and i use HTTPService to do it.
 The url parameter is like this :
 url=http://testdrive.local.net/cgi-bin/get_warnings_data.cgi?
 code=MApcode=TO
 when i save the file i get an error :
 The reference to entity pcode must end with the ';' delimiter.
 
 can anyone help me ?
 
 thy
 
 JB
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/