DropDownMenu rendered bad inside a Tab panel with 3.2.0.SR1 (works with 3.2.0.GA and
lower)
---------------------------------------------------------------------------------------------
Key: RF-3484
URL:
http://jira.jboss.com/jira/browse/RF-3484
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1
Environment: Windows XP, Internet Explorer 7
Reporter: Adrian Boici
I have one tabPanel with rwo Tabs (TAB1 and TAB2). TAB1 has defined a dropDownMenu. When
first time click on dropDownMenu, the things are ok. Then click on TAB2, then again on
TAB1. Now click dropDownMenu and move over its content. It is bad rendered. It is working
with version 3.2.0GA and lower but not with 3.2.0.SP1. See example:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:chart="http://sourceforge.net/projects/jsf-comp"
template="/templates/main.xhtml">
<ui:define name="title">Interface Explorer</ui:define>
<ui:define name="body">
<h:form>
<rich:tabPanel switchType="ajax" >
<rich:tab>
<f:facet name="label">
<h:panelGrid columns="2">
<h:graphicImage value="/images/isactivity.gif"/>
<h:outputText value="TAB1" />
</h:panelGrid>
</f:facet>
<h:panelGrid>
<rich:dropDownMenu>
<f:facet name="label">
<h:graphicImage value="/images/menu1.gif"/>
</f:facet>
<rich:menuGroup value="Property On Left">
<rich:menuItem submitMode="ajax" value="InOctets"
>
<f:facet name="icon">
<h:graphicImage value="/images/explorer.gif"/>
</f:facet>
</rich:menuItem>
<rich:menuItem submitMode="ajax"
value="InDiscards" >
<f:facet name="icon">
<h:graphicImage value="/images/explorer.gif"/>
</f:facet>
</rich:menuItem>
</rich:menuGroup>
<rich:menuGroup value="Property On Right">
<rich:menuItem submitMode="ajax" value="InOctets"
>
<f:facet name="icon">
<h:graphicImage value="/images/explorer.gif"/>
</f:facet>
</rich:menuItem>
<rich:menuItem submitMode="ajax"
value="InDiscards">
<f:facet name="icon">
<h:graphicImage value="/images/explorer.gif"/>
</f:facet>
</rich:menuItem>
</rich:menuGroup>
<rich:menuItem submitMode="ajax" value="800x600 Chart"
ajaxSingle="true"/>
</rich:dropDownMenu>
</h:panelGrid>
</rich:tab>
<rich:tab>
<f:facet name="label">
<h:panelGrid columns="2">
<h:graphicImage
value="/images/device16t3.gif"/>
<h:outputText value="TAB2" />
</h:panelGrid>
</f:facet>
</rich:tab>
</rich:tabPanel>
</h:form>
</ui:define>
</ui:composition>
--
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