Author: Alex.Kolonitsky
Date: 2009-07-14 07:23:13 -0400 (Tue, 14 Jul 2009)
New Revision: 14919
Added:
branches/community/3.3.X/samples/simpleTogglePanel-sample/src/main/webapp/pages/RF-7518.jsp
Log:
SimpleTogglePanel generates empty display/height/width style attribute
https://jira.jboss.org/jira/browse/RF-7518
Added:
branches/community/3.3.X/samples/simpleTogglePanel-sample/src/main/webapp/pages/RF-7518.jsp
===================================================================
---
branches/community/3.3.X/samples/simpleTogglePanel-sample/src/main/webapp/pages/RF-7518.jsp
(rev 0)
+++
branches/community/3.3.X/samples/simpleTogglePanel-sample/src/main/webapp/pages/RF-7518.jsp 2009-07-14
11:23:13 UTC (rev 14919)
@@ -0,0 +1,29 @@
+<%@ 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/simpleTogglePanel"
prefix="stp" %>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j" %>
+<html>
+<head>
+ <title>RF-2195</title>
+</head>
+
+<body>
+ <f:view>
+ <h:form id="SimpleToglePanel_form">
+ <stp:simpleTogglePanel
+ label="STP"
+ switchType="ajax"
+ reRender="out"
+ action="#{simpleBean.changeLabel}"
+ width="100px"
+ height="100px"
+ >
+
+ <h:outputText value="content"/>
+ </stp:simpleTogglePanel>
+ <h:outputText value="#{simpleBean.property}"
id="out"/>
+ </h:form>
+ <a4j:log popup="false"/>
+ </f:view>
+</body>
+</html>
\ No newline at end of file