You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by rosalba bochicchio <ro...@yahoo.it> on 2005/10/21 12:02:00 UTC

PROBLEMS WITH TREE2

I'm using myfaces 1.0.9. I have a problem with
tree2...when I click on one of the nodes, I want to
view a new page. But the click on the node generates
the following error:

java.lang.IllegalArgumentException: Node with id 0:1.
Failed to parse 0:1
	at
org.apache.myfaces.custom.tree2.TreeModel.getNodeById(Ljava.lang.String;)Lorg.apache.myfaces.custom.tree2.TreeNode;(TreeModel.java:153)
	at
org.apache.myfaces.custom.tree2.TreeModel.setNodeId(Ljava.lang.String;)V(TreeModel.java:71)
	at
org.apache.myfaces.custom.tree2.UITreeData.setNodeId(Ljava.lang.String;)V(UITreeData.java:290)
	at
org.apache.myfaces.custom.tree2.HtmlTree.setNodeId(Ljava.lang.String;)V(HtmlTree.java:80)
	at
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.decode(Ljavax.faces.context.FacesContext;Ljavax.faces.component.UIComponent;)V(HtmlTreeRenderer.java:104)
	at
javax.faces.component.UIComponentBase.decode(Ljavax.faces.context.FacesContext;)V(UIComponentBase.java:305)
	at
org.apache.myfaces.custom.tree2.UITreeData.processDecodes(Ljavax.faces.context.FacesContext;)V(UITreeData.java:139)
	at
org.apache.myfaces.custom.tree2.HtmlTree.processDecodes(Ljavax.faces.context.FacesContext;)V(HtmlTree.java:91)
	at
javax.faces.component.UIComponentBase.processDecodes(Ljavax.faces.context.FacesContext;)V(UIComponentBase.java:407)
	at
javax.faces.component.UIComponentBase.processDecodes(Ljavax.faces.context.FacesContext;)V(UIComponentBase.java:407)
	at
javax.faces.component.UIViewRoot.processDecodes(Ljavax.faces.context.FacesContext;)V(UIViewRoot.java:151)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(Ljavax.faces.context.FacesContext;)Z(LifecycleImpl.java:177)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(Ljavax.faces.context.FacesContext;)V(LifecycleImpl.java:87)
	at
javax.faces.webapp.FacesServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FacesServlet.java:109)
	at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
	at
weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
	at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(ExtensionsFilter.java:112)
	at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6458)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
	at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
	at
weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
	at
weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
	at
weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
	at
java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
Source

Anyone can help me?

Rosalba


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com