You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adrian Perez Jorge (JIRA)" <de...@myfaces.apache.org> on 2006/02/28 17:38:42 UTC
[jira] Created: (TOMAHAWK-161) Using panelNavigation2 and
navigationMenuItems with JSF RI cause a java.lang.IllegalStateException.
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
[jira] Updated: (TOMAHAWK-161) Using panelNavigation2 and
navigationMenuItems with JSF RI cause a java.lang.IllegalStateException.
Posted by "Bruno Aranda (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-161?page=all ]
Bruno Aranda updated TOMAHAWK-161:
----------------------------------
Status: Resolved (was: Patch Available)
Fix Version: 1.1.4-SNAPSHOT
Resolution: Fixed
Assign To: Bruno Aranda
I have applied your patch, thanks!!
That said, the panelNavigation2 still will not work in the RI due to the fact that t:commandNavigation is based in t:commandLink...
> 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, NavigationMenuItem
> Versions: 1.1.2-SNAPSHOT, 1.1.1
> Environment: JSF RI.
> Reporter: Adrian Perez Jorge
> Assignee: Bruno Aranda
> Fix For: 1.1.4-SNAPSHOT
> Attachments: panelNav2fix.patch
>
> 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
[jira] Updated: (TOMAHAWK-161) Using panelNavigation2 and
navigationMenuItems with JSF RI cause a java.lang.IllegalStateException.
Posted by "Anonymous (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-161?page=all ]
updated TOMAHAWK-161:
----------------------
> 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
> Attachments: panelNav2fix.patch
>
> 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