[richfaces-issues] [JBoss JIRA] Updated: (RF-10153) rich:panelMenu Strange indention than using as links container
Alex Kolonitsky (JIRA)
jira-events at lists.jboss.org
Fri Jan 28 09:08:39 EST 2011
[ https://issues.jboss.org/browse/RF-10153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Kolonitsky updated RF-10153:
---------------------------------
Due Date: 04/Feb/11
> rich:panelMenu Strange indention than using as links container
> --------------------------------------------------------------
>
> Key: RF-10153
> URL: https://issues.jboss.org/browse/RF-10153
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.Milestone4
> Environment: Windows 7-64, GAE 1.4.0, local mode, Java(TM) SE Runtime Environment (build 1.6.0_22-b04),
> Reporter: Ara Minosian
> Assignee: Alex Kolonitsky
> Labels: richfaces
> Fix For: 4.0.0.CR1
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg
>
>
> I try use RichFaces in my own project and panelMenu is looking as most convenient way to make admin panel for me. Now I can use panel menu just for switching between pages by links. But I've got some styling issues. I am new in RichFaces, so I decided to do my project on the basis of RichFaces showcase.
> Please, see the code
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j">
> <ui:composition template="/templates/main-user.xhtml">
> <ui:define name="body">
> <rich:panel>
> <f:facet name="header">
> <h:outputText value="Административная панель"/>
> </f:facet>
> <h:panelGrid columns="2">
> <rich:panelMenu style="width:200px" mode="ajax" groupMode="ajax"
> iconExpandedGroup="disc" iconCollapsedGroup="disc"
> iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
> iconCollapsedTopGroup="chevronDown"
> >
> <rich:panelMenuGroup label="Базы данных">
> <rich:panelMenuItem name="Item_1_1">
> <h:link outcome="admin" value="Загрузка абзацев с сервера"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_1_2">
> <h:link outcome="admin" value="Тесты абзацев"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_1_3">
> <h:link outcome="admin" value="Создать главы"/>
> </rich:panelMenuItem>
> </rich:panelMenuGroup>
> <rich:panelMenuGroup label="Подсказки">
> <rich:panelMenuItem name="Item_2_1">
> <h:link outcome="admin" value="Загрузка подсказок с сервера"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_2_2">
> <h:link outcome="admin" value="Тесты подсказок"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_2_3">
> <h:link outcome="admin" value="Создать подсказки"/>
> </rich:panelMenuItem>
> </rich:panelMenuGroup>
> <rich:panelMenuGroup label="Документы">
> <rich:panelMenuItem name="Item_3_1">
> <h:link outcome="admin" value="Загрузка документов с сервера"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_3_2">
> <h:link outcome="admin" value="Тесты документов"/>
> </rich:panelMenuItem>
> <rich:panelMenuItem name="Item_3_3">
> <h:link outcome="admin" value="Создать документы"/>
> </rich:panelMenuItem>
> </rich:panelMenuGroup>
> </rich:panelMenu>
> <rich:panel>
> <f:facet name="header">
> <h:outputText value="Загрузка глав с сервера"/>
> </f:facet>
> Здесь сегодня будет загрузка глав с локального сервера...
> </rich:panel>
> </h:panelGrid>
> </rich:panel>
> </ui:define>
> </ui:composition>
> </html>
> As you can see all panelMenuItem are similar, but picture that I have in browser are in attachment.
> Indention is going to be bigger in every next group!
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list