[richfaces-svn-commits] JBoss Rich Faces SVN: r4682 - in branches/3.1.x: ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Dec 10 19:08:26 EST 2007
Author: nbelaevski
Date: 2007-12-10 19:08:25 -0500 (Mon, 10 Dec 2007)
New Revision: 4682
Modified:
branches/3.1.x/samples/simpleTogglePanel-sample/src/main/webapp/pages/index.jsp
branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
Log:
http://jira.jboss.com/jira/browse/RF-1571
Modified: branches/3.1.x/samples/simpleTogglePanel-sample/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/simpleTogglePanel-sample/src/main/webapp/pages/index.jsp 2007-12-10 23:36:27 UTC (rev 4681)
+++ branches/3.1.x/samples/simpleTogglePanel-sample/src/main/webapp/pages/index.jsp 2007-12-11 00:08:25 UTC (rev 4682)
@@ -162,6 +162,11 @@
</stp:simpleTogglePanel>
</stp:simpleTogglePanel>
+
+ <stp:simpleTogglePanel opened="true" switchType="client" label="Text only">
+ <h:outputText value="Just text!" />
+ </stp:simpleTogglePanel>
+
</f:view>
</body>
</html>
Modified: branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
===================================================================
--- branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2007-12-10 23:36:27 UTC (rev 4681)
+++ branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2007-12-11 00:08:25 UTC (rev 4682)
@@ -41,7 +41,6 @@
// body.firstChild.style.width=body.clientWidth;
} else {
Element.hide(body);
- body.firstChild.style.width="100%";
this.status="false";
switch_on.style.display="none";
switch_off.style.display="";
More information about the richfaces-svn-commits
mailing list