Hi Capho -

Can I ask you to elaborate a bit more? Like, what error do you get 
(if any)? What do you expect vs what the actual output is?  How 
about a full example (include all files/classes and source where 
possible)

Bill

--- In [email protected], "sinacapho" <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>      I have some question about the data binding . I have write a
> custom component that get the user detail --> Login_detail Class. 
The
> Class if call some HTTPservice and then bind the result into a
> application HTTPservice . I have bind one custom component 
attribute
> to that service. But i find that the result is not what i have
> expected. Maybe it is because the custom object attribute have not 
set
> before the application httpservice is called. How i can solve 
this ?
> 
> thx
> capho
>      
>      
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> xmlns:shared="shared_comp.*" creationComplete="init_form();">
>       <mx:Script>
>               <![CDATA[
> 
>                       private function init_form():void{
>                               help_menu_show();
>                               if (user_object.uinfo.userId)
>                                       function_list_service.send();
>                               else
>                                       Alert.show("wait");
>                       }
> 
>               ]]>
>       </mx:Script>
>       <shared:Login_detail id="user_object" login_name="newuser1"/>
>               
>       <mx:HTTPService id="function_list_service" url="http://xx";
> method="POST" destination="DefaultHTTP">
>               <mx:request>
>                       <cUserId>{user_object.uinfo.userId}</cUserId>
>               </mx:request>
>       </mx:HTTPService>
>       
> 
>       
> </mx:Application>
>







--
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/
 


Reply via email to