[richfaces-issues] [JBoss JIRA] (RF-13157) rich:dropDownMenu under rich:accordion cannot work

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Sep 3 15:37:04 EDT 2013


    [ https://issues.jboss.org/browse/RF-13157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800834#comment-12800834 ] 

Brian Leathem edited comment on RF-13157 at 9/3/13 3:36 PM:
------------------------------------------------------------

uh...ok, so I'll need to write my own css to solve the rich:dropDownMenu inside.

The other issue is about the rich:accordion height.
I found the height of my "selected" rich:accordionItem will be 20px smaller than others,
that cause the content of them cannot display completely. 
Is this is a bug?

I'm using dynamic rich:accordionItem ... is any more settings I'll need to add?
Thanks.

Following is my code:
{code}
<rich:accordion  switchType="client" activeItem="#{componentNavigator.currentComponent.group}" 
	itemContentClass="main_menu_context" >
	<c:forEach items="#{customizeMainMenu.menuBarItemsList}" var="panels">
	  <ui:include src="/tool/menuItems.xhtml" />
	</c:forEach>
</rich:accordion>

Inside menuItems.xhtml:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	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:s="http://jboss.org/schema/seam/taglib"
	xmlns:rich="http://richfaces.org/rich">

	<rich:accordionItem title="#{id}" id="#{id}" name="#{id}"
		rendered="#{componentNavigator.isPanelBarAllowed.get(renderPath)}"> 
		<f:facet name="header">
			...
		</f:facet>
		... 		
	</rich:accordionItem>

</ui:composition>
{code}
                
      was (Author: dlee606):
    uh...ok, so I'll need to write my own css to solve the rich:dropDownMenu inside.

The other issue is about the rich:accordion height.
I found the height of my "selected" rich:accordionItem will be 20px smaller than others,
that cause the content of them cannot display completely. 
Is this is a bug?

I'm using dynamic rich:accordionItem ... is any more settings I'll need to add?
Thanks.

Following is my code:
<rich:accordion  switchType="client" activeItem="#{componentNavigator.currentComponent.group}" 
	itemContentClass="main_menu_context" >
	<c:forEach items="#{customizeMainMenu.menuBarItemsList}" var="panels">
	  <ui:include src="/tool/menuItems.xhtml" />
	</c:forEach>
</rich:accordion>

Inside menuItems.xhtml:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	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:s="http://jboss.org/schema/seam/taglib"
	xmlns:rich="http://richfaces.org/rich">

	<rich:accordionItem title="#{id}" id="#{id}" name="#{id}"
		rendered="#{componentNavigator.isPanelBarAllowed.get(renderPath)}"> 
		<f:facet name="header">
			...
		</f:facet>
		... 		
	</rich:accordionItem>

</ui:composition>
                  
> rich:dropDownMenu under rich:accordion cannot work
> --------------------------------------------------
>
>                 Key: RF-13157
>                 URL: https://issues.jboss.org/browse/RF-13157
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>    Affects Versions: 4.3.3
>         Environment: Richfaces4.3.3 / CentOS6 / FireFox
>            Reporter: David Lee
>            Assignee: Pavol Pitonak
>              Labels: waiting_on_user
>
> When I tried to put rich:dropDownMenu under rich:accordion,
> the side menu item cannot display on the right hand side.
> Please see the image of trouble screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list