Author: abelevich
Date: 2008-02-18 08:00:12 -0500 (Mon, 18 Feb 2008)
New Revision: 6135
Modified:
trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
Log:
Modified:
trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java
===================================================================
---
trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java 2008-02-18
12:58:55 UTC (rev 6134)
+++
trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java 2008-02-18
13:00:12 UTC (rev 6135)
@@ -10,7 +10,7 @@
private String defaultLabel = "Click...";
- private String controlsPosition="right";
+ private String controlsPosition="center";
private Integer inputMaxLength = 255;
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml 2008-02-18
12:58:55 UTC (rev 6134)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/web.xml 2008-02-18
13:00:12 UTC (rev 6135)
@@ -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/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-02-18
12:58:55 UTC (rev 6134)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-02-18
13:00:12 UTC (rev 6135)
@@ -29,6 +29,9 @@
<h:outputText value="defaultLabel is: " />
<h:inputText value="#{bean.defaultLabel}" />
+
+ <h:outputText value="value is: " />
+ <h:inputText value="#{bean.value}" />
<h:outputText value="width (in 'px'): "/>
<h:inputText value="#{bean.width}" />
@@ -68,13 +71,12 @@
<div style="width: 300px">
Fresh off his victory in the Florida primary, Sen. John McCain is poised to
take another big prize. Former
<ii:inplaceInput
- id="inplace"
value="#{bean.value}"
selectOnEdit="#{bean.selectOnEdit}"
showControls="#{bean.showControls}"
applyFromControlsOnly="#{bean.applyFromControlsOnly}"
defaultLabel="#{bean.defaultLabel}"
- width="#{bean.width}"
+ inputWidth="#{bean.width}"
minInputWidth="#{bean.minInputWidth}"
maxInputWidth="#{bean.maxInputWidth}"
controlsPosition="#{bean.controlsPosition}"
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-02-18
12:58:55 UTC (rev 6134)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-02-18
13:00:12 UTC (rev 6135)
@@ -32,6 +32,10 @@
<h:outputText value="defaultLabel is: " />
<h:inputText value="#{bean.defaultLabel}" />
+
+ <h:outputText value="value is: " />
+ <h:inputText value="#{bean.value}" />
+
<h:outputText value="width (in 'px'): "/>
<h:inputText value="#{bean.width}" />
@@ -74,13 +78,12 @@
<div style="width: 300px">
Fresh off his victory in the Florida primary, Sen. John McCain is poised to
take another big prize. Former
<ii:inplaceInput
- id="inplace"
value="#{bean.value}"
selectOnEdit="#{bean.selectOnEdit}"
showControls="#{bean.showControls}"
applyFromControlsOnly="#{bean.applyFromControlsOnly}"
defaultLabel="#{bean.defaultLabel}"
- width="#{bean.width}"
+ inputWidth="#{bean.width}"
minInputWidth="#{bean.minInputWidth}"
maxInputWidth="#{bean.maxInputWidth}"
inputMaxLength="#{bean.inputMaxLength}"