Author: ppitonak(a)redhat.com
Date: 2010-09-29 09:13:25 -0400 (Wed, 29 Sep 2010)
New Revision: 19373
Added:
modules/tests/metamer/trunk/application/src/main/webapp/resources/images/right.png
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml
Log:
* page for graphicImage rewritten (for testing)
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml 2010-09-29
13:04:48 UTC (rev 19372)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml 2010-09-29
13:13:25 UTC (rev 19373)
@@ -40,37 +40,36 @@
</ui:define>
<ui:define name="component">
- <h:graphicImage id="image" library="images"
name="richfaces.jpg">
- <a4j:ajax id="inputAjax"
bypassUpdates="#{a4jAjaxBean.attributes['bypassUpdates'].value}"
-
data="#{a4jAjaxBean.attributes['data'].value}"
-
disabled="#{a4jAjaxBean.attributes['disabled'].value}"
- event="click"
-
execute="#{a4jAjaxBean.attributes['execute'].value}"
-
immediate="#{a4jAjaxBean.attributes['immediate'].value}"
-
limitRender="#{a4jAjaxBean.attributes['limitRender'].value}"
- listener="#{a4jAjaxBean.attributes.listener}"
-
onbeforedomupdate="#{a4jAjaxBean.attributes['onbeforedomupdate'].value}"
-
onbegin="#{a4jAjaxBean.attributes['onbegin'].value}"
-
oncomplete="#{a4jAjaxBean.attributes['oncomplete'].value}"
-
onerror="#{a4jAjaxBean.attributes['onerror'].value}"
-
onevent="#{a4jAjaxBean.attributes['onevent'].value}"
-
queueId="#{a4jAjaxBean.attributes['queueId'].value}"
-
render="#{a4jAjaxBean.attributes['render'].value}"
-
status="#{a4jAjaxBean.attributes['status'].value}"
- />
- </h:graphicImage>
+ <h:panelGrid columns="2">
+ <h:inputText id="input"
value="#{a4jAjaxBean.input}"/>
+ <h:graphicImage id="image" library="images"
name="right.png" style="width: 20px;" title="Submit">
+ <a4j:ajax id="inputAjax"
bypassUpdates="#{a4jAjaxBean.attributes['bypassUpdates'].value}"
+
data="#{a4jAjaxBean.attributes['data'].value}"
+
disabled="#{a4jAjaxBean.attributes['disabled'].value}"
+ event="click"
+
execute="#{a4jAjaxBean.attributes['execute'].value}"
+
immediate="#{a4jAjaxBean.attributes['immediate'].value}"
+
limitRender="#{a4jAjaxBean.attributes['limitRender'].value}"
+ listener="#{a4jAjaxBean.attributes.listener}"
+
onbeforedomupdate="#{a4jAjaxBean.attributes['onbeforedomupdate'].value}"
+
onbegin="#{a4jAjaxBean.attributes['onbegin'].value}"
+
oncomplete="#{a4jAjaxBean.attributes['oncomplete'].value}"
+
onerror="#{a4jAjaxBean.attributes['onerror'].value}"
+
onevent="#{a4jAjaxBean.attributes['onevent'].value}"
+
queueId="#{a4jAjaxBean.attributes['queueId'].value}"
+
render="#{a4jAjaxBean.attributes['render'].value}"
+
status="#{a4jAjaxBean.attributes['status'].value}"
+ />
+ </h:graphicImage>
+ </h:panelGrid>
<br/><br/>
<a4j:outputPanel id="output1" layout="block">
- <h:outputText value="#{timeBean.date}">
- <f:convertDateTime pattern="HH:mm:ss.SSS" />
- </h:outputText>
+ <h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
<a4j:outputPanel id="output2" layout="block">
- <h:outputText value="#{timeBean.date}">
- <f:convertDateTime pattern="HH:mm:ss.SSS" />
- </h:outputText>
+ <h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
</ui:define>
Added: modules/tests/metamer/trunk/application/src/main/webapp/resources/images/right.png
===================================================================
(Binary files differ)
Property changes on:
modules/tests/metamer/trunk/application/src/main/webapp/resources/images/right.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Show replies by date