Re: Invalid bit mask of 14

2005-08-26 Thread Sean Schofield
Sigh, This question keeps coming up. The error message is definitely cryptic and I will address that shortly. We changed the bitmask code that renders the navigation controls at the request of a user (http://issues.apache.org/jira/browse/MYFACES-350) who made a strong case for this. The old way

RE: Invalid bit mask of 14

2005-08-26 Thread Vo, Ky
treeData.getChildren().add(newNode); } --- in jsp --- Thx, -Ky -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 8:48 AM To: MyFaces Discussion Subject: Re: Invalid bit mask of 14 Yes there is a way but its a bit difficult to pull o

Re: Invalid bit mask of 14

2005-08-14 Thread Sean Schofield
Yes there is a way but its a bit difficult to pull off without something like Shale's prerender method. There is a expandAll method on the UITreeData but there's a catch. It can't be called until the tree has been populated with all of the model stuff. I can really see a way to have it as a *pro

Re: Invalid bit mask of 14

2005-08-12 Thread Enrique Medina
Umm, I'll take a look. Thanks :-)2005/8/12, Sean Schofield <[EMAIL PROTECTED]>: Martin's right.  This happens when HtmlTreeRenderer encounters anunexpected condition.  Most likely you are using your own instance ofTreeNode.isLeaf is just one of a few possible explanations.  It comes down to the fa

Re: Invalid bit mask of 14

2005-08-12 Thread Sean Schofield
Martin's right. This happens when HtmlTreeRenderer encounters an unexpected condition. Most likely you are using your own instance of TreeNode. isLeaf is just one of a few possible explanations. It comes down to the fact that you have an illogical set of results when the bitmask is calcualted d

Re: Invalid bit mask of 14

2005-08-12 Thread Martin Marinschek
See our faq on this: Q: I'm getting an exception "Invalid bit mask of ..." A: You are probably returning the incorrect value for the isLeaf method of the TreeNode interface. HTH, Martin On 8/12/05, Enrique Medina <[EMAIL PROTECTED]> wrote: > Hi, > > What the