hello renzo, within your bean you can use e.g.: private RowKeySet selection; //+getter and setter
to provide a default selection - e.g.: selection = new RowKeySetTreeImpl(); //+ specify your selection to display the (changed) selection of the user: selection.clear(); selection.add(); @selectionListener: see [1] regards, gerhard [1] http://www.nabble.com/-Trinidad--signature-of-method-for-selectionListener-on-a-tree-to14950886.html#a14950886 2008/3/17, Renzo Tomaselli <[EMAIL PROTECTED]>: > > Hi, I wonder about the meaning of "selection" in case of tr:tree. > Whatever I do on tree nodes - the bound component always reports an > empty set through getSelectedRowKeys(), as well as the selectionListener > is never called upon a node action. > What is selection presumed to do ? > Is there any way to detect a selected node upon any action, without the > selection itself going through a full request cycle ? > Thanks -- Renzo > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

