[richfaces-issues] [JBoss JIRA] Created: (RF-1251) PanelMenu items are not rendered correctly on first refresh

Colin Bosman (JIRA) jira-events at lists.jboss.org
Fri Oct 26 06:38:11 EDT 2007


PanelMenu items are not rendered correctly on first refresh
-----------------------------------------------------------

                 Key: RF-1251
                 URL: http://jira.jboss.com/jira/browse/RF-1251
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.0
         Environment: Windows XP / Internet Explorer 7
            Reporter: Colin Bosman


I'm using JBoss RichFaces in the latest JBoss Seam version (2.0.0.CR3) and when I create a PanelMenu with a PanelMenuItem in it with the attribute:

rendered="#{not s:hasRole('manager')}"

and the PanelMenu also has another PanelMenuItem with a logout link in it, which after logging the user out, refers the user to the home page.

When I'm already on that home page and I'm logged in as manager, the first item is not rendered, which is correct. After I click the logout link, which means that I'm not a manager anymore, then the first item still isn't being rendered, which is not correct. Only after I go to another page (or just a refresh), the first item is rendered correctly.

I think the same is true for groups within PanelMenu by the way.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list