Author: tromanovich
Date: 2008-11-14 07:12:04 -0500 (Fri, 14 Nov 2008)
New Revision: 11165
Modified:
trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml
trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBarProperty.jsp
Log:
Add width and height attributes to test
Modified: trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml 2008-11-14
10:26:33 UTC (rev 11164)
+++
trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml 2008-11-14
12:12:04 UTC (rev 11165)
@@ -23,6 +23,16 @@
<f:selectItem itemLabel="grid" itemValue="grid" />
<a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
</h:selectOneRadio>
+
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{toolBar.width}">
+ <a4j:support event="onchange" reRender="toolBarId" />
+ </h:inputText>
+
+ <h:outputText value="Height:"></h:outputText>
+ <h:inputText value="#{toolBar.height}">
+ <a4j:support event="onchange" reRender="toolBarId" />
+ </h:inputText>
<h:outputText value="Switch Styles" />
<a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
Modified: trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBarProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBarProperty.jsp 2008-11-14
10:26:33 UTC (rev 11164)
+++ trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBarProperty.jsp 2008-11-14
12:12:04 UTC (rev 11165)
@@ -23,6 +23,16 @@
<f:selectItem itemLabel="grid" itemValue="grid" />
<a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
</h:selectOneRadio>
+
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{toolBar.width}">
+ <a4j:support event="onchange" reRender="toolBarId" />
+ </h:inputText>
+
+ <h:outputText value="Height:"></h:outputText>
+ <h:inputText value="#{toolBar.height}">
+ <a4j:support event="onchange" reRender="toolBarId" />
+ </h:inputText>
<h:outputText value="Switch Styles (check contentClass and
separatorClass)" />
<a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
Show replies by date