[richfaces-issues] [JBoss JIRA] Updated: (RF-7808) rich:menuItem selected css not working when using rendered=false

Joseph Miller (JIRA) jira-events at lists.jboss.org
Fri Sep 4 01:54:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Miller updated RF-7808:
------------------------------

    Description: 
The rich-menu-item-selected CSS class isn't being set on the menu item when the mouse hovers over it, but only for the *second* (or subsequent) menu items if the *first* one has a 'rendered="false"' attribute set.

e.g.
            <rich:contextMenu id="calendar-ctx-menu" submitMode="none">
                <rich:menuItem id="ctx-confirm" value="Confirmed as attending" rendered="false"/>

                <rich:menuItem id="ctx-unconfirm" value="Unconfirm attendance" rendered="true"/>
            </rich:contextMenu>

If the first item is rendered=true, then it is highlighted correctly


  was:
            <rich:contextMenu id="calendar-ctx-menu" submitMode="none">
                <rich:menuItem id="ctx-confirm" value="Confirmed as attending"
                               rendered="false">
                    <f:facet name="icon"><h:graphicImage url="/img/check2.png"/></f:facet>
                </rich:menuItem>

                <rich:menuItem id="ctx-unconfirm" value="Unconfirm attendance"
                               rendered="true">
                    <f:facet name="icon"><h:graphicImage url="/img/undo.png"/></f:facet>
                </rich:menuItem>

            </rich:contextMenu>




> rich:menuItem selected css not working when using rendered=false
> ----------------------------------------------------------------
>
>                 Key: RF-7808
>                 URL: https://jira.jboss.org/jira/browse/RF-7808
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.2.CR1
>         Environment: Richfaces 3.3.2.CR1 / Seam 2.1.1 / JBoss 4.2 / JDK 1.6.0_13
>            Reporter: Joseph Miller
>
> The rich-menu-item-selected CSS class isn't being set on the menu item when the mouse hovers over it, but only for the *second* (or subsequent) menu items if the *first* one has a 'rendered="false"' attribute set.
> e.g.
>             <rich:contextMenu id="calendar-ctx-menu" submitMode="none">
>                 <rich:menuItem id="ctx-confirm" value="Confirmed as attending" rendered="false"/>
>                 <rich:menuItem id="ctx-unconfirm" value="Unconfirm attendance" rendered="true"/>
>             </rich:contextMenu>
> If the first item is rendered=true, then it is highlighted correctly

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

        


More information about the richfaces-issues mailing list