[ 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

Reply via email to