How about

 

event.selectedItem.attributes.postcode?

 

I guess label works as its kind of native to the tree..

 

Mike.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972
Sent: 05 August 2005 13:09
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Dynamic Tree and VO's

 

try

event.selectedItem.postcode
or
event.selectedItem.POSTCODE
or
event.selectedItem['postcode']


--- In flexcoders@yahoogroups.com, "digital_eyezed"
<[EMAIL PROTECTED]> wrote:
> Sorry, that didn't work either.
>
> Any other ideas??
>
> --- In flexcoders@yahoogroups.com, João Fernandes
> <[EMAIL PROTECTED]> wrote:
> > Hi Iain,
> >
> > 
> >
> > Try with selectedNode instead selectedItem.
> >
> > 
> >
> > João Fernandes
> >
> > Secção de Desenvolvimento
> >
> > Departamento de Informática
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
> > Sent: sexta-feira, 5 de Agosto de 2005 12:03
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Dynamic Tree and VO's
> >
> > 
> >
> > Hi,
> >
> > I have a tree which is populated (through the dataProvider) from
a
> > returned array of VO's from a RemoteObject Call. Within the VO
is
> a
> > number of attributes, two of the attributes are called data and
> label.
> > The tree shows ok. I want to be able to extract the other
> attributes
> > that are associated with this selectedItem and can't seem to get
> the
> > data out. How do I do this? For example, another attribute is
> > call 'postcode' so I tried to use change="myVariable =
> > event.selectedItem.getProperty('postcode')" but this did not
work,
> > although if I change the 'postcode' to 'label' then I get the
> label.
> >
> > Can you help?
> >
> > Regards,
> >
> > Iain
> >
> >
> >
> >
> > --
> > 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:flexcoders-
> [EMAIL PROTECTED]>
> >        
> > *      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