Follow up:

I tried makig the Date field private in my value object.  It still
shows up as a tree node, and an alert call that references it still
shows the data!  So much for privacy!

--- In [email protected], "ninjascience" <[EMAIL PROTECTED]> wrote:
>
> m using an array of ValueObjects that contain arrays of ValueObjects
> as a DataProvider for a tree component.  Everything was working just
> fine until I added a Date field to one of my Value objects.  Now the
> tree thinks that they should be nodes on the tree.
> 
> My VOs are like this
> 
> CategoryVO
>  title:String
>  id:Number
>  arItems:Array
> 
> ItemVO
>  name:String
>  id:Number
>  start:Date
> 
> I want my tree to look like this
> 
> +SomeCategory
> ++Item A
> ++Item B
> +OtherCategory
> ++Item C
> ++Item D
> 
> but it looks like this...
> +SomeCategory
> ++Item A
> +++[object Object], 1, , Fri Nov 4 00:00:00 GMT-0800 2005, null
> ++Item B
> +++[object Object], 1, , Fri Nov 4 00:00:00 GMT-0800 2005, null
> +OtherCategory
> ++Item C
> +++[object Object], 1, , Fri Nov 4 00:00:00 GMT-0800 2005, null
> ++Item D
> +++[object Object], 1, , Fri Nov 4 00:00:00 GMT-0800 2005, null
> 
> Is there anyway to specifiy which objects get included as tree nodes
> and which dont?  I want to add a third level of composition within
> each Item node.
> thanks,
> --
> Ryan P. Miller
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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