An array of structures? Cause u won’t be able to bind a single struct to a datagrid…

 

Stace

 


From: [email protected] [mailto:[email protected]] On Behalf Of Ghislain Simard
Sent: Saturday, July 23, 2005 6:27 PM
To: [email protected]
Subject: >< [flexcoders] Re: update a list with new value from RemoteOject result

 

no..it's a structure.


--- In [email protected], "Stacy Young" <[EMAIL PROTECTED]>
wrote:
> Wait, ur using CF...is this a recordset ur returning? Try:
>

>
> ecranRO.affichage.result._items
>

>
> -Stace
>

>
> ________________________________
>
> From: [email protected]
[mailto:[email protected]] On
> Behalf Of Ghislain Simard
> Sent: Saturday, July 23, 2005 5:56 PM
> To: [email protected]
> Subject: [flexcoders] Re: update a list with new value from
RemoteOject
> result
>

>
> I can see the grid moving for inserting the value...but there is
no
> value text inside.
>
> --- In [email protected], "Stacy Young"
<[EMAIL PROTECTED]>
> wrote:
> > Try setting the result of the service call to a function...and
> have that
> > function set the dataprovider of ur grid.
> >
> > Would grab u an example from livedocs but seems to be down...
> >
> > 
> >
> > -Stace
> >
> > 
> >
> > ________________________________
> >
> > From: [email protected]
> [mailto:[email protected]] On
> > Behalf Of Ghislain Simard
> > Sent: Saturday, July 23, 2005 5:25 PM
> > To: [email protected]
> > Subject: [flexcoders] Re: update a list with new value from
> RemoteOject
> > result
> >
> > 
> >
> > The grid is not updated...
> >
> > --- In [email protected], "Stacy Young"
> <[EMAIL PROTECTED]>
> > wrote:
> > > Can u maybe explain the problem in more detail? Is the grid not
> > > updating?
> > >
> > > 
> > >
> > > -Stace
> > >
> > > 
> > >
> > > ________________________________
> > >
> > > From: [email protected]
> > [mailto:[email protected]] On
> > > Behalf Of Ghislain Simard
> > > Sent: Saturday, July 23, 2005 3:25 PM
> > > To: [email protected]
> > > Subject: [flexcoders] Re: update a list with new value from
> > RemoteOject
> > > result
> > >
> > > 
> > >
> > > I have no model.  I'm communicating to the RemoteObject
directly
> > see:
> > >
> > >         <mx:RemoteObject id="ecranRO" endpoint="@ContextRoot
> > > ()/flashservices/gateway" source="EEWizard3.cf.zone"
> > > fault="mx.core.Application.alert
> > (event.fault.faultstring, 'Error')">
> > >         <mx:method name="affichage"/>
> > >       </mx:RemoteObject>
> > >       <mx:HBox width="100%" height="100%"
verticalAlign="middle"
> > > horizontalAlign="center">
> > >         <mx:DataGrid id="myGrid"
> > > dataProvider="{ecranRO.affichage.result}" rowCount="2">
> > >           <mx:columns>
> > >             <mx:Array>
> > >               <mx:DataGridColumn columnName="Building_Zone_ID"
> > > headerText="Building Zone" />
> > >               <mx:DataGridColumn columnName="Description"
> > > headerText="Description"/>
> > >             </mx:Array>
> > >           </mx:columns>
> > >         </mx:DataGrid>
> > >
> > > --- In [email protected], "Stacy Young"
> > <[EMAIL PROTECTED]>
> > > wrote:
> > > > You could bind your result to a model and have your list and
> > > datagrid
> > > > bound to their specific model. Whenever the result is
received
> > > from the
> > > > server, the model will be updated...and in turn, your UI
> > > components.
> > > >
> > > > 
> > > >
> > > > HTH,
> > > >
> > > > Stace
> > > >
> > > > 
> > > >
> > > > ________________________________
> > > >
> > > > From: [email protected]
> > > [mailto:[email protected]] On
> > > > Behalf Of Ghislain Simard
> > > > Sent: Saturday, July 23, 2005 1:48 PM
> > > > To: [email protected]
> > > > Subject: [flexcoders] update a list with new value from
> > RemoteOject
> > > > result
> > > >
> > > > 
> > > >
> > > > Hi,
> > > > I have a list and a datagrid that I would like to update. 
How
> > to
> > > > update all the columns and refresh the DataGrid and List
> > > dynamically
> > > > using the RemoteObject result?  The idea is that I would
like
> to
> > > > insert in the list the new created record with his new ID
> > received
> > > > from the RemoteObject result.
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > > 
> > > >
> > > > *      Visit your group "flexcoders
> > > > <http://groups.yahoo.com/group/flexcoders> " on the web.
> > > >        
> > > > *      To unsubscribe from this group, send an email to:
> > > >       [EMAIL PROTECTED]
> > > > <mailto:[EMAIL PROTECTED]
> > > subject=Unsubscribe>
> > > >        
> > > > *      Your use of Yahoo! Groups is subject to the Yahoo!
> Terms
> > of
> > > > Service <http://docs.yahoo.com/info/terms/> .
> > > >
> > > > 
> > > >
> > > > ________________________________
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > > 
> > >
> > > *      Visit your group "flexcoders
> > > <http://groups.yahoo.com/group/flexcoders> " on the web.
> > >        
> > > *      To unsubscribe from this group, send an email to:
> > >       [EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]
> > subject=Unsubscribe>
> > >        
> > > *      Your use of Yahoo! Groups is subject to the Yahoo!
Terms
> of
> > > Service <http://docs.yahoo.com/info/terms/> .
> > >
> > > 
> > >
> > > ________________________________
> >
> >
> >
> >
> >
> > --
> > 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
> >
> > Computer software testing
> > <http://groups.yahoo.com/gads?
> t=ms&k=Computer+software+testing&w1=Comput
> >
>
er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+dev
> elo
> > per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg> 
> >
> > Macromedia flex
> > <http://groups.yahoo.com/gads?
> t=ms&k=Macromedia+flex&w1=Computer+softwar
> >
>
e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4
> &s=
> > 93&.sig=dAUcEV7do91-wrRtVS641g> 
> >
> > Development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Development&w1=Computer+software+te
> >
>
sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=9
> 3&.
> > sig=AlxNUQBOI7Io7S7nhmxV0Q> 
> >
> > Software developer
> > <http://groups.yahoo.com/gads?
> t=ms&k=Software+developer&w1=Computer+soft
> >
>
ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&
> c=4
> > &s=93&.sig=QWIit8JayomoIHLVkV3FDg> 
> >
> > 
> >
> > 
> >
> > 
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> > 
> >
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >        
> > *      To unsubscribe from this group, send an email to:
> >       [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe>
> >        
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> > 
> >
> > ________________________________
>
>
>
>
> --
> 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
>
> Computer software testing
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+testing&w1=Comput
>
er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+dev
elo
> per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg> 
>
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Computer+softwar
>
e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4
&s=
> 93&.sig=dAUcEV7do91-wrRtVS641g> 
>
> Development
> <http://groups.yahoo.com/gads?
t=ms&k=Development&w1=Computer+software+te
>
sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=9
3&.
> sig=AlxNUQBOI7Io7S7nhmxV0Q> 
>
> Software developer
> <http://groups.yahoo.com/gads?
t=ms&k=Software+developer&w1=Computer+soft
>
ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&
c=4
> &s=93&.sig=QWIit8JayomoIHLVkV3FDg> 
>

>

>

>
> ________________________________
>
> YAHOO! GROUPS LINKS
>

>
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>        
> *      To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>        
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>

>
> ________________________________





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




Reply via email to