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{
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 send to HTTPService
// Collect parameter to send to HTTPService
objParameters.code='MA';
objParameters.pcode=TO
// Additional parameters
objParameters.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=MA&pcode=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
![]()
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
__,_._,___
- [flexcoders] HTTPService url problem jbbec_fr
- Re: [flexcoders] HTTPService url problem Prakaz
- RE: [flexcoders] HTTPService url problem Dirk Eismann
Reply via email to