Author: mvitenkov
Date: 2008-04-29 08:47:29 -0400 (Tue, 29 Apr 2008)
New Revision: 8295
Added:
trunk/test-applications/facelets/src/main/java/dataTable/Cell.java
trunk/test-applications/facelets/src/main/java/dataTable/Table.java
trunk/test-applications/facelets/src/main/java/dataTable/TestBean.java
Log:
+dataGrid with multiple input fields. Testing of bug RF-2076
Added: trunk/test-applications/facelets/src/main/java/dataTable/Cell.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/dataTable/Cell.java
(rev 0)
+++ trunk/test-applications/facelets/src/main/java/dataTable/Cell.java 2008-04-29 12:47:29
UTC (rev 8295)
@@ -0,0 +1,13 @@
+package dataTable;
+public class Cell {
+ private Integer value;
+
+ public Integer getValue() {
+ return value;
+ }
+
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+}
Added: trunk/test-applications/facelets/src/main/java/dataTable/Table.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/dataTable/Table.java
(rev 0)
+++ trunk/test-applications/facelets/src/main/java/dataTable/Table.java 2008-04-29
12:47:29 UTC (rev 8295)
@@ -0,0 +1,15 @@
+package dataTable;
+import java.util.ArrayList;
+import java.util.List;
+
+public class Table {
+ private List<Cell> cells = new ArrayList<Cell>();
+
+ public List<Cell> getCells() {
+ return cells;
+ }
+
+ public void setCells(List<Cell> cells) {
+ this.cells = cells;
+ }
+}
Added: trunk/test-applications/facelets/src/main/java/dataTable/TestBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/dataTable/TestBean.java
(rev 0)
+++ trunk/test-applications/facelets/src/main/java/dataTable/TestBean.java 2008-04-29
12:47:29 UTC (rev 8295)
@@ -0,0 +1,36 @@
+package dataTable;
+import java.util.ArrayList;
+import java.util.List;
+
+public class TestBean {
+
+ private List<Table> tables = new ArrayList<Table>();
+
+ public TestBean() {
+ Table t1 = new Table();
+ tables.add(t1);
+ t1.getCells().add(new Cell());
+ t1.getCells().add(new Cell());
+
+ Table t2 = new Table();
+ tables.add(t2);
+ t2.getCells().add(new Cell());
+ t2.getCells().add(new Cell());
+ }
+
+ public String submit() {
+ return null;
+ }
+
+ public void submitAjax() {
+
+ }
+
+ public List<Table> getTables() {
+ return tables;
+ }
+
+ public void setTables(List<Table> tables) {
+ this.tables = tables;
+ }
+}
Show replies by date