dropDownMenu: labelClass attribute doesn't work
-----------------------------------------------
Key: RF-6554
URL:
https://jira.jboss.org/jira/browse/RF-6554
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3, IE6, IE7, Opera, Safari
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<html>
<head>
<title>Custom Component</title>
<style>
.labelClass1{
color:red;
}</style>
</head>
<body>
<f:view>
<h:form>
<h:panelGrid columns="2">
<rich:spacer width="400px"
height="400px"></rich:spacer>
<rich:panel>
<rich:dropDownMenu id="ddmId" value="DropDownMenu"
labelClass="labelClass1">
<rich:menuItem>
<h:outputText value="Item2" />
</rich:menuItem>
<rich:menuItem icon="#{dDMenu.icon}">
<h:outputText value="Item3" />
</rich:menuItem>
<rich:menuItem>
<h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
</rich:menuItem>
<rich:menuSeparator/>
<rich:menuItem icon="/pics/info.gif" value="action"
action="#{dDMenu.act}" reRender="cmInfoID">
</rich:menuItem>
<rich:menuItem icon="/pics/info.gif" value="actionListener"
actionListener="#{dDMenu.actListener}" reRender="cmInfoID">
</rich:menuItem>
</rich:dropDownMenu>
</rich:panel>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
Actual result: labelClass1 doesn't apply and labelClass is absent in View Source of
the page.
Expected result: labelClass1 should apply and labelClass should be present in View Source
of the page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira