Author: adubovsky
Date: 2008-10-21 12:43:03 -0400 (Tue, 21 Oct 2008)
New Revision: 10856
Modified:
trunk/test-applications/facelets/src/main/java/listShuttle/ListShuttle.java
trunk/test-applications/facelets/src/main/java/util/data/Data.java
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml
Log:
Corrections in ListShuttle
Modified: trunk/test-applications/facelets/src/main/java/listShuttle/ListShuttle.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/listShuttle/ListShuttle.java 2008-10-21
15:43:06 UTC (rev 10855)
+++ trunk/test-applications/facelets/src/main/java/listShuttle/ListShuttle.java 2008-10-21
16:43:03 UTC (rev 10856)
@@ -14,13 +14,14 @@
public class ListShuttle {
private int first;
private int lenght;
- private String [] statusIcon = {"/pics/error.gif",
"/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif",
"/pics/warn.gif"};
+ private String[] statusIcon = { "/pics/error.gif",
"/pics/fatal.gif",
+ "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif"
};
private boolean fastMoveControlsVisible;
private boolean fastOrderControlsVisible;
private boolean moveControlsVisible;
private boolean orderControlsVisible;
private boolean showButtonLabels;
- private boolean showSelect;
+ private boolean showSelect;
private boolean showAllSourceData;
private boolean showAllTargetData;
private boolean switchByClick;
@@ -41,7 +42,7 @@
private String sourceListWidth;
private String listsHeight;
private String sourceCaptionLabel;
- private String targetCaptionLabel;
+ private String targetCaptionLabel;
private HtmlListShuttle htmlListShuttle = null;
public HtmlListShuttle getHtmlListShuttle() {
@@ -52,13 +53,13 @@
this.htmlListShuttle = htmlListShuttle;
}
- public String add(){
+ public String add() {
ComponentInfo info = ComponentInfo.getInstance();
info.addField(htmlListShuttle);
return null;
}
-
- public ListShuttle() {
+
+ public ListShuttle() {
this.first = 1;
this.lenght = 10;
this.showSelect = true;
@@ -79,9 +80,9 @@
this.upControlLabel = "up";
this.info = new ArrayList<String>();
this.switchByClick = false;
- this.targetListWidth = "300";
- this.sourceListWidth = "300";
- this.listsHeight = "400";
+ this.targetListWidth = "450";
+ this.sourceListWidth = "450";
+ this.listsHeight = "300";
this.sourceCaptionLabel = "sourceCaptionLabel";
this.targetCaptionLabel = "targetCaptionLabel";
this.targetValue = new ArrayList<Data>();
@@ -214,14 +215,16 @@
}
public void addNewItem() {
- if(lenght < 0) lenght = 0;
- if(sourceValue.size() > lenght)
- for(int i = lenght; i < sourceValue.size(); )
+ if (lenght < 0)
+ lenght = 0;
+ if (sourceValue.size() > lenght)
+ for (int i = lenght; i < sourceValue.size();)
sourceValue.remove(i);
else
- for(int i = sourceValue.size() + 1; i <= lenght; i++)
- sourceValue.add(new Data(i, "Button " + i, "Link " + i,
"select" +(i % 5), statusIcon[i % 5]));
- }
+ for (int i = sourceValue.size() + 1; i <= lenght; i++)
+ sourceValue.add(new Data(i, "Button " + i, "Link " + i,
+ "Select" + (i % 5), statusIcon[i % 5], "Input" + i));
+ }
public int getLenght() {
return lenght;
@@ -245,12 +248,12 @@
public void setTargetValue(ArrayList<Data> targetValue) {
this.targetValue = targetValue;
}
-
+
public void cbAction() {
info.clear();
info.add("commandButton submit();");
}
-
+
public void clAction() {
info.clear();
info.add("commandLink submit();");
@@ -295,7 +298,7 @@
public void setTargetSelection(Collection targetSelection) {
this.targetSelection = targetSelection;
}
-
+
public boolean isSwitchByClick() {
return switchByClick;
}
@@ -343,14 +346,18 @@
public void setTargetCaptionLabel(String targetCaptionLabel) {
this.targetCaptionLabel = targetCaptionLabel;
}
-
+
private void addSelection(Collection<Data> selection, String description) {
- if(selection == null) return;
+ if (selection == null)
+ return;
Iterator<Data> inter = selection.iterator();
Data data = new Data();
while (inter.hasNext()) {
data = inter.next();
- info.add(description + ": " + data.getInt0() + "; " +
data.getStr0() + "; " + data.getStr0() + "submit(); " + data.getStr1()
+ "; " + data.getStr1() + "submit(); " + data.getStr2() + ";
" + data.getStr3());
+ info.add(description + ": " + data.getInt0() + "; "
+ + data.getStr0() + "; " + data.getStr0() + "submit(); "
+ + data.getStr1() + "; " + data.getStr1() + "submit(); "
+ + data.getStr2() + "; " + data.getStr3());
}
}
}
Modified: trunk/test-applications/facelets/src/main/java/util/data/Data.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-10-21 15:43:06
UTC (rev 10855)
+++ trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-10-21 16:43:03
UTC (rev 10856)
@@ -4,29 +4,94 @@
import java.util.Date;
import java.util.Random;
-public class Data implements Serializable{
+public class Data implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
- public static final String[] statusIcon = {"/pics/error.gif",
"/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif",
"/pics/warn.gif"};
- public static final String[] status = {"error", "fatal",
"info", "passed", "warn"};
-
- public static final String[] cityAfrica = {"Africa", "Algeria",
"Angola", "Bassas da India", "Benin", "Botswana",
"Burkina Faso", "Burundi", "Cameroon", "Central African
Republic", "Chad", "Comoros", "Democratic Republic of the
Congo", "Djibouti", "Egypt", "Equatorial Guinea",
"Eritrea", "Ethiopia", "Europa Island", "Gabon",
"Gambia", "Ghana", "Glorioso Islands", "Guinea",
"Guinea-Bissau", "Ivory Coast", "Juan de Nova Island",
"Kenya", "Lesotho", "Liberia", "Libya",
"Madagascar", "Malawi", "Mali", "Mauritania",
"Mauritius Island", "Mayotte", "Morocco",
"Mozambique", "Namibia", "Nigeria", "Republic of the
Congo", "Reunion", "Rwanda", "Niger", "Saint
Helena", "Sao Tome and Principe", "Senegal",
"Seychelles", "Sierra Leone", "Somalia", "South
Africa", "Sudan", "Swaziland", "Tanzania",
"Togo", "Tromelin Island", "Tunisia", "Uganda",
"Western Sahara", "Zambia", "Zimbabwe"};
- public static final String[] cityAsia = {"Asia", "Afghanistan",
"Armenia", "Azerbaijan", "Bangladesh", "Bhutan",
"China", "Georgia", "India", "Japan",
"Kazakhstan", "Korea, North", "Korea, South",
"Kyrgyzstan", "Maldives", "Mongolia", "Nepal",
"Pakistan", "Russia", "Sri Lanka", "Tajikistan",
"Turkmenistan", "Uzbekistan"};
- public static final String[] cityCAmerica = {"Central America",
"Belize", "Costa Rica", "El Salvador",
"Guatemala", "Honduras", "Nicaragua", "Panama"};
- public static final String[] cityEurope = {"Europe", "Albania",
"Andorra", "Austria", "Belarus", "Belgium",
"Bosnia and Herzegovina", "Bulgaria", "Canary Islands",
"Croatia", "Czech Republic", "Denmark", "Estonia",
"Faroe Islands", "Finland", "France", "Germany",
"Gibraltar", "Greece", "Guernsey", "Hungary",
"Iceland", "Ireland", "Isle of Man", "Italy",
"Jersey", "Latvia", "Liechtenstein", "Lithuania",
"Luxembourg", "Macedonia", "Malta", "Moldova",
"Monaco", "Montenegro", "Netherlands", "Norway",
"Poland", "Portugal", "Romania", "San Marino",
"Serbia and Montenegro", "Slovakia", "Slovenia",
"Spain", "Sweden", "Switzerland", "Ukraine",
"United Kingdom", "Vatican The Holy See"};
- public static final String[] cityMEast = {"Middle East",
"Akrotiri", "Bahrain", "Cyprus", "Dhekelia",
"Gaza Strip", "Iran", "Iraq", "Israel",
"Jordan", "Kuwait", "Lebanon", "Oman",
"Qatar", "Saudi Arabia", "Syria", "Turkey",
"United Arab Emirates", "West Bank", "Yemen"};
- public static final String[] cityNAmerica = {"North America",
"Bermuda", "Canada", "Greenland", "Mexico",
"Saint Pierre and Miquelon", "United States of America"};
- public static final String[] cityOceania = {"Oceania", "American
Samoa", "Australia", "Baker Island", "Cook Islands",
"Coral Sea Islands", "Fiji", "French Polynesia",
"Guam", "Howland Island", "Jarvis Island", "Johnston
Atoll", "Kingman Reef", "Kiribati", "Marshall Islands",
"Micronesia", "Midway Islands", "Nauru", "New
Caledonia", "New Zealand", "Niue", "Norfolk Island",
"Northern Mariana Islands", "Palau", "Palmyra Atoll",
"Papua New Guinea", "Pitcairn Islands", "Samoa",
"Solomon Islands", "Tokelau", "Tonga", "Tuvalu",
"Vanuatu", "Wake Island", "Wallis and Futuna"};
- public static final String[] citySAmerica = {"South
America","Argentina", "Bolivia", "Brazil",
"Chile", "Colombia", "Easter Island", "Ecuador",
"Falkland Islands", "French Guiana", "Guyana",
"Paraguay", "Peru", "Suriname", "Uruguay",
"Venezuela"};
- public static final String[] citySEAsia = {"SouthEast Asia", "Ashmore
and Cartier Islands", "Brunei", "Burma", "Cambodia",
"Christmas Island", "Cocos (Keeling) Islands", "East Timor",
"Hong Kong", "Indonesia", "Laos", "Malaysia",
"Paracel Islands", "Philippines", "Singapore", "Spratly
Islands", "Taiwan", "Thailand", "Vietnam"};
- public static final String[] cityCaribbean = {"The Caribbean",
"Anguilla", "Antigua and Barbuda", "Aruba",
"Barbados", "British Virgin Islands", "Cayman Islands",
"Cuba", "Dominica", "Dominican Republic",
"Grenada", "Guadeloupe", "Haiti", "Jamaica",
"Martinique", "Montserrat", "Navassa Island",
"Netherlands Antilles", "Puerto Rico", "Saint Barthelemy",
"Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the
Grenadines", "The Bahamas", "Trinidad and Tobago", "Turks
and Caicos Islands", "Virgin Islands"};
+ public static final String[] statusIcon = { "/pics/error.gif",
+ "/pics/fatal.gif", "/pics/info.gif",
"/pics/passed.gif",
+ "/pics/warn.gif" };
+ public static final String[] status = { "error", "fatal",
"info", "passed",
+ "warn" };
+ public static final String[] cityAfrica = { "Africa", "Algeria",
"Angola",
+ "Bassas da India", "Benin", "Botswana", "Burkina
Faso", "Burundi",
+ "Cameroon", "Central African Republic", "Chad",
"Comoros",
+ "Democratic Republic of the Congo", "Djibouti",
"Egypt",
+ "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa
Island",
+ "Gabon", "Gambia", "Ghana", "Glorioso
Islands", "Guinea",
+ "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island",
"Kenya",
+ "Lesotho", "Liberia", "Libya", "Madagascar",
"Malawi", "Mali",
+ "Mauritania", "Mauritius Island", "Mayotte",
"Morocco",
+ "Mozambique", "Namibia", "Nigeria", "Republic of
the Congo",
+ "Reunion", "Rwanda", "Niger", "Saint Helena",
+ "Sao Tome and Principe", "Senegal", "Seychelles",
"Sierra Leone",
+ "Somalia", "South Africa", "Sudan",
"Swaziland", "Tanzania",
+ "Togo", "Tromelin Island", "Tunisia",
"Uganda", "Western Sahara",
+ "Zambia", "Zimbabwe" };
+ public static final String[] cityAsia = { "Asia", "Afghanistan",
"Armenia",
+ "Azerbaijan", "Bangladesh", "Bhutan", "China",
"Georgia", "India",
+ "Japan", "Kazakhstan", "Korea, North", "Korea,
South",
+ "Kyrgyzstan", "Maldives", "Mongolia", "Nepal",
"Pakistan",
+ "Russia", "Sri Lanka", "Tajikistan",
"Turkmenistan", "Uzbekistan" };
+ public static final String[] cityCAmerica = { "Central America",
"Belize",
+ "Costa Rica", "El Salvador", "Guatemala",
"Honduras", "Nicaragua",
+ "Panama" };
+ public static final String[] cityEurope = { "Europe", "Albania",
"Andorra",
+ "Austria", "Belarus", "Belgium", "Bosnia and
Herzegovina",
+ "Bulgaria", "Canary Islands", "Croatia", "Czech
Republic",
+ "Denmark", "Estonia", "Faroe Islands",
"Finland", "France",
+ "Germany", "Gibraltar", "Greece", "Guernsey",
"Hungary", "Iceland",
+ "Ireland", "Isle of Man", "Italy", "Jersey",
"Latvia",
+ "Liechtenstein", "Lithuania", "Luxembourg",
"Macedonia", "Malta",
+ "Moldova", "Monaco", "Montenegro",
"Netherlands", "Norway",
+ "Poland", "Portugal", "Romania", "San
Marino",
+ "Serbia and Montenegro", "Slovakia", "Slovenia",
"Spain", "Sweden",
+ "Switzerland", "Ukraine", "United Kingdom",
"Vatican The Holy See" };
+ public static final String[] cityMEast = { "Middle East",
"Akrotiri",
+ "Bahrain", "Cyprus", "Dhekelia", "Gaza Strip",
"Iran", "Iraq",
+ "Israel", "Jordan", "Kuwait", "Lebanon",
"Oman", "Qatar",
+ "Saudi Arabia", "Syria", "Turkey", "United Arab
Emirates",
+ "West Bank", "Yemen" };
+ public static final String[] cityNAmerica = { "North America",
"Bermuda",
+ "Canada", "Greenland", "Mexico", "Saint Pierre and
Miquelon",
+ "United States of America" };
+ public static final String[] cityOceania = { "Oceania", "American
Samoa",
+ "Australia", "Baker Island", "Cook Islands", "Coral
Sea Islands",
+ "Fiji", "French Polynesia", "Guam", "Howland
Island",
+ "Jarvis Island", "Johnston Atoll", "Kingman Reef",
"Kiribati",
+ "Marshall Islands", "Micronesia", "Midway Islands",
"Nauru",
+ "New Caledonia", "New Zealand", "Niue", "Norfolk
Island",
+ "Northern Mariana Islands", "Palau", "Palmyra Atoll",
+ "Papua New Guinea", "Pitcairn Islands", "Samoa",
"Solomon Islands",
+ "Tokelau", "Tonga", "Tuvalu", "Vanuatu",
"Wake Island",
+ "Wallis and Futuna" };
+ public static final String[] citySAmerica = { "South America",
"Argentina",
+ "Bolivia", "Brazil", "Chile", "Colombia",
"Easter Island",
+ "Ecuador", "Falkland Islands", "French Guiana",
"Guyana",
+ "Paraguay", "Peru", "Suriname", "Uruguay",
"Venezuela" };
+ public static final String[] citySEAsia = { "SouthEast Asia",
+ "Ashmore and Cartier Islands", "Brunei", "Burma",
"Cambodia",
+ "Christmas Island", "Cocos (Keeling) Islands", "East
Timor",
+ "Hong Kong", "Indonesia", "Laos", "Malaysia",
"Paracel Islands",
+ "Philippines", "Singapore", "Spratly Islands",
"Taiwan",
+ "Thailand", "Vietnam" };
+ public static final String[] cityCaribbean = { "The Caribbean",
"Anguilla",
+ "Antigua and Barbuda", "Aruba", "Barbados",
+ "British Virgin Islands", "Cayman Islands", "Cuba",
"Dominica",
+ "Dominican Republic", "Grenada", "Guadeloupe",
"Haiti", "Jamaica",
+ "Martinique", "Montserrat", "Navassa Island",
+ "Netherlands Antilles", "Puerto Rico", "Saint
Barthelemy",
+ "Saint Kitts and Nevis", "Saint Lucia",
+ "Saint Vincent and the Grenadines", "The Bahamas",
+ "Trinidad and Tobago", "Turks and Caicos Islands", "Virgin
Islands" };
+
private String str0;
private String str1;
private String str2;
private String str3;
+ private String str4;
private int int0;
private int int1;
private int int2;
@@ -36,12 +101,13 @@
private boolean bool2;
private boolean bool3;
private Date date0;
-
+
public Data() {
this.str0 = "";
this.str1 = "";
this.str2 = "";
this.str3 = "";
+ this.str4 = "";
this.int0 = 0;
this.int1 = 0;
this.int2 = 0;
@@ -52,7 +118,8 @@
this.bool3 = false;
}
- public Data(int int0, int int1, String str0, int int2, String str1, int int3, String
str2, String str3, boolean bool0) {
+ public Data(int int0, int int1, String str0, int int2, String str1,
+ int int3, String str2, String str3, boolean bool0) {
this.str0 = str0;
this.str1 = str1;
this.str2 = str2;
@@ -63,7 +130,7 @@
this.int3 = int3;
this.bool0 = bool0;
}
-
+
public Data(String str0, String str1, String str2, String str3, int int0,
int int1, int int2, int int3, boolean bool0, boolean bool1,
boolean bool2, boolean bool3) {
@@ -81,22 +148,22 @@
this.bool3 = bool3;
}
- public Data(String str0, String str1, String str2, String str3){
+ public Data(String str0, String str1, String str2, String str3) {
this.str0 = str0;
this.str1 = str1;
this.str2 = str2;
this.str3 = str3;
}
-
- public Data(int int0, String str0, String str1, String str2, String str3){
+
+ public Data(int int0, String str0, String str1, String str2, String str3) {
this.int0 = int0;
this.str0 = str0;
this.str1 = str1;
this.str2 = str2;
this.str3 = str3;
}
-
- public Data(int int0, String str0, String str1, String str2, boolean bool0){
+
+ public Data(int int0, String str0, String str1, String str2, boolean bool0) {
this.int0 = int0;
this.str0 = str0;
this.str1 = str1;
@@ -104,125 +171,158 @@
this.bool0 = bool0;
}
- //for scrollableDataTable component
- public Data(int int0, String str0, String str1, String str2, String str3, Date date0){
+ public Data(int int0, String str0, String str1, String str2, String str3, String str4){
this.int0 = int0;
this.str0 = str0;
this.str1 = str1;
this.str2 = str2;
this.str3 = str3;
+ this.str4 = str4;
+ }
+
+ // for scrollableDataTable component
+ public Data(int int0, String str0, String str1, String str2, String str3,
+ Date date0) {
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
this.date0 = date0;
}
-
- public Data(String str0){
+
+ public Data(String str0) {
this.str0 = str0;
- }
-
+ }
+
public Data(int int0) {
this.int0 = int0;
}
-
- public Data(String str0, String str1){
+
+ public Data(String str0, String str1) {
this.str0 = str0;
this.str1 = str1;
}
-
- public Data(String str0, int int0){
+
+ public Data(String str0, int int0) {
this.str0 = str0;
this.int0 = int0;
}
-
- public Data(String str0, int int0, boolean bool0){
+
+ public Data(String str0, int int0, boolean bool0) {
this.str0 = str0;
this.int0 = int0;
this.bool0 = bool0;
}
-
+
public String getStr0() {
return str0;
}
+
public void setStr0(String str0) {
this.str0 = str0;
}
+
public String getStr1() {
return str1;
}
+
public void setStr1(String str1) {
this.str1 = str1;
}
+
public String getStr2() {
return str2;
}
+
public void setStr2(String str2) {
this.str2 = str2;
}
+
public String getStr3() {
return str3;
}
+
public void setStr3(String str3) {
this.str3 = str3;
}
+
public int getInt0() {
return int0;
}
+
public void setInt0(int int0) {
this.int0 = int0;
}
+
public int getInt1() {
return int1;
}
+
public void setInt1(int int1) {
this.int1 = int1;
}
+
public int getInt2() {
return int2;
}
+
public void setInt2(int int2) {
this.int2 = int2;
}
+
public int getInt3() {
return int3;
}
+
public void setInt3(int int3) {
this.int3 = int3;
}
+
public boolean isBool0() {
return bool0;
}
+
public void setBool0(boolean bool0) {
this.bool0 = bool0;
}
+
public boolean isBool1() {
return bool1;
}
+
public void setBool1(boolean bool1) {
this.bool1 = bool1;
}
+
public boolean isBool2() {
return bool2;
}
+
public void setBool2(boolean bool2) {
this.bool2 = bool2;
}
+
public boolean isBool3() {
return bool3;
}
+
public void setBool3(boolean bool3) {
this.bool3 = bool3;
}
-
- public static String Random(int size){
- char [] c = new char[size];
- for(int i = 0; i < size; i++){
- c[i] = (char)(new Random().nextInt(25) + 97);
+
+ public static String Random(int size) {
+ char[] c = new char[size];
+ for (int i = 0; i < size; i++) {
+ c[i] = (char) (new Random().nextInt(25) + 97);
}
return new String(c);
}
-
- public static String RandomUp(int size){
- char [] c = new char[size];
- for(int i = 0; i < size; i++){
- c[i] = (char)(new Random().nextInt(25) + 65);
+
+ public static String RandomUp(int size) {
+ char[] c = new char[size];
+ for (int i = 0; i < size; i++) {
+ c[i] = (char) (new Random().nextInt(25) + 65);
}
return new String(c);
}
@@ -251,7 +351,7 @@
@Override
public String toString() {
- return str0 +":"+int0;
+ return str0 + ":" + int0;
}
public Date getDate0() {
@@ -261,4 +361,12 @@
public void setDate0(Date date0) {
this.date0 = date0;
}
+
+ public String getStr4() {
+ return str4;
+ }
+
+ public void setStr4(String str4) {
+ this.str4 = str4;
+ }
}
Modified: trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-10-21
15:43:06 UTC (rev 10855)
+++
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-10-21
16:43:03 UTC (rev 10856)
@@ -1,91 +1,156 @@
-<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich" id="listShuttleSubviewID">
- <rich:listShuttle id="listShuttleID" var="item"
- sourceValue="#{listShuttle.sourceValue}"
targetValue="#{listShuttle.targetValue}"
- bottomControlLabel="#{listShuttle.bottomControlLabel}"
copyAllControlLabel="#{listShuttle.copyAllControlLabel}"
- copyControlLabel="#{listShuttle.copyControlLabel}"
downControlLabel="#{listShuttle.downControlLabel}"
- fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}"
converter="listShuttleConverter"
- fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}"
first="#{listShuttle.first}"
- moveControlsVisible="#{listShuttle.moveControlsVisible}"
orderControlsVisible="#{listShuttle.orderControlsVisible}"
- removeAllControlLabel="#{listShuttle.removeAllControlLabel}"
removeControlLabel="#{listShuttle.removeControlLabel}"
- sourceSelection="#{listShuttle.sourceSelection}"
targetSelection="#{listShuttle.targetSelection}"
- showButtonLabels="#{listShuttle.showButtonLabels}"
switchByClick="#{listShuttle.switchByClick}"
- targetListWidth="#{listShuttle.targetListWidth}"
sourceListWidth="#{listShuttle.sourceListWidth}"
- listsHeight="#{listShuttle.listsHeight}"
sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
- targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
- topControlLabel="#{listShuttle.topControlLabel}"
upControlLabel="#{listShuttle.upControlLabel}"
- onmousemove="#{event.onmousemove}" onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}"
- onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onorderchanged="#{event.onorderchanged}"
ontopclick="#{event.ontopclick}"
- onupclick="#{event.onupclick}" ondownclick="#{event.ondownclick}"
onbottomclick="#{event.onbottomclick}"
binding="#{listShuttle.htmlListShuttle}">
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
id="listShuttleSubviewID">
+
+ <rich:listShuttle id="listShuttleID" var="item"
+ sourceValue="#{listShuttle.sourceValue}"
+ targetValue="#{listShuttle.targetValue}"
+ bottomControlLabel="#{listShuttle.bottomControlLabel}"
+ copyAllControlLabel="#{listShuttle.copyAllControlLabel}"
+ copyControlLabel="#{listShuttle.copyControlLabel}"
+ downControlLabel="#{listShuttle.downControlLabel}"
+ fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}"
+ converter="listShuttleConverter"
+ fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}"
+ first="#{listShuttle.first}"
+ moveControlsVisible="#{listShuttle.moveControlsVisible}"
+ orderControlsVisible="#{listShuttle.orderControlsVisible}"
+ removeAllControlLabel="#{listShuttle.removeAllControlLabel}"
+ removeControlLabel="#{listShuttle.removeControlLabel}"
+ sourceSelection="#{listShuttle.sourceSelection}"
+ targetSelection="#{listShuttle.targetSelection}"
+ showButtonLabels="#{listShuttle.showButtonLabels}"
+ switchByClick="#{listShuttle.switchByClick}"
+ targetListWidth="#{listShuttle.targetListWidth}"
+ sourceListWidth="#{listShuttle.sourceListWidth}"
+ listsHeight="#{listShuttle.listsHeight}"
+ sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
+ targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
+ topControlLabel="#{listShuttle.topControlLabel}"
+ upControlLabel="#{listShuttle.upControlLabel}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onorderchanged="#{event.onorderchanged}"
+ ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}"
+ ondownclick="#{event.ondownclick}"
+ onbottomclick="#{event.onbottomclick}"
+ binding="#{listShuttle.htmlListShuttle}">
- <h:column>
- <f:facet name="header">
- <h:outputText value="Number" />
- </f:facet>
- <h:outputText value="#{item.int0}" />
- </h:column>
+ <!--
+ <f:facet name="topControl">
+ <h:outputText value="top" />
+ </f:facet>
+ <f:facet name="bottomControl">
+ <h:outputText value="bottom" />
+ </f:facet>
+ <f:facet name="upControl">
+ <h:outputText value="up" />
+ </f:facet>
+ <f:facet name="downControl">
+ <h:outputText value="down" />
+ </f:facet>
+ <f:facet name="topControlDisabled">
+ <h:outputText value="top disabled" />
+ </f:facet>
+ <f:facet name="bottomControlDisabled">
+ <h:outputText value="bottom disabled" />
+ </f:facet>
+ <f:facet name="upControlDisabled">
+ <h:outputText value="up disabled" />
+ </f:facet>
+ <f:facet name="downControlDisabled">
+ <h:outputText value="down disabled" />
+ </f:facet>
+
+
+ <f:facet name="copyControl">
+ <h:outputText value="copy" />
+ </f:facet>
+ <f:facet name="removeControl">
+ <h:outputText value="remove" />
+ </f:facet>
+ <f:facet name="copyAllControl">
+ <h:outputText value="copy all" />
+ </f:facet>
+ <f:facet name="removeAllControl">
+ <h:outputText value="remove all" />
+ </f:facet>
+ <f:facet name="copyControlDisabled">
+ <h:outputText value="copy disabled" />
+ </f:facet>
+ <f:facet name="removeControlDisabled">
+ <h:outputText value="remove disabled" />
+ </f:facet>
+ <f:facet name="copyAllControlDisabled">
+ <h:outputText value="copy all disabled" />
+ </f:facet>
+ <f:facet name="removeAllControlDisabled">
+ <h:outputText value="remove all disabled" />
+ </f:facet>
+ -->
- <h:column>
- <f:facet name="header">
- <h:outputText value="Input" />
- </f:facet>
- <h:inputText value="#{item.str0}" />
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Output" />
+ </f:facet>
+ <h:outputText value="#{item.int0}" />
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Button" />
- </f:facet>
- <h:commandButton onclick="submit();"
action="#{listShuttle.cbAction}" value="#{item.str0} submit();"/>
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Input" />
+ </f:facet>
+ <h:inputText value="#{item.str4}" />
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Input" />
- </f:facet>
- <h:inputText value="#{item.str1}" />
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Button" />
+ </f:facet>
+ <h:commandButton onclick="submit();"
action="#{listShuttle.cbAction}"
+ value="#{item.str0} sbmt();" />
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Link" />
- </f:facet>
- <a4j:commandLink action="#{listShuttle.clAction}"
value="#{item.str1} submit()"
reRender="listShuttleID"></a4j:commandLink>
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="a4jLink" />
+ </f:facet>
+ <a4j:commandLink action="#{listShuttle.clAction}"
+ value="#{item.str1} a4j()"
reRender="listShuttleID"></a4j:commandLink>
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="select" />
- </f:facet>
- <h:selectOneMenu value="#{item.str2}">
- <f:selectItem itemLabel="select0" itemValue="select0" />
- <f:selectItem itemLabel="select1" itemValue="select1" />
- <f:selectItem itemLabel="select2" itemValue="select2" />
- <f:selectItem itemLabel="select3" itemValue="select3" />
- <f:selectItem itemLabel="select4" itemValue="select4" />
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:selectOneMenu>
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Select" />
+ </f:facet>
+ <h:selectOneMenu value="#{item.str2}">
+ <f:selectItem itemLabel="select0" itemValue="select0" />
+ <f:selectItem itemLabel="select1" itemValue="select1" />
+ <f:selectItem itemLabel="select2" itemValue="select2" />
+ <f:selectItem itemLabel="select3" itemValue="select3" />
+ <f:selectItem itemLabel="select4" itemValue="select4" />
+ <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
+ </h:selectOneMenu>
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Text" />
- </f:facet>
- <h:outputText value="#{item.str3}" />
- </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="graphicImage" />
+ </f:facet>
+ <h:graphicImage value="#{item.str3}" />
+ </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="graphicImage" />
- </f:facet>
- <h:graphicImage value="#{item.str3}" />
- </h:column>
-
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Link"></h:outputText>
- </f:facet>
- <h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
- </rich:column>
- </rich:listShuttle>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="OutputLink"></h:outputText>
+ </f:facet>
+ <h:outputLink
value="http://www.jboss.com/">
+ <f:verbatim>outputLink</f:verbatim>
+ </h:outputLink>
+ </rich:column>
+ </rich:listShuttle>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-10-21
15:43:06 UTC (rev 10855)
+++
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-10-21
16:43:03 UTC (rev 10856)
@@ -5,68 +5,80 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="listShuttlePropertySubviewID">
- <h:commandButton action="#{listShuttle.add}" value="add test"
/>
- <h:panelGrid columns="3">
- <h:column></h:column>
- <h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.hide()"
- value="hide"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.show()"
- value="show"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown())"
- value="isShown"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
- value="enable"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
- value="disable"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
- value="isEnabled"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
- value="up"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
- value="down"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
- value="top"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
- value="bottom"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
- value="copy"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
- value="remove"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
- value="copyAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
- value="removeAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
- value="targetList.getSelection"></a4j:commandLink>
+ <h:commandButton value="add test"
+ action="#{listShuttle.add}"></h:commandButton>
+
+ <br />
+ <br />
+ <h:outputText value="JavaScript API" style="font-weight: bold;"
/>
+ <h:panelGrid columns="4" border="1">
+ <h:panelGroup>
<a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
- value="sourceList.getSelection"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
- value="targetList.getItems"></a4j:commandLink>
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
+ value="enable"></a4j:commandLink>
+ <br />
<a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
- value="sourceList.getItems"></a4j:commandLink>
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
+ value="disable"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
+ value="isEnabled"></a4j:commandLink>
+ </h:panelGroup>
+ <h:panelGroup>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
+ value="up"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
+ value="down"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
+ value="top"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
+ value="bottom"></a4j:commandLink>
+ </h:panelGroup>
+ <h:panelGroup>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
+ value="copy"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
+ value="remove"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
+ value="copyAll"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
+ value="removeAll"></a4j:commandLink>
+ </h:panelGroup>
+ <h:panelGroup>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
+ value="targetList.getSelection"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
+ value="sourceList.getSelection"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
+ value="targetList.getItems"></a4j:commandLink>
+ <br />
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
+ value="sourceList.getItems"></a4j:commandLink>
+ </h:panelGroup>
</h:panelGrid>
-
+
<h:panelGrid columns="2">
<h:column></h:column>
<h:panelGroup>
@@ -85,9 +97,7 @@
</h:panelGroup>
<h:outputText value="first" />
- <h:inputText value="#{listShuttle.first}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.first}" onchange="submit()"
/>
<h:outputText value="showButtonLabels" />
<h:selectBooleanCheckbox value="#{listShuttle.showButtonLabels}"
@@ -114,71 +124,56 @@
onchange="submit();" />
<h:outputText value="sourceCaptionLabel" />
- <h:inputText value="#{listShuttle.sourceCaptionLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.sourceCaptionLabel}"
+ onchange="submit()" />
<h:outputText value="targetCaptionLabel" />
- <h:inputText value="#{listShuttle.targetCaptionLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.targetCaptionLabel}"
+ onchange="submit()" />
<h:outputText value="sourceListWidth" />
- <h:inputText value="#{listShuttle.sourceListWidth}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.sourceListWidth}"
+ onchange="submit()" />
<h:outputText value="targetListWidth" />
- <h:inputText value="#{listShuttle.targetListWidth}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.targetListWidth}"
+ onchange="submit()" />
<h:outputText value="listsHeight" />
- <h:inputText value="#{listShuttle.listsHeight}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.listsHeight}"
onchange="submit()" />
<h:outputText value="copyControlLabel" />
- <h:inputText value="#{listShuttle.copyControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.copyControlLabel}"
+ onchange="submit()" />
<h:outputText value="removeControlLabel" />
- <h:inputText value="#{listShuttle.removeControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.removeControlLabel}"
+ onchange="submit()" />
<h:outputText value="copyAllControlLabel" />
- <h:inputText value="#{listShuttle.copyAllControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.copyAllControlLabel}"
+ onchange="submit()" />
<h:outputText value="removeAllControlLabel" />
- <h:inputText value="#{listShuttle.removeAllControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.removeAllControlLabel}"
+ onchange="submit()" />
<h:outputText value="bottomControlLabel" />
- <h:inputText value="#{listShuttle.bottomControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.bottomControlLabel}"
+ onchange="submit()" />
<h:outputText value="downControlLabel" />
- <h:inputText value="#{listShuttle.downControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.downControlLabel}"
+ onchange="submit()" />
<h:outputText value="topControlLabel" />
- <h:inputText value="#{listShuttle.topControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.topControlLabel}"
+ onchange="submit()" />
<h:outputText value="upControlLabel" />
- <h:inputText value="#{listShuttle.upControlLabel}">
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
- </h:inputText>
+ <h:inputText value="#{listShuttle.upControlLabel}"
onchange="submit()" />
</h:panelGrid>
-
+
<br />
<br />
<!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
Modified:
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml 2008-10-21
15:43:06 UTC (rev 10855)
+++
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleStraightforward.xhtml 2008-10-21
16:43:03 UTC (rev 10856)
@@ -1,27 +1,39 @@
-<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="listShuttleStraightforwardSubviewID">
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+ id="listShuttleStraightforwardSubviewID">
<h:panelGrid columns="3">
- <a4j:commandButton value="Show selection (reRender)"
reRender="infoLSID"></a4j:commandButton>
+ <a4j:commandButton value="Show selection (reRender)"
+ reRender="infoLSID"></a4j:commandButton>
<h:column>
- <h:selectBooleanCheckbox value="#{listShuttle.showSelect}"
onclick="submit();" />
+ <h:selectBooleanCheckbox value="#{listShuttle.showSelect}"
+ onclick="submit();" />
</h:column>
<h:column>
- <h:dataTable id="infoLSID" value="#{listShuttle.info}"
var="info" rendered="#{listShuttle.showSelect}"
border="1">
+ <h:dataTable id="infoLSID" value="#{listShuttle.info}"
var="info"
+ rendered="#{listShuttle.showSelect}" border="1">
<h:column>
<h:outputText value="#{info}" />
</h:column>
</h:dataTable>
</h:column>
- <a4j:commandButton value="Show all source (reRender)"
reRender="allInfoLSSourceID"></a4j:commandButton>
+ <a4j:commandButton value="Show all source (reRender)"
+ reRender="allInfoLSSourceID"></a4j:commandButton>
<h:column>
- <h:selectBooleanCheckbox value="#{listShuttle.showAllSourceData}"
onclick="submit();" />
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllSourceData}"
+ onclick="submit();" />
</h:column>
<h:column>
- <h:dataTable id="allInfoLSSourceID"
value="#{listShuttle.sourceValue}" var="allInfo"
rendered="#{listShuttle.showAllSourceData}" border="1">
+ <h:dataTable id="allInfoLSSourceID"
+ value="#{listShuttle.sourceValue}" var="allInfo"
+ rendered="#{listShuttle.showAllSourceData}" border="1">
<h:column>
<f:facet name="header">
- <h:outputText value="Number" />
+ <h:outputText value="Output" />
</f:facet>
<h:outputText value="#{allInfo.int0}" />
</h:column>
@@ -30,7 +42,7 @@
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
- <h:outputText value="#{allInfo.str0}" />
+ <h:outputText value="#{allInfo.str4}" />
</h:column>
<h:column>
@@ -42,50 +54,40 @@
<h:column>
<f:facet name="header">
- <h:outputText value="Input" />
+ <h:outputText value="a4jLink" />
</f:facet>
- <h:outputText value="#{allInfo.str1}" />
+ <h:outputText value="#{allInfo.str1} a4j" />
</h:column>
<h:column>
<f:facet name="header">
- <h:outputText value="Link" />
+ <h:outputText value="Select" />
</f:facet>
- <h:outputText value="#{allInfo.str1} submit()" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="select" />
- </f:facet>
<h:outputText value="#{allInfo.str2}" />
</h:column>
<h:column>
<f:facet name="header">
- <h:outputText value="Text" />
+ <h:outputText value="GraphicImage" />
</f:facet>
<h:outputText value="#{allInfo.str3}" />
</h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="graphicImage" />
- </f:facet>
- <h:outputText value="#{allInfo.str3}" />
- </h:column>
</h:dataTable>
</h:column>
- <a4j:commandButton value="Show all target (reRender)"
reRender="allInfoLSTargetID"></a4j:commandButton>
+ <a4j:commandButton value="Show all target (reRender)"
+ reRender="allInfoLSTargetID"></a4j:commandButton>
<h:column>
- <h:selectBooleanCheckbox value="#{listShuttle.showAllTargetData}"
onclick="submit();" />
+ <h:selectBooleanCheckbox value="#{listShuttle.showAllTargetData}"
+ onclick="submit();" />
</h:column>
<h:column>
- <h:dataTable id="allInfoLSTargetID"
value="#{listShuttle.targetValue}" var="allInfo"
rendered="#{listShuttle.showAllTargetData}" border="1">
+ <h:dataTable id="allInfoLSTargetID"
+ value="#{listShuttle.targetValue}" var="allInfo"
+ rendered="#{listShuttle.showAllTargetData}" border="1">
<h:column>
<f:facet name="header">
- <h:outputText value="Number" />
+ <h:outputText value="Output" />
</f:facet>
<h:outputText value="#{allInfo.int0}" />
</h:column>
@@ -94,7 +96,7 @@
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
- <h:outputText value="#{allInfo.str0}" />
+ <h:outputText value="#{allInfo.str4}" />
</h:column>
<h:column>
@@ -106,38 +108,24 @@
<h:column>
<f:facet name="header">
- <h:outputText value="Input" />
+ <h:outputText value="a4jLink" />
</f:facet>
- <h:outputText value="#{allInfo.str1}" />
+ <h:outputText value="#{allInfo.str1} a4j" />
</h:column>
<h:column>
<f:facet name="header">
- <h:outputText value="Link" />
+ <h:outputText value="Select" />
</f:facet>
- <h:outputText value="#{allInfo.str1} submit()" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="select" />
- </f:facet>
<h:outputText value="#{allInfo.str2}" />
</h:column>
<h:column>
<f:facet name="header">
- <h:outputText value="Text" />
+ <h:outputText value="GraphicImage" />
</f:facet>
<h:outputText value="#{allInfo.str3}" />
</h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText value="graphicImage" />
- </f:facet>
- <h:outputText value="#{allInfo.str3}" />
- </h:column>
</h:dataTable>
</h:column>
</h:panelGrid>