[flexcoders] Re: [Beta3] I found error that is a sample class named MyCustomTreeDataDescripto

2006-06-07 Thread pepe_perez_perez_perez
I'm facing the same error: TreeModelChangedEvent TreeModelChangedEventDetail don't exist anymore. Haven't find anything in the documentation, any suggestion for this?. Thanks, Pepe. --- In flexcoders@yahoogroups.com, Bryan Choi [EMAIL PROTECTED] wrote: MyCustomTreeDataDescriptor implements

[flexcoders] Re: Form dataProvider

2006-04-05 Thread pepe_perez_perez_perez
Please disregard this, I'm feeling stupid. It was only a mx:Binding back to the ArrayCollection. Pepe. -- 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

[flexcoders] Form dataProvider

2006-04-04 Thread pepe_perez_perez_perez
Hi, I'd like to write this with a Form: mx:Form id=bookDetails label=Book Details dataProvider={bookDataGrid.selectedItem} mx:FormItem label=Title mx:TextInput id=title dataField=title/ /mx:FormItem /mx:Form which is the same that I can write for a DataGrid but for only one

[flexcoders] Re: Form dataProvider

2006-04-04 Thread pepe_perez_perez_perez
Thanks for the help but that is not what I am looking for. Perhaps I haven't explained myself correctly. What I want to hear, if possible, is something like: subclass mx:Form, add these properties, these events (I don't know exactly), etc.. What I am after is a component where a DataGrid and a

[flexcoders] Re: Tree hanging the virtual machine

2006-03-31 Thread pepe_perez_perez_perez
To follow up, just in case. If I replace NodoArbol (TreeNode in spanish) with Object, the VM did not hung and I got this exception: StackOverflowError: Error #1023: Stack overflow. at mx.collections::ArrayList/get length() at mx.collections::ArrayList/getItemAt() at

[flexcoders] Tree hanging the virtual machine

2006-03-30 Thread pepe_perez_perez_perez
Why this hangs the VM when clicking the button?. Thanks, Pepe. ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:Script import NodoArbol; import mx.controls.treeClasses.*; [Bindable] public var raiz :

[flexcoders] Re: Tree hanging the virtual machine

2006-03-30 Thread pepe_perez_perez_perez
What does NodoArbol look like? package { import mx.collections.ArrayCollection; public class NodoArbol { public function NodoArbol() { children = new ArrayCollection(); } public

[flexcoders] Re: Saving object graphs 2 (losing backreferences)

2006-03-28 Thread pepe_perez_perez_perez
Hi, Thanks for answering, this is driving me crazy. No, no lazy references: hibernate-mapping default-lazy=false Perhaps I'm trying to make this simpler than it is, but this is how I understand it. Books.mxml: ?xml version='1.0' encoding='iso-8859-1'? mx:Application

[flexcoders] Saving object graphs 2 (losing backreferences)

2006-03-25 Thread pepe_perez_perez_perez
Hi, I'm using data services with the JavaAdapter with the hierarchical values approach and I'm finding that when I invoke commit() from the client the object graph that I'm receiving in the server after the unmarshalling to Java is not what I'd expect. The original object graph that I sent to

[flexcoders] Saving object graphs

2006-03-23 Thread pepe_perez_perez_perez
Hi, I'm using data services with the JavaAdapter with the hierarchical values approach and I'm finding that when I invoke commit() from the client the object graph that I'm receiving in the server after the unmarshalling to Java is not what I'd expect. The original object graph that I sent to

[flexcoders] Re: Saving object graphs

2006-03-23 Thread pepe_perez_perez_perez
Can you try adding a reference to the Book type in your code somewhere... [Bindable] public var book : Book = new Book(); And, ¡bingo!, works perfectly. I don't know why I don't ask for help before. Have been with this 3 days. If that is the intended behaviour I'd report that as an error.