Martin Wittemann wrote: > > If you bind the two model properties as you did in that code sample. > You dont have two models. You only have one model and both, the store > and the controller does have a reference to the same model all the time. >
OK, I see. Martin Wittemann wrote: > > The TreeVirtual is currently not supported by the data binding. I hope > you know that? So that the TreeVirtual has its own model is if you > take the widget for itself necessary. But if you want to use the data > binding, you would have two models which is not as useful as the > widget and the model was without the binding. > I know that, that is why I am trying to write adapters for the TreeVirtual on one hand, and the JsonRpc backend, on the other. Martin Wittemann wrote: > > So the general idea would be, that the store loads the data in some > kind of qooxdoo objects. To create those, you can use the JSON > marshaler, which can create qooxdoo classes and instances from JSON > data. After that, you can take this created model and use it as model > for a controller e.g. a tree controller. That way, you dont event have > to write your own controller. > Hm... the problem is that I work with potentially huge trees and I need TreeVirtuals data columns. I cannot use the "normal" tree for this. So I need to write a controller for TreeVirtual one way or the other. But thanks for the input, let's see if I understood the concept somewhat better. Christian -- View this message in context: http://www.nabble.com/JsonRpc-data-stor-tp23498199p23502147.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
