Using panelNavigation2 and navigationMenuItems with JSF RI cause a
java.lang.IllegalStateException.
---------------------------------------------------------------------------------------------------
Key: TOMAHAWK-161
URL: http://issues.apache.org/jira/browse/TOMAHAWK-161
Project: MyFaces Tomahawk
Type: Bug
Components: Panel Navigation2
Versions: 1.1.2-SNAPSHOT, 1.1.1
Environment: JSF RI.
Reporter: Adrian Perez Jorge
Fix For: 1.1.2-SNAPSHOT
Using panelNavigation2 and navigationMenuItems with JSF RI causes this
exception to be thrown:
java.lang.IllegalStateException: Parent was not null, but this component not
related
...
Read people asking about this issue at:
http://forum.java.sun.com/thread.jspa?threadID=706057
I think the problem is HtmlNavigationMenuRenderer because it calls
setParent() before adding the new item as a child. I believe that even calling
setParent is wrong as stated by specs (see 3.1.7 of jsf-1_1-mr-spec.pdf).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira