[JBoss JIRA] Created: (RF-10153) rich:panelMenu Strange indention than using as links container
by Ara Minosian (JIRA)
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
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 inclusion.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (RF-10163) inplaceSelect: showPopup js API works wrong with default label
by Ilya Shaikovsky (JIRA)
inplaceSelect: showPopup js API works wrong with default label
--------------------------------------------------------------
Key: RF-10163
URL: https://issues.jboss.org/browse/RF-10163
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone5
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
1)
<rich:inplaceSelect defaultLabel="Click here to edit"
openOnEdit="true" id="ii">
<f:selectItem itemValue="0" itemLabel="Option 1" />
<f:selectItem itemValue="1" itemLabel="Option 2" />
<f:selectItem itemValue="2" itemLabel="Option 3" />
<f:selectItem itemValue="3" itemLabel="Option 4" />
<f:selectItem itemValue="4" itemLabel="Option 5" />
</rich:inplaceSelect>
<h:commandButton value="set" onclick="#{rich:component('ii')}.showPopup(); return false;"/>
After clicking the button - the component not goes to edit state. but popup appears.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months