Author: abelevich
Date: 2008-04-14 12:09:29 -0400 (Mon, 14 Apr 2008)
New Revision: 7811
Modified:
trunk/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml
trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
Log:
Modified: trunk/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml 2008-04-14 16:09:05
UTC (rev 7810)
+++ trunk/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml 2008-04-14 16:09:29
UTC (rev 7811)
@@ -2,7 +2,7 @@
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Archetype Created Web Application</display-name>
-<!--
+
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
@@ -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/inplaceInput-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-04-14 16:09:05
UTC (rev 7810)
+++ trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-04-14 16:09:29
UTC (rev 7811)
@@ -73,7 +73,6 @@
Fresh off his victory in the Florida primary, Sen. John McCain is poised to
take another big prize. Former
<ii:inplaceInput
valueChangeListener="#{bean.valueChange}"
- value="#{bean.value}"
selectOnEdit="#{bean.selectOnEdit}"
showControls="#{bean.showControls}"
inputWidth="#{bean.width}"
@@ -89,96 +88,13 @@
saveControlIcon="#{bean.saveControlIcon}"
cancelControlIcon="#{bean.cancelControlIcon}"
tabindex="#{bean.tabindex}"
- layout="inline"
+ layout="inline"
+ onchange="window.status='onchange';"
</ii:inplaceInput>
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>
<h:commandButton action="none"
value="submit"></h:commandButton>
-
- <table class="tab_example" border="0"
cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}"/>
- </td>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}"/>
- </td>
- </tr>
- <tr>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}"/>
- </td>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsVerticalPosition="#{bean.controlsPosition}"
- controlsHorizontalPosition="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}"/>
- </td>
- </tr>
- <table>
-
</h:form>
</f:view>
</body>
Modified: trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-04-14
16:09:05 UTC (rev 7810)
+++ trunk/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-04-14
16:09:29 UTC (rev 7811)
@@ -96,89 +96,6 @@
</ii:inplaceInput>
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>
- <table class="tab_example" border="0"
cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsPosition="#{bean.controlsPosition}"
- controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}">
- </td>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsPosition="#{bean.controlsPosition}"
- controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}">
- </td>
- </tr>
- <tr>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsPosition="#{bean.controlsPosition}"
- controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}">
- </td>
- <td>
- <ii:inplaceInput
- value="#{bean.value}"
- selectOnEdit="#{bean.selectOnEdit}"
- showControls="#{bean.showControls}"
- inputWidth="#{bean.width}"
- minInputWidth="#{bean.minInputWidth}"
- maxInputWidth="#{bean.maxInputWidth}"
- controlsPosition="#{bean.controlsPosition}"
- controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
- editEvent="#{bean.editEvent}"
- oneditactivation="#{bean.oneditactivation}"
- onviewactivation="#{bean.onviewactivation}"
- oneditactivated="#{bean.oneditactivated}"
- onviewactivated="#{bean.onviewactivated}"
- saveControlIcon="#{bean.saveControlIcon}"
- cancelControlIcon="#{bean.cancelControlIcon}"
- tabindex="#{bean.tabindex}">
- </td>
- </tr>
- <table>
-
<h:commandButton action="none"
value="submit"></h:commandButton>
</h:form>
</f:view>