Author: Alex.Kolonitsky
Date: 2009-11-09 13:36:19 -0500 (Mon, 09 Nov 2009)
New Revision: 15858
Added:
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/images/home.png
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/pages/RF-7990.jsp
Log:
RF-7990 JS error when style attribute is set to rich:menuItem
Added:
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/images/home.png
===================================================================
(Binary files differ)
Property changes on:
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/images/home.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/pages/RF-7990.jsp
===================================================================
---
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/pages/RF-7990.jsp
(rev 0)
+++
branches/sandbox/3.3.X_JSF2/samples/dropdownmenu-sample/src/main/webapp/pages/RF-7990.jsp 2009-11-09
18:36:19 UTC (rev 15858)
@@ -0,0 +1,30 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/menu-components"
prefix="mc" %>
+<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/toolBar"
prefix="tb" %>
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
+ <title>RF-7990 Test Page </title>
+</head>
+<body>
+<f:view>
+ <h:form id="f">
+ <tb:toolBar id="t">
+ <mc:menuItem
+ id="item"
+ submitMode="server"
+ action="internalIndex"
+ style="color: red;"
+ styleClass="first">
+ <h:graphicImage value="/images/home.png"
styleClass="menuIcon"/>
+ <h:panelGroup styleClass="menuLabel">
+ <h:outputText value="Hello"/>
+ </h:panelGroup>
+ </mc:menuItem>
+ </tb:toolBar>
+ </h:form>
+</f:view>
+</body>
+</html>
\ No newline at end of file