but you can start to provide that option to tree2. this is open source :-)
@ADF: well it is not in incubator because it is buggy and not stable or things like that. there are some other issues to solve in a "open community" IP iusses, interest form users, committer (aka community) those things are same interest in Apache. It is not only an opend source code. On 6/8/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
tree2 doesn't support multiple columns, that's why I can't use it. Oracle's ADF donation is only in incubation and not a solid option at this point. Thanks, --Todd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, June 08, 2006 10:05 AM To: MyFaces Discussion Subject: Re: What is the purpose of the HtmlTree method addToModelListeners? You should use tree2 - mentioned before - or look at Oracle's ADF donation. well, a debugger might help you in figuring out what's wrong. -Matthias On 6/8/06, Todd Patrick <[EMAIL PROTECTED]> wrote: > > > If I add the line: > > tree.addToModelListeners(); > > To the following: > > HtmlTree tree = (HtmlTree) > application.createComponent("org.apache.myfaces.HtmlTree"); > tree.setRendererType("org.apache.myfaces.HtmlTree"); > tree.setId("tree"); > ValueBinding vb = > application.createValueBinding("#{tbrowser.treeModel}"); > tree.setValueBinding("value", vb); > tree.setVar("treeItem"); > tree.setStyleClass("tree"); > tree.setNodeClass("treenode"); > tree.setRowClasses("a, b"); > tree.setColumnClasses("col1, col12"); > tree.setSelectedNodeClass("treenodeSelected"); > tree.addToModelListeners(); > panel.getChildren().add(tree); > > I still get the same NullPointerException error when I don't have the > call to addToModeListeners. > > This is frustrating beyond belief... it's so unproductive, it's not > funny anymore. > > "I've lost the entire week with baby steps all due to the lack of > proper tutorials and documentation on Tomahawk." > > --Todd > > ________________________________ > From: Todd Patrick [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 9:33 AM > To: MyFaces Discussion > Subject: What is the purpose of the HtmlTree method addToModelListeners? > > > > There is no documentation at > http://myfaces.apache.org/tomahawk/apidocs/index.html for HtmlTree > method addToModelListeners. > > Right now I am receiving the following error: > > Caused by: java.lang.NullPointerException at > org.apache.myfaces.custom.tree.HtmlTree.addToModelListeners(HtmlTree.j > ava:806) > > Thanks, > > --Todd > > -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
-- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com