]
Nick Belaevski updated RF-6018:
-------------------------------
Fix Version/s: 3.3.1
panelMenu: Attribute iconCollapsedTopPosition invalid for tag
panelMenu (demo)
------------------------------------------------------------------------------
Key: RF-6018
URL:
https://jira.jboss.org/jira/browse/RF-6018
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3.0
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
Fix For: 3.3.1
For example:
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:loadBundle var="Message" basename="demo.Messages" />
<html>
<head>
<title>Hello!</title>
<style>
.cols{
vertical-align:top;
width:50%;
}
</style>
</head>
<body>
<f:view>
<h3><h:outputText value="#{Message.hello_message}" />,
<h:outputText value="#{user.name}" />!</h3>
<br/>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="cols"
width="100%">
<rich:panelMenu style="width:200px" mode="ajax"
iconExpandedGroup="disc" iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown"
iconCollapsedTopPosition="right" >
<rich:panelMenuGroup label="Group 1">
<rich:panelMenuItem label="Item 1.1"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 1.2"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 1.3"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 2">
<rich:panelMenuItem label="Item 2.1"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.2"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.3"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.3"/>
</rich:panelMenuItem>
<rich:panelMenuGroup label="Group 2.4">
<rich:panelMenuItem label="Item 2.4.1"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item
2.4.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.2"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item
2.4.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.3"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item
2.4.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuItem label="Item 2.5"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.5"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 3">
<rich:panelMenuItem label="Item 3.1"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.2"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.3"
action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
<rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="#{panelMenu.current} selected"
id="current"/>
</a4j:outputPanel>
</rich:panel>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
Actual result: exception "Attribute iconCollapsedTopPosition invalid for tag
panelMenu according to TLD".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: