Are you assigning a value to the tree using something like <x:tree2
value="#{foo}">?  Also the data needs to be wrapped in TreeNodeBase or
your own custom class that implements TreeNode but it sounds like you
are doing that.

Yes my "backer" class does that. I have also taken the backer class (TreeBacker.java) from the examples and used that. Still nothing displays.

My JSP is identical to tree2.jsp.

1.) Your tree has a rendered attribute of false

Where would this be set?

Regard,

Roger


Internet communications are not secure and therefore NOTiFY does not accept legal responsibility for the contents of this message. Although NOTiFY operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of NOTiFY. Replies to this email may be monitored by NOTiFY for operational or business reasons.


----- Original Message ----- From: "Sean Schofield" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>; "Roger Lee, NOTiFY" <[EMAIL PROTECTED]>
Sent: Friday, March 25, 2005 2:08 PM
Subject: Re: x:tree2



No error messages?  Hmm.  My guess is one of the following:

1.) Your tree has a rendered attribute of false
2.) Your tree has a value of null for its value attribute.

Neither of these cases generates a warning in the logs although that
might be a good idea?

Are you assigning a value to the tree using something like <x:tree2
value="#{foo}">?  Also the data needs to be wrapped in TreeNodeBase or
your own custom class that implements TreeNode but it sounds like you
are doing that.

sean


On Fri, 25 Mar 2005 11:45:44 -0000, Roger Lee, NOTiFY <[EMAIL PROTECTED]> wrote:
Using the example supplied with MyFaces I am trying to use the x:tree2
component.

I have taken the backing class which I used with Web Galileo and converted
it to use TreeNode.


The JSP gets called and my "breakpoints" are displayed in the JBoss console,
but no Tree is rendered or errors thrown.


Any pointers to what I should checking/looking for?

Thanks,

Roger Lee







Reply via email to