Author: abelevich
Date: 2008-04-14 12:09:45 -0400 (Mon, 14 Apr 2008)
New Revision: 7812
Modified:
trunk/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
trunk/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml
trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
Log:
Modified: trunk/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java 2008-04-14
16:09:29 UTC (rev 7811)
+++ trunk/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java 2008-04-14
16:09:45 UTC (rev 7812)
@@ -39,7 +39,7 @@
private String controlsHorizontalAlign = "right";
- private Object value = "New York";
+ private Object value = "A&'<laska";
private String listWidth = "200px";
Modified: trunk/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml 2008-04-14 16:09:29
UTC (rev 7811)
+++ trunk/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml 2008-04-14 16:09:45
UTC (rev 7812)
@@ -10,7 +10,7 @@
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
- </context-param> -->
+ </context-param> -->
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
Modified: trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-04-14 16:09:29
UTC (rev 7811)
+++ trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-04-14 16:09:45
UTC (rev 7812)
@@ -67,223 +67,43 @@
Fresh off his victory in the Florida primary, Sen. John McCain is poised to take
another big prize. Former
<is:inplaceSelect
id="inplace"
- editEvent="#{bean.editEvent}"
+ editEvent="onclick"
maxSelectWidth="#{bean.maxSelectWidth}"
minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
+ defaultLabel="click"
controlsVerticalPosition="#{bean.controlsPosition}"
controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
listWidth="#{bean.listWidth}"
listHeight="#{bean.listHeight}"
selectOnEdit="#{bean.selectOnEdit}"
showControls="#{bean.showControls}"
editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
+ openOnEdit="true"
layout="inline"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5" itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6" itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
+ value="#{bean.value}"
+ saveControlIcon="images/ico_cancel.gif"
+ cancelControlIcon="images/ico_ok.gif">
+ <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
+ <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
+ <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
+ <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
+ <f:selectItem itemLabel="option 5" itemValue="Detroit"/>
+ <f:selectItem itemLabel="option 6" itemValue="Toronto"/>
+ <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
+ <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
+ <f:selectItem itemLabel="A&'<laska"
itemValue="A&'<laska"/>
+
</is:inplaceSelect>
- <a4j:commandButton reRender="inplace"
value="12312"></a4j:commandButton>
+
+ <h:messages></h:messages>
+
Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That
would give McCain added momentum heading into a debate Wednesday and next week's Super
Tuesday contests
<br/>
- <h:outputText value="value is:
#{bean.value}"></h:outputText>
- <h:commandButton value="submit"></h:commandButton>
-
-
- <table class="tab_example" border="0"
cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemValue="option 1" itemLabel="Kansas
City"/>
- <f:selectItem itemValue="option 2" itemLabel="Las
Vegas"/>
- <f:selectItem itemValue="option 3" itemLabel="Oklahoma
City"/>
- <f:selectItem itemValue="option 4" itemLabel="New
Jersey"/>
- <f:selectItem itemValue="option 5"
itemLabel="Detroit"/>
- <f:selectItem itemValue="option 6"
itemLabel="Toronto"/>
- <f:selectItem itemValue="option 7"
itemLabel="Cleveland"/>
- <f:selectItem itemValue="option 8"
itemLabel="Indianapolis"/>
- <f:selectItem itemValue="option 9" itemLabel="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- </table>
+ <h:outputText id="text" value="value is:
#{bean.value}"></h:outputText> <br/>
+ <a4j:commandButton reRender="inplace, text"
value="Ajax"></a4j:commandButton>
+ <h:commandButton value="Server"></h:commandButton>
</h:form>
</f:view>
</body>
Modified: trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-04-14
16:09:29 UTC (rev 7811)
+++ trunk/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-04-14
16:09:45 UTC (rev 7812)
@@ -4,7 +4,9 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:is="http://labs.jboss.com/jbossrichfaces/ui/inplaceSelect"...
+
xmlns:is="http://labs.jboss.com/jbossrichfaces/ui/inplaceSelect"
+
xmlns:a4j="http://richfaces.org/a4j"
+ >
<head>
@@ -65,11 +67,12 @@
<div style="width: 300px">
Fresh off his victory in the Florida primary, Sen. John McCain is poised to take
another big prize. Former
<is:inplaceSelect
+ id="inplace"
editEvent="#{bean.editEvent}"
maxSelectWidth="#{bean.maxSelectWidth}"
minSelectWidth="#{bean.minSelectWidth}"
selectWidth="#{bean.selectWidth}"
- defaultLabel="#{bean.defaultLabel}"
+ defaultLabel="click"
controlsVerticalPosition="#{bean.controlsPosition}"
controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
value="#{bean.value}"
@@ -87,195 +90,17 @@
<f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
<f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
<f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
+ <f:selectItem itemLabel="A&'<laska"
itemValue="A&'<laska"/>
+ </is:inplaceSelect>
Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That
would give McCain added momentum heading into a debate Wednesday and next week's Super
Tuesday contests
</div>
<br/>
- <h:outputText value="value is:
#{bean.value}"></h:outputText>
- <h:commandButton value="submit"></h:commandButton>
+ <h:outputText id="text" value="value is:
#{bean.value}"></h:outputText> <br/>
+ <a4j:commandButton reRender="inplace, text"
value="Ajax"></a4j:commandButton>
+ <h:commandButton value="Server"></h:commandButton>
- <table class="tab_example" border="0"
cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- <tr>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- <td>
- <is:inplaceSelect
- editEvent="#{bean.editEvent}"
- maxSelectWidth="#{bean.maxSelectWidth}"
- minSelectWidth="#{bean.minSelectWidth}"
- defaultLabel="#{bean.defaultLabel}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- value="#{bean.value}"
- listWidth="#{bean.listWidth}"
- listHeight="#{bean.listHeight}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- editOnTab="#{bean.editOnTab}"
- openOnEdit="#{bean.openOnEdit}"
- valueChangeListener="#{bean.valueChange}"
- layout="block"
- >
- <f:selectItem itemLabel="option 1" itemValue="Kansas
City"/>
- <f:selectItem itemLabel="option 2" itemValue="Las
Vegas"/>
- <f:selectItem itemLabel="option 3" itemValue="Oklahoma
City"/>
- <f:selectItem itemLabel="option 4" itemValue="New
Jersey"/>
- <f:selectItem itemLabel="option 5"
itemValue="Detroit"/>
- <f:selectItem itemLabel="option 6"
itemValue="Toronto"/>
- <f:selectItem itemLabel="option 7"
itemValue="Cleveland"/>
- <f:selectItem itemLabel="option 8"
itemValue="Indianapolis"/>
- <f:selectItem itemLabel="option 9" itemValue="New
York"/>
- </is:inplaceSelect>
- </td>
- </tr>
- </table>
+
+
</h:form>
</f:view>