try itemDetailController.myData.yourVariable

--- In [email protected], "Doodi, Hari - BLS CTR" 
<[EMAIL PROTECTED]> wrote:
> Thanks for concern, but my problem is how to bind the value 
returned from
> method (in this case mySomeVO) to model so that I can bind the 
model
> attributes to Form controls OR some other mechanism of binding.
> 
> Ps: As I said in my earlier mail I am able to see values of 
returned VO
> object attributes in Network Monitor pane.
> 
> Thanks!
> Hari
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Ghislain Simard
> Sent: Friday, September 30, 2005 10:49 AM
> To: [email protected]
> Subject: [flexcoders] Re: RemoteObject result
> 
> Try using the NetConnectionDebugger available in your Flex 
> installation directory in the folder.  That's what I use to see my 
> values before getting them diplayed in my Flex apps.
> 
> --- In [email protected], "Doodi, Hari - BLS CTR" 
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> >             Can some one help me out to do the following. I am 
> making a
> > remoteobject call on a java class which returns a java VO 
> populated with
> > values. I did created a mxml file with Form in it. Form has 
> textinput
> > controls matching VO attributes. Now my question is how to see 
> values when I
> > run the mxml file?
> > 
> >  
> > 
> > I tried following methods but not successes. Please any help 
> appreciated.
> > 
> > Method 1
> > 
> >             <mx:RemoteObject id="itemDetailController"
> > 
> 
source="gov.bls.ppi.janus.repricing.manageitems.controllers.ItemDetai
> lContro
> > ller" showBusyCursor="true">
> > 
> >             <mx:method name="getItemTerms"
> > result="myData=event.result;searchIdx()"
> > fault="showError(event.fault.faultString)">
> > 
> >                         <mx:arguments>
> > 
> >                                     <arg1>itemsid</arg1>
> > 
> >                                     <arg2>indRefMonth</arg2>
> > 
> >                                     <arg3>monthNum</arg3>
> > 
> >                         </mx:arguments>                      
> > 
> >             </mx:method>
> > 
> >   </mx:RemoteObject>
> > 
> >  
> > 
> > where myData is declared as follows
> > 
> > <mx:Script>
> > 
> > <![CDATA[
> > 
> >             var myData:Object;                    
> > 
> > ]]>
> > 
> > </mx:Script>
> > 
> >  
> > 
> > and tried to bind attributes to form controls as follows
> > 
> > <mx:TextInput id="sizeoforder" 
text="{myDatal.size_of_order_desc}"
> > width="300" textAlign="left"/>
> > 
> >  
> > 
> > I also tried using model instead of action script variable
> > 
> > <mx:Model id="termsModel">
> > 
> >             <type_of_buyer_code />
> > 
> >             <type_of_buyer_detail />
> > 
> >             <contract_terms_desc />
> > 
> >             <size_of_shipment_desc />
> > 
> >             <size_of_order_desc />
> > 
> >   </mx:Model>
> > 
> >  
> > 
> > and changed the remoteobject as follows
> > 
> >  
> > 
> > <mx:method name="getItemTerms" 
> result="termsModel=event.result;searchIdx()"
> > fault="showError(event.fault.faultString)">
> > 
> >                         <mx:arguments>
> > 
> >                                     <arg1>itemsid</arg1>
> > 
> >                                     <arg2>indRefMonth</arg2>
> > 
> >                                     <arg3>monthNum</arg3>
> > 
> >                         </mx:arguments>                      
> > 
> >             </mx:method>
> > 
> > and Form element as follows
> > 
> > <mx:TextInput id="sizeoforder" 
> text="{termsModel.size_of_order_desc}"
> > width="90" textAlign="left"/>
> > 
> >  
> > 
> > Still I could not see the data on screen, but I do able to see 
> data on
> > Network Monitor. 
> > 
> > Please help me out from this high priority task for me. 
> > 
> > Thanks! 
> > Hari
> 
> 
> 
> 
> 
> --
> 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




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

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