JBoss Rich Faces SVN: r9353 - trunk/test-applications/jsp/src/main/webapp/SuggestionBox.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 05:01:43 -0400 (Wed, 02 Jul 2008)
New Revision: 9353
Modified:
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-07-02 08:40:17 UTC (rev 9352)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-07-02 09:01:43 UTC (rev 9353)
@@ -4,160 +4,173 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="suggestionboxPropertySubviewID">
- <h:panelGrid columns="2" cellpadding="5px">
- <h:outputText value="ajaxSingle"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="bgcolor"></h:outputText>
- <h:selectOneMenu value="#{sb.bgColor}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:selectOneMenu>
-
- <h:commandButton id="bindingButtonID" actionListener="#{sb.checkBinding}" value="binding & param" />
- <h:outputText value="#{sb.bindLabel}" />
-
- <h:outputText value="border"/>
- <h:inputText value="#{sb.border}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="bypassUpdates"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.bypassUpdates}" onchange="submit();"/>
-
- <h:outputText value="cellpadding"/>
- <h:inputText value="#{sb.cellpadding}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2" cellpadding="5px">
+ <h:outputText value="ajaxSingle"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ajaxSingle}" onchange="submit();"></h:selectBooleanCheckbox>
- <h:outputText value="cellspacing"/>
- <h:inputText value="#{sb.cellspacing}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="dir"></h:outputText>
- <h:selectOneMenu value="#{sb.dir}">
- <f:selectItem itemLabel="RTL" itemValue="RTL" />
- <f:selectItem itemLabel="LTR" itemValue="LTR" />
- </h:selectOneMenu>
-
- <h:outputText value="first" />
- <h:inputText value="#{sb.first}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="frame"></h:outputText>
- <h:selectOneMenu value="#{sb.frame}">
- <f:selectItem itemLabel="void" itemValue="void" />
- <f:selectItem itemLabel="above" itemValue="above" />
- <f:selectItem itemLabel="below" itemValue="below" />
- <f:selectItem itemLabel="hsides" itemValue="hsides" />
- <f:selectItem itemLabel="lhs" itemValue="lhs" />
- <f:selectItem itemLabel="rhs" itemValue="rhs" />
- <f:selectItem itemLabel="vsides" itemValue="vsides" />
- <f:selectItem itemLabel="box" itemValue="box" />
- <f:selectItem itemLabel="border " itemValue="border " />
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="frequency"/>
- <h:inputText value="#{sb.frequency}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="height"/>
- <h:inputText value="#{sb.height}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="ignoreDupResponses"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.ignoreDupResponses}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="immediate"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="minChars"/>
- <h:inputText value="#{sb.minchars}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="nothingLabel"/>
- <h:inputText value="#{sb.nothingLabel}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="usingSuggestObjects"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.usingSuggestObjects}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="z-index"></h:outputText>
- <h:selectOneRadio value="#{sb.zindex}">
- <f:selectItem itemLabel="1" itemValue="1" />
- <f:selectItem itemLabel="3" itemValue="3" />
- <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="bgcolor"></h:outputText>
+ <h:selectOneMenu value="#{sb.bgColor}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
- <h:outputText value="requestDelay"></h:outputText>
- <h:inputText value="#{sb.requestDelay}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="value"/>
- <h:inputText value="#{sb.value}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
+ <h:commandButton id="bindingButtonID"
+ actionListener="#{sb.checkBinding}" value="binding & param" />
+ <h:outputText value="#{sb.bindLabel}" />
- <h:outputText value="Width"/>
- <h:inputText value="#{sb.width}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="tokens:"></h:outputText>
- <h:inputText value="#{sb.tokens}"></h:inputText>
+ <h:outputText value="border" />
+ <h:inputText value="#{sb.border}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
- <f:verbatim>MinChars</f:verbatim>
- <h:inputText value="#{sb.minchars}">
- <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
+ <h:outputText value="bypassUpdates"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.bypassUpdates}"
+ onchange="submit();" />
- <h:outputText value="Shadow Opacity"></h:outputText>
- <h:selectOneRadio value="#{sb.shadowOpacity}">
- <f:selectItem itemLabel="1" itemValue="1" />
- <f:selectItem itemLabel="3" itemValue="2" />
- <f:selectItem itemLabel="5" itemValue="3" />
- <f:selectItem itemLabel="7" itemValue="4" />
- <f:selectItem itemLabel="9" itemValue="5" />
- <f:selectItem itemLabel="11" itemValue="6" />
- <f:selectItem itemLabel="13" itemValue="7" />
- <f:selectItem itemLabel="15" itemValue="8" />
- <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="cellpadding" />
+ <h:inputText value="#{sb.cellpadding}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Shadow Depth"></h:outputText>
- <h:selectOneRadio value="#{sb.shadowDepth}">
- <f:selectItem itemLabel="3" itemValue="3" />
- <f:selectItem itemLabel="4" itemValue="4" />
- <f:selectItem itemLabel="5" itemValue="5" />
- <f:selectItem itemLabel="6" itemValue="6" />
- <f:selectItem itemLabel="7" itemValue="6" />
- <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="selfRendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.selfRendered}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
- </h:panelGrid>
+ <h:outputText value="cellspacing" />
+ <h:inputText value="#{sb.cellspacing}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir"></h:outputText>
+ <h:selectOneMenu value="#{sb.dir}">
+ <f:selectItem itemLabel="RTL" itemValue="RTL" />
+ <f:selectItem itemLabel="LTR" itemValue="LTR" />
+ </h:selectOneMenu>
+
+ <h:outputText value="first" />
+ <h:inputText value="#{sb.first}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="frame"></h:outputText>
+ <h:selectOneMenu value="#{sb.frame}">
+ <f:selectItem itemLabel="void" itemValue="void" />
+ <f:selectItem itemLabel="above" itemValue="above" />
+ <f:selectItem itemLabel="below" itemValue="below" />
+ <f:selectItem itemLabel="hsides" itemValue="hsides" />
+ <f:selectItem itemLabel="lhs" itemValue="lhs" />
+ <f:selectItem itemLabel="rhs" itemValue="rhs" />
+ <f:selectItem itemLabel="vsides" itemValue="vsides" />
+ <f:selectItem itemLabel="box" itemValue="box" />
+ <f:selectItem itemLabel="border " itemValue="border " />
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="frequency" />
+ <h:inputText value="#{sb.frequency}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="height" />
+ <h:inputText value="#{sb.height}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="ignoreDupResponses"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.ignoreDupResponses}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="minChars" />
+ <h:inputText value="#{sb.minchars}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="nothingLabel" />
+ <h:inputText value="#{sb.nothingLabel}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="usingSuggestObjects"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.usingSuggestObjects}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="z-index"></h:outputText>
+ <h:selectOneRadio value="#{sb.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="requestDelay"></h:outputText>
+ <h:inputText value="#{sb.requestDelay}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="value" />
+ <h:inputText value="#{sb.value}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width" />
+ <h:inputText value="#{sb.width}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tokens:"></h:outputText>
+ <h:inputText value="#{sb.tokens}"></h:inputText>
+
+ <f:verbatim>MinChars</f:verbatim>
+ <h:inputText value="#{sb.minchars}">
+ <a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Shadow Opacity"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowOpacity}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="2" />
+ <f:selectItem itemLabel="5" itemValue="3" />
+ <f:selectItem itemLabel="7" itemValue="4" />
+ <f:selectItem itemLabel="9" itemValue="5" />
+ <f:selectItem itemLabel="11" itemValue="6" />
+ <f:selectItem itemLabel="13" itemValue="7" />
+ <f:selectItem itemLabel="15" itemValue="8" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Shadow Depth"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowDepth}">
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <f:selectItem itemLabel="4" itemValue="4" />
+ <f:selectItem itemLabel="5" itemValue="5" />
+ <f:selectItem itemLabel="6" itemValue="6" />
+ <f:selectItem itemLabel="7" itemValue="6" />
+ <a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfRendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.selfRendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <a4j:commandLink value="getSubmitedValue" reRender="findID"></a4j:commandLink>
+
+ <h:outputText id="findID" value="#{rich:findComponent('suggestionBoxId').submitedValue}"/>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9352 - trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:40:17 -0400 (Wed, 02 Jul 2008)
New Revision: 9352
Modified:
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-07-02 08:30:25 UTC (rev 9351)
+++ trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-07-02 08:40:17 UTC (rev 9352)
@@ -70,13 +70,10 @@
<br />
<br />
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
- <h:panelGrid columns="2">
- <rich:column>
- <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
- </rich:column>
- <rich:column>
- <h:outputText id="findID" value="#{rich:findComponent('sdt').value}" />
- </rich:column>
+ <h:panelGrid columns="2">
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+
+ <h:outputText id="findID" value="#{rich:findComponent('sdt').value}" />
</h:panelGrid>
<a4j:commandButton value="reRender" reRender="dataList"></a4j:commandButton>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9351 - trunk/test-applications/jsp/src/main/java/sb.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:30:25 -0400 (Wed, 02 Jul 2008)
New Revision: 9351
Modified:
trunk/test-applications/jsp/src/main/java/sb/Sb.java
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/java/sb/Sb.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-07-02 08:18:27 UTC (rev 9350)
+++ trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-07-02 08:30:25 UTC (rev 9351)
@@ -66,7 +66,9 @@
private static final String[] citySEAsia = {"SouthEast Asia", "Ashmore and Cartier Islands", "Brunei", "Burma", "Cambodia", "Christmas Island", "Cocos (Keeling) Islands", "East Timor", "Hong Kong", "Indonesia", "Laos", "Malaysia", "Paracel Islands", "Philippines", "Singapore", "Spratly Islands", "Taiwan", "Thailand", "Vietnam"};
private static final String[] cityCaribbean = {"The Caribbean", "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "British Virgin Islands", "Cayman Islands", "Cuba", "Dominica", "Dominican Republic", "Grenada", "Guadeloupe", "Haiti", "Jamaica", "Martinique", "Montserrat", "Navassa Island", "Netherlands Antilles", "Puerto Rico", "Saint Barthelemy", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin Islands"};
-
+
+
+
public Sb() {
ignoreDupResponses = true;
immediate = true;
@@ -97,7 +99,11 @@
usingSuggestObjects = true;
setCities(getAllData());
}
-
+
+ public void selectValue(ActionEvent actionEvent){
+ System.out.println("----inside selectValue(ActionEvent actionEvent)-----");
+ }
+
public void checkBinding(ActionEvent actionEvent) {
FacesContext context = FacesContext.getCurrentInstance();
bindLabel = mySuggestionBox.getClientId(context) + "; param: " + mySuggestionBox.getParam();
16 years, 6 months
JBoss Rich Faces SVN: r9350 - trunk/test-applications/jsp/src/main/webapp/Spacer.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:18:27 -0400 (Wed, 02 Jul 2008)
New Revision: 9350
Modified:
trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-07-02 08:15:49 UTC (rev 9349)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-07-02 08:18:27 UTC (rev 9350)
@@ -28,4 +28,15 @@
<a4j:commandButton id="btn" action="#{spacer.doStyle}"
value="#{spacer.btn}" reRender="spacerId, btn"></a4j:commandButton>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID" value="#{rich:findComponent('spacerId').rendererType}"/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9349 - trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:15:49 -0400 (Wed, 02 Jul 2008)
New Revision: 9349
Modified:
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp 2008-07-02 08:12:33 UTC (rev 9348)
+++ trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp 2008-07-02 08:15:49 UTC (rev 9349)
@@ -4,29 +4,41 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="stpPropertySubviewID">
- <h:panelGrid columns="2" border="1">
- <h:outputText value="Width:">
- </h:outputText>
- <h:inputText value="#{simpleTogglePanel.width}">
- <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2" border="1">
+ <h:outputText value="Width:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.width}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
- <h:outputText value="Height:">
- </h:outputText>
- <h:inputText value="#{simpleTogglePanel.height}">
- <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
- </h:inputText>
+ <h:outputText value="Height:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.height}">
+ <a4j:support event="onchange" reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
- <h:outputText value="Switch Type:"></h:outputText>
- <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick" reRender="sTP,sTP1,sTP2"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="Switch Type:"></h:outputText>
+ <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="sTP,sTP1,sTP2"></a4j:support>
+ </h:selectOneRadio>
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}" onclick="submit()">
- </h:selectBooleanCheckbox>
- </h:panelGrid>
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue(for 2nd stPanel)" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('sTP').value}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9348 - trunk/test-applications/jsp/src/main/webapp/Separator.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:12:33 -0400 (Wed, 02 Jul 2008)
New Revision: 9348
Modified:
trunk/test-applications/jsp/src/main/webapp/Separator/SeparatorProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/Separator/SeparatorProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Separator/SeparatorProperty.jsp 2008-07-02 08:03:32 UTC (rev 9347)
+++ trunk/test-applications/jsp/src/main/webapp/Separator/SeparatorProperty.jsp 2008-07-02 08:12:33 UTC (rev 9348)
@@ -4,44 +4,57 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="SeparatorPropertySubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="Width (px or %): "></h:outputText>
- <h:inputText value="#{separator.width}">
- <a4j:support event="onchange" reRender="separatorId"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %): "></h:outputText>
+ <h:inputText value="#{separator.width}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Height (px or %):"></h:outputText>
- <h:inputText value="#{separator.height}">
- <a4j:support event="onchange" reRender="separatorId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{separator.height}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
- <h:outputText value="LineType:"></h:outputText>
- <h:selectOneRadio value="#{separator.lineType}" layout="pageDirection">
- <f:selectItem itemLabel="beveled" itemValue="beveled" />
- <f:selectItem itemLabel="dotted" itemValue="dotted" />
- <f:selectItem itemLabel="dashed" itemValue="dashed" />
- <f:selectItem itemLabel="double" itemValue="double" />
- <f:selectItem itemLabel="solid" itemValue="solid" />
- <a4j:support event="onclick" reRender="separatorId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="LineType:"></h:outputText>
+ <h:selectOneRadio value="#{separator.lineType}" layout="pageDirection">
+ <f:selectItem itemLabel="beveled" itemValue="beveled" />
+ <f:selectItem itemLabel="dotted" itemValue="dotted" />
+ <f:selectItem itemLabel="dashed" itemValue="dashed" />
+ <f:selectItem itemLabel="double" itemValue="double" />
+ <f:selectItem itemLabel="solid" itemValue="solid" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneRadio value="#{separator.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="center" itemValue="center" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick" reRender="separatorId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneRadio value="#{separator.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick" reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
- <h:outputText value="Title:"></h:outputText>
- <h:inputText value="#{separator.title}">
- <a4j:support event="onchange" reRender="separatorId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{separator.title}">
+ <a4j:support event="onchange" reRender="separatorId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{separator.rendered}" onclick="submit()"></h:selectBooleanCheckbox>
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{separator.rendered}"
+ onclick="submit()"></h:selectBooleanCheckbox>
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{separator.doStyles}" value="#{separator.btnLabel}" />
- </h:panelGrid>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{separator.doStyles}"
+ value="#{separator.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getHeight" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID" value="#{rich:findComponent('separatorId').height}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9347 - trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 04:03:32 -0400 (Wed, 02 Jul 2008)
New Revision: 9347
Modified:
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-07-02 07:40:44 UTC (rev 9346)
+++ trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-07-02 08:03:32 UTC (rev 9347)
@@ -49,7 +49,7 @@
footerClass="#{style.footerClass}" headerClass="#{style.headerClass}"
rowClasses="#{style.rowClasses}" activeClass="#{style.activeClass}"
styleClass="#{style.styleClass}" style="#{style.style}"
- selectedClass="#{style.selectedClass}"
+ selectedClass="#{style.selectedClass}"
onRowMouseDown="#{event.onRowMouseDown}"
onRowMouseUp="#{event.onRowMouseUp}"
onselectionchange="#{event.onselectionchange}">
@@ -136,7 +136,7 @@
<h:outputText value="Link"></h:outputText>
</f:facet>
</rich:column>
-
+
<rich:column sortExpression="#{sdt.date0}" sortable="true">
<f:facet name="header">
<h:outputText value="#" />
@@ -146,27 +146,44 @@
<h:outputText value="#" />
</f:facet>
</rich:column>
-
+
<f:facet name="footer">
<h:outputText value="facet footer"></h:outputText>
</f:facet>
</rich:scrollableDataTable>
<h:panelGrid columns="1">
- <h:outputText value="JS API test" style="FONT-WEIGHT: bold;"></h:outputText>
- <a4j:commandLink onclick="$('formID:scrollableDataTableSubviewID:sdt').component.collapse(colID)" value="collapse('colID')"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:scrollableDataTableSubviewID:sdt').component.expand(colID)" value="expand('colID')"></a4j:commandLink>
+ <h:outputText value="JS API test" style="FONT-WEIGHT: bold;"></h:outputText>
+ <a4j:commandLink
+ onclick="$('formID:scrollableDataTableSubviewID:sdt').component.collapse(colID)"
+ value="collapse('colID')"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:scrollableDataTableSubviewID:sdt').component.expand(colID)"
+ value="expand('colID')"></a4j:commandLink>
</h:panelGrid>
<f:verbatim>
- <h:outputText value="Component control+JS API"></h:outputText>
- <br />
- <a href="#" id="collapseID">collapseID</a>
- <br />
- <a href="#" id="expandID">expandID</a>
+ <h:outputText value="Component control+JS API"></h:outputText>
+ <br />
+ <a href="#" id="collapseID">collapseID</a>
+ <br />
+ <a href="#" id="expandID">expandID</a>
</f:verbatim>
- <rich:componentControl attachTo="collapseID" event="onclick" for="sdt" operation="collapse">
- <f:param value="colID" name="colID"/>
+ <rich:componentControl attachTo="collapseID" event="onclick" for="sdt"
+ operation="collapse">
+ <f:param value="colID" name="colID" />
</rich:componentControl>
- <rich:componentControl attachTo="expandID" event="onclick" for="sdt" operation="expand">
- <f:param value="colID" name="colID"/>
+ <rich:componentControl attachTo="expandID" event="onclick" for="sdt"
+ operation="expand">
+ <f:param value="colID" name="colID" />
</rich:componentControl>
+ <br />
+ <br />
+ <rich:scrollableDataTable id="dataList" width="300px" height="300px" var="data" value="#{tableBeanScroll.data}">
+ <rich:columns value="#{tableBeanScroll.columnModel}" var="col" index="index" sortable="no">
+ <f:facet name="header">
+ <a4j:commandLink value="#{col.title}" action="#{col.sort}" reRender="dataList" />
+ </f:facet>
+ <h:outputText value="#{data.columns[index]}" />
+ </rich:columns>
+ </rich:scrollableDataTable>
+ <br />
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-07-02 07:40:44 UTC (rev 9346)
+++ trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-07-02 08:03:32 UTC (rev 9347)
@@ -8,8 +8,8 @@
<h:outputText value="length:"></h:outputText>
<h:panelGroup>
<h:inputText value="#{scrollableDT.dataLength}"></h:inputText>
- <a4j:commandButton action="#{scrollableDT.addNewItem}"
- reRender="sdt" value="ok" />
+ <a4j:commandButton action="#{scrollableDT.addNewItem}" reRender="sdt"
+ value="ok" />
</h:panelGroup>
<h:outputText value="rows:" />
<h:inputText value="#{scrollableDT.rows}" onchange="submit();">
@@ -67,5 +67,16 @@
<f:selectItem itemLabel="multi" itemValue="multi" />
</h:selectOneRadio>
</h:panelGrid>
- <a4j:commandButton value="reRender" reRender="sdt"></a4j:commandButton>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID" value="#{rich:findComponent('sdt').value}" />
+ </rich:column>
+ </h:panelGrid>
+ <a4j:commandButton value="reRender" reRender="dataList"></a4j:commandButton>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9346 - trunk/test-applications/jsp/src/main/webapp/ProgressBar.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 03:40:44 -0400 (Wed, 02 Jul 2008)
New Revision: 9346
Modified:
trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-07-02 07:31:38 UTC (rev 9345)
+++ trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-07-02 07:40:44 UTC (rev 9346)
@@ -4,16 +4,20 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:subview id="progressBarSubviewID">
- <rich:progressBar id="progressBarID" ajaxSingle="#{progressBar.ajaxSingle}" label="#{progressBar.label}" immediate="#{progressBar.immediate}"
- value="#{progressBar.value}"
- style="width: 450px; height: 19px;#{style.style};" completeClass="#{style.completeClass}" finishClass="#{style.finishClass}" initialClass="#{style.initialClass}" remainClass="#{style.remainClass}" styleClass="#{style.styleClass}"
+ <rich:progressBar id="progressBarID"
+ ajaxSingle="#{progressBar.ajaxSingle}" label="#{progressBar.label}"
+ immediate="#{progressBar.immediate}" value="#{progressBar.value}"
+ style="width: 450px; height: 19px;#{style.style};"
+ completeClass="#{style.completeClass}"
+ finishClass="#{style.finishClass}"
+ initialClass="#{style.initialClass}"
+ remainClass="#{style.remainClass}" styleClass="#{style.styleClass}"
mode="#{progressBar.mode}" enabled="#{progressBar.enabled}"
- actionListener="#{progressBar.actionListener}"
- interval="#{progressBar.interval}"
- maxValue="#{progressBar.maxValue}" minValue="#{progressBar.minValue}"
- rendered="#{progressBar.rendered}" reRender="loadInfoPBID,valuePBID"
- progressVar="progressVar" parameters="params:'%'"
- reRenderAfterComplete="completedPBID"
+ actionListener="#{progressBar.actionListener}"
+ interval="#{progressBar.interval}" maxValue="#{progressBar.maxValue}"
+ minValue="#{progressBar.minValue}" rendered="#{progressBar.rendered}"
+ reRender="loadInfoPBID,valuePBID" progressVar="progressVar"
+ parameters="params:'%'" reRenderAfterComplete="completedPBID"
ignoreDupResponses="#{progressBar.ignoreDupResponses}"
onbeforedomupdate="#{event.onbeforedomupdate}"
onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
@@ -33,13 +37,13 @@
<h:outputText id="loadInfoPBID"
value="[Load: #{progressBar.loadInfo}]" />
<h:graphicImage value="/pics/ajax_process.gif" />
-
+
</rich:progressBar>
<f:verbatim>
<br />
</f:verbatim>
-
+
<h:outputText
value="[parameters=params:'%'], [{progressVar} | {minValue} {params} / {value} {params}/ {maxValue} {params}]" />
<h:panelGrid columns="1">
@@ -47,7 +51,7 @@
onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>
<a4j:commandLink value="setLabel"
onclick="$('formID:progressBarSubviewID:progressBarID').component.setLabel('setLabel work')"></a4j:commandLink>
- <a4j:commandLink value="setValue(0)"
+ <a4j:commandLink value="setValue(0)"
onclick="$('formID:progressBarSubviewID:progressBarID').component.setValue('0')"></a4j:commandLink>
<a4j:commandLink value="disable"
onclick="$('formID:progressBarSubviewID:progressBarID').component.disable();"></a4j:commandLink>
@@ -56,22 +60,27 @@
</h:panelGrid>
<br />
<f:verbatim>
- <h:outputText value="Component control test" style="FONT-WEIGHT: bold;"></h:outputText>
- <br />
- <a href="#" id="setLabelID">setLabel</a>
- <br />
- <a href="#" id="setValueID">setValue(0)</a>
- <br />
- <a href="#" id="disableID">disable</a>
- <br />
- <a href="#" id="enableID">enable</a>
+ <h:outputText value="Component control test"
+ style="FONT-WEIGHT: bold;"></h:outputText>
+ <br />
+ <a href="#" id="setLabelID">setLabel</a>
+ <br />
+ <a href="#" id="setValueID">setValue(0)</a>
+ <br />
+ <a href="#" id="disableID">disable</a>
+ <br />
+ <a href="#" id="enableID">enable</a>
</f:verbatim>
- <rich:componentControl attachTo="setLabelID" event="onclick" for="progressBarID" operation="setLabel" attachTiming="">
- <f:param name="label" value="new label" />
+ <rich:componentControl attachTo="setLabelID" event="onclick"
+ for="progressBarID" operation="setLabel" attachTiming="onload">
+ <f:param name="label" value="new label" />
</rich:componentControl>
- <rich:componentControl attachTo="setValueID" event="onclick" for="progressBarID" operation="setValue" params="value:0"></rich:componentControl>
- <rich:componentControl attachTo="disableID" event="onclick" for="progressBarID" operation="disable"></rich:componentControl>
- <rich:componentControl attachTo="enableID" event="onclick" for="progressBarID" operation="enable"></rich:componentControl>
+ <rich:componentControl attachTo="setValueID" event="onclick"
+ for="progressBarID" operation="setValue" params="value:0"></rich:componentControl>
+ <rich:componentControl attachTo="disableID" event="onclick"
+ for="progressBarID" operation="disable"></rich:componentControl>
+ <rich:componentControl attachTo="enableID" event="onclick"
+ for="progressBarID" operation="enable"></rich:componentControl>
<h:panelGrid columns="2">
<h:outputText value="first value:" />
<h:outputText value="#{progressBar.value}" />
@@ -96,7 +105,7 @@
<h:outputText value="mode:" />
<h:selectOneRadio value="#{progressBar.mode}">
- <f:selectItem itemValue="ajax" itemLabel="ajax"/>
+ <f:selectItem itemValue="ajax" itemLabel="ajax" />
<f:selectItem itemValue="client" itemLabel="client" />
<a4j:support event="onchange" reRender="progressBarID"></a4j:support>
</h:selectOneRadio>
@@ -128,11 +137,22 @@
<h:outputText value="rendered:" />
<h:selectBooleanCheckbox value="#{progressBar.rendered}"
onchange="submit();" />
-
+
<h:outputText value="immediate" />
<h:selectBooleanCheckbox value="#{progressBar.immediate}">
<a4j:support event="onchange" reRender="progressBarID"></a4j:support>
</h:selectBooleanCheckbox>
-
+
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{rich:findComponent('progressBarID').value}" id="findID"/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9345 - trunk/test-applications/jsp/src/main/webapp/ProgressBar.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 03:31:38 -0400 (Wed, 02 Jul 2008)
New Revision: 9345
Modified:
trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-07-02 07:30:06 UTC (rev 9344)
+++ trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-07-02 07:31:38 UTC (rev 9345)
@@ -66,8 +66,10 @@
<br />
<a href="#" id="enableID">enable</a>
</f:verbatim>
- <rich:componentControl attachTo="setLabelID" event="onclick" for="progressBarID" operation="setLabel" params="{label:setLabel work!}"></rich:componentControl>
- <rich:componentControl attachTo="setValueID" event="onclick" for="progressBarID" operation="setValue" params="{value:0}"></rich:componentControl>
+ <rich:componentControl attachTo="setLabelID" event="onclick" for="progressBarID" operation="setLabel" attachTiming="">
+ <f:param name="label" value="new label" />
+ </rich:componentControl>
+ <rich:componentControl attachTo="setValueID" event="onclick" for="progressBarID" operation="setValue" params="value:0"></rich:componentControl>
<rich:componentControl attachTo="disableID" event="onclick" for="progressBarID" operation="disable"></rich:componentControl>
<rich:componentControl attachTo="enableID" event="onclick" for="progressBarID" operation="enable"></rich:componentControl>
<h:panelGrid columns="2">
16 years, 6 months
JBoss Rich Faces SVN: r9344 - trunk/test-applications/jsp/src/main/webapp/PickList.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 03:30:06 -0400 (Wed, 02 Jul 2008)
New Revision: 9344
Modified:
trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp 2008-07-02 07:13:45 UTC (rev 9343)
+++ trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp 2008-07-02 07:30:06 UTC (rev 9344)
@@ -1,70 +1,93 @@
-<%@ 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" %>
-<f:subview id="pickListPropertySubviewID">
- <h:panelGrid columns="2">
- <a4j:commandButton reRender="pickListTargenID" value="refresh target"></a4j:commandButton>
- <h:dataTable id="pickListTargenID" value="#{pickList.value}" var="list" border="1">
- <h:column>
- <h:outputText value="#{list}"></h:outputText>
- </h:column>
- </h:dataTable>
-
- <h:outputText value="title:"></h:outputText>
- <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
-
- <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
- <h:inputText value="#{pickList.moveControlsVerticalAlign}" onchange="submit();"></h:inputText>
-
- <h:outputText value="showButtonLabels:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="copyAllControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.copyAllControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="copyControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="removeControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.removeControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="removeAllControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.removeAllControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="switchByClick:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.switchByClick}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="listsHeight:"></h:outputText>
- <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
-
- <h:outputText value="sourceListWidth:"></h:outputText>
- <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
-
- <h:outputText value="targetListWidth:"></h:outputText>
- <h:inputText value="#{pickList.targetListWidth}" onchange="submit();"></h:inputText>
-
- <h:outputText value="fastOrderControlsVisible:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}"
- onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="immediate:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="required:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.required}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="requiredMessage:"></h:outputText>
- <h:inputText value="#{pickList.requiredMessage}" onchange="submit();"></h:inputText>
-
- <h:commandButton actionListener="#{pickList.checkBinding}" value="Binding"></h:commandButton>
- <h:outputText value="#{pickList.bindLabel}"></h:outputText>
-
- </h:panelGrid>
+<%@ 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"%>
+<f:subview id="pickListPropertySubviewID">
+ <h:panelGrid columns="2">
+ <a4j:commandButton reRender="pickListTargenID" value="refresh target"></a4j:commandButton>
+ <h:dataTable id="pickListTargenID" value="#{pickList.value}"
+ var="list" border="1">
+ <h:column>
+ <h:outputText value="#{list}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
+ <h:inputText value="#{pickList.moveControlsVerticalAlign}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="showButtonLabels:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="copyAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="copyControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeAllControlLabel}"
+ onchange="submit();"></h:inputText>
+
+ <h:outputText value="switchByClick:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.switchByClick}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="listsHeight:"></h:outputText>
+ <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="sourceListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="targetListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.targetListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="fastOrderControlsVisible:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.immediate}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.disabled}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.required}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage:"></h:outputText>
+ <h:inputText value="#{pickList.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:commandButton actionListener="#{pickList.checkBinding}"
+ value="Binding"></h:commandButton>
+ <h:outputText value="#{pickList.bindLabel}"></h:outputText>
+
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedValues" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('pickListID').selectedValues}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months