its here

<mx:HTTPService id="stations_info_request"
url="http://web2/massmc/xml.php"; useProxy="false" method="POST"
showBusyCursor="true"
result="mx.controls.Alert.show(stations_info_request.lastResult.stationinfo.stations_formalname);"
fault="defaultFault(event)">




--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Where is line#124 of massmc.mxml?
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jason B
> Sent: Friday, April 25, 2008 11:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] ERROR #1010 datagrid getting lastrequest per
> search box
> 
>  
> 
> while i searched this error seems related somehow to a grid but yet im
> not sure what partically its complaining about?
> 
> The funny part is the error appears yet the data does to? everything
> seems working other then my annoying message about #1010 error?
> 
> 
> 
> <mx:HTTPService id="stations_info_request"
> url="http://web2/massmc/xml.php"; useProxy="false" method="POST"
> showBusyCursor="true"
> result="mx.controls.Alert.show(stations_info_request.lastResult.stationi
> nfo.stations_formalname);">
> <mx:request xmlns="">
>     <searchstation>
>         {searchstation.text}
>     </searchstation>    
> </mx:request>
>     
> </mx:HTTPService>
> 
> 
> <mx:ComboBox x="109" y="8" width="210" editable="true" enabled="true"
> id="searchstation"></mx:ComboBox>
> 
> <mx:Button x="254" y="90" label="Search"
> click="stations_info_request.send();"/>
> 
> <mx:DataGrid x="19" y="131" width="507"  id="searchgrid" height="142"
> click="tabnav_stations.selectedIndex=1;"
> dataProvider="{stations_info_request.lastResult.stationsearch.dataresult
> s}">
>                                 <mx:columns>
>                                     <mx:DataGridColumn heade!
> rText="Search Results 1 of 1 Found" dataField="col1"! />
>                                 </mx:columns>
>                             </mx:DataGrid>
> 
> 
> 
> 
> 
> XML PHP FILE
> 
> <?php 
> 
> header('Content-Type: text/xml');
> 
> if($_REQUEST['searchstation'] != ""){   echo "<stationsearch> \n
>    <dataresults> Search 1 of 2 ".$_REQUEST['searchstation']."
> </dataresults> \n
>    <dataresults> Search 2 of 2 ".$_REQUEST['searchstation']."
> </dataresults>  \n
>    </stationsearch>
>     ";
>     
>     
> return;
> }
> 
> ?>
> 
> 
> 
> 
> 
> 
> 
> TypeError: Error #1010: A term is undefined and has no properties.
>     at massmc/__stations_info_request_result()[C:\Documents and
> Settings\jason\My Documents\Flex Builder 3\massmc\src\massmc.mxml:124]
>     at flash.events::EventDispatcher/dispatchEventFunction()
>     at flash.events::EventDispatcher/dispatchEvent()
>     at
> mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal
> ::dispatchRpcEvent()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\htt
> p\mxml\HTTPService.as:275]
>     at mx.rpc! ::Abstra
> ctInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:
> \dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:191]
>     at
> mx.rpc::Responder/result()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\r
> pc\Responder.as:41]
>     at
> mx.rpc::AsyncRequest/acknowledge()[E:\dev\3.0.x\frameworks\projects\rpc\
> src\mx\rpc\AsyncRequest.as:74]
>     at Direc!
> tHTTPMessageResponder/completeHandler()[E:\dev\3.0.x\frameworks\projects
> \rpc\src\mx\messaging\channels\DirectHTTPChannel.as:381]
>     at flash.events::EventDispatcher/dispatchEventFunction()
>     at flash.events::EventDispatcher/dispatchEvent()
>     at flash.net::URLLoader/onComplete()
>


Reply via email to