Author: ppitonak(a)redhat.com
Date: 2010-11-05 07:57:37 -0400 (Fri, 05 Nov 2010)
New Revision: 19948
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/hDataTable/components2.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richCalendar/simple.xhtml
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/richSubTable/components2.xhtml
Log:
https://jira.jboss.org/browse/RF-9178
* added a4j:ajax to calendar
* calendar added to h:dataTable, rich:dataTable, rich:extendedDataTable and rich:subTable
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/hDataTable/components2.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/hDataTable/components2.xhtml 2010-11-05
11:55:06 UTC (rev 19947)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/hDataTable/components2.xhtml 2010-11-05
11:57:37 UTC (rev 19948)
@@ -147,7 +147,10 @@
<h:outputText id="columnHeaderBirthdateComponent"
value="rich:calendar" />
</f:facet>
- <h:outputText value="#{record.birthdate}" />
+ <rich:calendar id="birthdate"
value="#{record.birthdate}">
+ <a4j:ajax event="inputchange"
render="@this"/>
+ </rich:calendar>
+
<f:facet name="footer">
<h:outputText id="columnFooterBirthdate"
value="Birthdate" />
</f:facet>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCalendar/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richCalendar/simple.xhtml 2010-11-05
11:55:06 UTC (rev 19947)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCalendar/simple.xhtml 2010-11-05
11:57:37 UTC (rev 19948)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
xmlns:rich="http://richfaces.org/rich">
+
xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
xmlns:rich="http://richfaces.org/rich"
+
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html">
<!--
JBoss, Home of Professional Open Source
@@ -131,11 +132,15 @@
weekDayLabels="#{richCalendarBean.attributes['weekDayLabels'].value}"
weekDayLabelsShort="#{richCalendarBean.attributes['weekDayLabelsShort'].value}"
zindex="#{richCalendarBean.attributes['zindex'].value}"
- />
+ >
+ <a4j:ajax event="inputchange"
render="output"/>
+ </rich:calendar>
</div>
<br/><br/>
+ output: <h:outputText id="output"
value="#{richCalendarBean.attributes['value'].value}"/>
+
</ui:define>
<ui:define name="outOfTemplateAfter">
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-11-05
11:55:06 UTC (rev 19947)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataTable/components2.xhtml 2010-11-05
11:57:37 UTC (rev 19948)
@@ -137,7 +137,10 @@
<h:outputText id="columnHeaderBirthdateComponent"
value="rich:calendar" />
</f:facet>
- <h:outputText value="#{record.birthdate}" />
+ <rich:calendar id="birthdate"
value="#{record.birthdate}">
+ <a4j:ajax event="inputchange"
render="@this"/>
+ </rich:calendar>
+
<f:facet name="footer">
<h:outputText id="columnFooterBirthdate"
value="Birthdate" />
</f:facet>
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-11-05
11:55:06 UTC (rev 19947)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richExtendedDataTable/components2.xhtml 2010-11-05
11:57:37 UTC (rev 19948)
@@ -41,7 +41,7 @@
}
.rf-edt {
- width: 970px !important;
+ width: 990px !important;
height: 400px !important;
}
@@ -64,7 +64,7 @@
.rf-edt-c-columnBirthdate {
text-align: center;
- width: 150px !important;
+ width: 170px !important;
}
.rf-edt-c-columnCompanies {
@@ -185,7 +185,10 @@
<h:outputText id="columnHeaderBirthdateComponent"
value="rich:calendar" />
</f:facet>
- <h:outputText value="#{record.birthdate}" />
+ <rich:calendar id="birthdate"
value="#{record.birthdate}">
+ <a4j:ajax event="inputchange"
render="@this"/>
+ </rich:calendar>
+
<f:facet name="footer">
<h:outputText id="columnFooterBirthdate"
value="Birthdate" />
</f:facet>
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-11-05
11:55:06 UTC (rev 19947)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richSubTable/components2.xhtml 2010-11-05
11:57:37 UTC (rev 19948)
@@ -128,7 +128,9 @@
</rich:inplaceSelect>
</rich:column>
<rich:column id="columnBirthdate">
- <h:outputText value="#{item.birthdate}" />
+ <rich:calendar id="birthdate"
value="#{item.birthdate}">
+ <a4j:ajax event="inputchange"
render="@this"/>
+ </rich:calendar>
</rich:column>
<rich:column id="columnCompanies">
<ul>