would you please also consider adding an Ajax capability to Tree2 ? (beside server mode and client mode)
there is a cool post from Rick Hightower how to use dojo and tree2 (or was it tree) -Matthias
regards On 10/4/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Hi *, > > I'm reviewing the tree2 currently, and I was wondering if we could > have a discussion about some of the concepts. > > First thing I'd like to discuss is what happens with selected nodes. > Currently, selecting a node fires an action-listener. This is somewhat > ok, but I believe the selection-model of a tree should rather be a > list of values, stored at a useful place. Therefore, the tree should > implement the EditableValueHolder-interface, then we could do a lot > more with the values of the tree as well. > > The change would necessitate to move the current "value" attribute to > some other name - I suppose the name "model" would be more appropriate > anyways (I've never understood why a dataTable has a > "value"-attribute, by the way, the semantics for the value-attribute > are generally quite different). > > Additionally, the tree is doing a lot with respect to the markup of > the component. I'm not sure if this is useful as very large HTML-bases > result from this. I suspect it would be better to only transfer the > data-model to the client (and maybe templates for each node-type), and > then render the nodes on the client dynamically. > > Thoughts? > > regards, > > Martin > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > -- Arash Rajaeeyan
-- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com