Author: ppitonak(a)redhat.com
Date: 2010-09-02 08:22:46 -0400 (Thu, 02 Sep 2010)
New Revision: 19093
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataTable/components2.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richExtendedDataTable/components2.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/facets.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/simple.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml
Log:
RFPL-757
* all pages containing inplace input fixed
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataTable/components2.xhtml 2010-09-02
12:03:08 UTC (rev 19092)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataTable/components2.xhtml 2010-09-02
12:22:46 UTC (rev 19093)
@@ -104,7 +104,9 @@
<h:outputText id="columnHeaderNameComponent"
value="rich:inplaceInput" />
</f:facet>
- <rich:inplaceInput id="nameInput"
value="#{record.name}" defaultLabel="Click here to edit"/>
+ <rich:inplaceInput id="nameInput"
value="#{record.name}" defaultLabel="Click here to edit">
+ <a4j:ajax id="inplaceInputAjax"
event="change"/>
+ </rich:inplaceInput>
<f:facet name="footer">
<h:outputText id="columnFooterState"
value="Name" />
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richExtendedDataTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richExtendedDataTable/components2.xhtml 2010-09-02
12:03:08 UTC (rev 19092)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richExtendedDataTable/components2.xhtml 2010-09-02
12:22:46 UTC (rev 19093)
@@ -104,7 +104,9 @@
<h:outputText id="columnHeaderNameComponent"
value="rich:inplaceInput" />
</f:facet>
- <rich:inplaceInput id="nameInput"
value="#{record.name}" defaultLabel="Click here to edit"/>
+ <rich:inplaceInput id="nameInput"
value="#{record.name}" defaultLabel="Click here to edit">
+ <a4j:ajax id="inplaceInputAjax"
event="change"/>
+ </rich:inplaceInput>
<f:facet name="footer">
<h:outputText id="columnFooterState"
value="Name" />
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/facets.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/facets.xhtml 2010-09-02
12:03:08 UTC (rev 19092)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/facets.xhtml 2010-09-02
12:22:46 UTC (rev 19093)
@@ -45,8 +45,35 @@
defaultLabel="#{richInplaceInputBean.attributes['defaultLabel'].value}"
editEvent="#{richInplaceInputBean.attributes['editEvent'].value}"
immediate="#{richInplaceInputBean.attributes['immediate'].value}"
+
inputWidth="#{richInplaceInputBean.attributes['inputWidth'].value}"
localValue="#{richInplaceInputBean.attributes['localValue'].value}"
localValueSet="#{richInplaceInputBean.attributes['localValueSet'].value}"
+
onInputBlur="#{richInplaceInputBean.attributes['onInputBlur'].value}"
+
onInputClick="#{richInplaceInputBean.attributes['onInputClick'].value}"
+
onInputDblClick="#{richInplaceInputBean.attributes['onInputDblClick'].value}"
+
onInputFocus="#{richInplaceInputBean.attributes['onInputFocus'].value}"
+
onInputKeydown="#{richInplaceInputBean.attributes['onInputKeydown'].value}"
+
onInputKeypress="#{richInplaceInputBean.attributes['onInputKeypress'].value}"
+
onInputKeyup="#{richInplaceInputBean.attributes['onInputKeyup'].value}"
+
onInputMousedown="#{richInplaceInputBean.attributes['onInputMousedown'].value}"
+
onInputMousemove="#{richInplaceInputBean.attributes['onInputMousemove'].value}"
+
onInputMouseout="#{richInplaceInputBean.attributes['onInputMouseout'].value}"
+
onInputMouseover="#{richInplaceInputBean.attributes['onInputMouseover'].value}"
+
onInputMouseup="#{richInplaceInputBean.attributes['onInputMouseup'].value}"
+
onblur="#{richInplaceInputBean.attributes['onblur'].value}"
+
onchange="#{richInplaceInputBean.attributes['onchange'].value}"
+
onclick="#{richInplaceInputBean.attributes['onclick'].value}"
+
ondblclick="#{richInplaceInputBean.attributes['ondblclick'].value}"
+
onfocus="#{richInplaceInputBean.attributes['onfocus'].value}"
+
onkeydown="#{richInplaceInputBean.attributes['onkeydown'].value}"
+
onkeypress="#{richInplaceInputBean.attributes['onkeypress'].value}"
+
onkeyup="#{richInplaceInputBean.attributes['onkeyup'].value}"
+
onmousedown="#{richInplaceInputBean.attributes['onmousedown'].value}"
+
onmousemove="#{richInplaceInputBean.attributes['onmousemove'].value}"
+
onmouseout="#{richInplaceInputBean.attributes['onmouseout'].value}"
+
onmouseover="#{richInplaceInputBean.attributes['onmouseover'].value}"
+
onmouseup="#{richInplaceInputBean.attributes['onmouseup'].value}"
+
onselect="#{richInplaceInputBean.attributes['onselect'].value}"
rendered="#{richInplaceInputBean.attributes['rendered'].value}"
required="#{richInplaceInputBean.attributes['required'].value}"
requiredMessage="#{richInplaceInputBean.attributes['requiredMessage'].value}"
@@ -62,14 +89,13 @@
valueChangeListener="#{richInplaceInputBean.attributes['valueChangeListener'].value}"
valueChangeListeners="#{richInplaceInputBean.attributes['valueChangeListeners'].value}"
+
<f:facet name="controls">
<button
onmousedown="#{rich:component('inplaceInput')}.save();"
type="button">Save</button>
<button
onmousedown="#{rich:component('inplaceInput')}.cancel();"
type="button">Cancel</button>
</f:facet>
- <ui:remove>
- <a4j:ajax id="inplaceInputAjax" event="change"
render="output"/>
- </ui:remove>
+ <a4j:ajax id="inplaceInputAjax" event="change"
render="output"/>
</rich:inplaceInput>
<br/><br/>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/simple.xhtml 2010-09-02
12:03:08 UTC (rev 19092)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/simple.xhtml 2010-09-02
12:22:46 UTC (rev 19093)
@@ -45,8 +45,35 @@
defaultLabel="#{richInplaceInputBean.attributes['defaultLabel'].value}"
editEvent="#{richInplaceInputBean.attributes['editEvent'].value}"
immediate="#{richInplaceInputBean.attributes['immediate'].value}"
+
inputWidth="#{richInplaceInputBean.attributes['inputWidth'].value}"
localValue="#{richInplaceInputBean.attributes['localValue'].value}"
localValueSet="#{richInplaceInputBean.attributes['localValueSet'].value}"
+
onInputBlur="#{richInplaceInputBean.attributes['onInputBlur'].value}"
+
onInputClick="#{richInplaceInputBean.attributes['onInputClick'].value}"
+
onInputDblClick="#{richInplaceInputBean.attributes['onInputDblClick'].value}"
+
onInputFocus="#{richInplaceInputBean.attributes['onInputFocus'].value}"
+
onInputKeydown="#{richInplaceInputBean.attributes['onInputKeydown'].value}"
+
onInputKeypress="#{richInplaceInputBean.attributes['onInputKeypress'].value}"
+
onInputKeyup="#{richInplaceInputBean.attributes['onInputKeyup'].value}"
+
onInputMousedown="#{richInplaceInputBean.attributes['onInputMousedown'].value}"
+
onInputMousemove="#{richInplaceInputBean.attributes['onInputMousemove'].value}"
+
onInputMouseout="#{richInplaceInputBean.attributes['onInputMouseout'].value}"
+
onInputMouseover="#{richInplaceInputBean.attributes['onInputMouseover'].value}"
+
onInputMouseup="#{richInplaceInputBean.attributes['onInputMouseup'].value}"
+
onblur="#{richInplaceInputBean.attributes['onblur'].value}"
+
onchange="#{richInplaceInputBean.attributes['onchange'].value}"
+
onclick="#{richInplaceInputBean.attributes['onclick'].value}"
+
ondblclick="#{richInplaceInputBean.attributes['ondblclick'].value}"
+
onfocus="#{richInplaceInputBean.attributes['onfocus'].value}"
+
onkeydown="#{richInplaceInputBean.attributes['onkeydown'].value}"
+
onkeypress="#{richInplaceInputBean.attributes['onkeypress'].value}"
+
onkeyup="#{richInplaceInputBean.attributes['onkeyup'].value}"
+
onmousedown="#{richInplaceInputBean.attributes['onmousedown'].value}"
+
onmousemove="#{richInplaceInputBean.attributes['onmousemove'].value}"
+
onmouseout="#{richInplaceInputBean.attributes['onmouseout'].value}"
+
onmouseover="#{richInplaceInputBean.attributes['onmouseover'].value}"
+
onmouseup="#{richInplaceInputBean.attributes['onmouseup'].value}"
+
onselect="#{richInplaceInputBean.attributes['onselect'].value}"
rendered="#{richInplaceInputBean.attributes['rendered'].value}"
required="#{richInplaceInputBean.attributes['required'].value}"
requiredMessage="#{richInplaceInputBean.attributes['requiredMessage'].value}"
@@ -62,9 +89,9 @@
valueChangeListener="#{richInplaceInputBean.attributes['valueChangeListener'].value}"
valueChangeListeners="#{richInplaceInputBean.attributes['valueChangeListeners'].value}"
- <ui:remove>
- <a4j:ajax id="inplaceInputAjax" event="change"
render="output"/>
- </ui:remove>
+
+ <a4j:ajax id="inplaceInputAjax" event="change"
render="output"/>
+
</rich:inplaceInput>
<br/><br/>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-09-02
12:03:08 UTC (rev 19092)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-09-02
12:22:46 UTC (rev 19093)
@@ -118,7 +118,9 @@
<h:outputText value="#{item.sex}" />
</rich:column>
<rich:column>
- <rich:inplaceInput id="nameInput"
value="#{item.name}" defaultLabel="Click here to edit"/>
+ <rich:inplaceInput id="nameInput"
value="#{item.name}" defaultLabel="Click here to edit">
+ <a4j:ajax id="inplaceInputAjax"
event="change"/>
+ </rich:inplaceInput>
</rich:column>
<rich:column>
<h:outputText value="#{item.title}" />