[richfaces-svn-commits] JBoss Rich Faces SVN: r5942 - in trunk/test-applications: facelets/src/main/webapp/ListShuttle and 2 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Feb 8 06:50:53 EST 2008
Author: ayanul
Date: 2008-02-08 06:50:53 -0500 (Fri, 08 Feb 2008)
New Revision: 5942
Modified:
trunk/test-applications/facelets/src/main/java/rich/RichBean.java
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
trunk/test-applications/jsp/src/main/java/rich/RichBean.java
trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp
Log:
Modified: trunk/test-applications/facelets/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-02-08 11:14:41 UTC (rev 5941)
+++ trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-02-08 11:50:53 UTC (rev 5942)
@@ -64,7 +64,8 @@
map.add("ListShuttle", add("/ListShuttle/ListShuttle", new boolean [] {true, true}));
map.add("ComponentControl", add("/ComponentControl/ComponentControl", new boolean [] {false, false}));
map.add("Columns", add("/Columns/Columns", new boolean [] {true, false}));
- map.add("A_PickList", add("/PickList/PickList", new boolean [] {false, false}));
+ map.add("PickList", add("/PickList/PickList", new boolean [] {false, false}));
+ map.add("Combobox", add("/Combobox/Combobox", new boolean [] {false, false}));
}
public String getSrc() {
Modified: trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-02-08 11:14:41 UTC (rev 5941)
+++ trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-02-08 11:50:53 UTC (rev 5942)
@@ -12,7 +12,9 @@
targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
- topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}">
+ topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}" onclick="showEvent('onclickInputID', 'onclick work!')"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onorderchanged="showEvent('onorderchangedInputID', 'onorderchanged work!')" ontopclick="showEvent('ontopclickInputID', 'ontopclick work!')" onupclick="showEvent('onupclickInputID', 'onupclick work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')" onbottomclick="showEvent('onbottomclickInputID', 'onbottomclick work!')" >
<h:column>
<f:facet name="header">
Modified: trunk/test-applications/jsp/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-02-08 11:14:41 UTC (rev 5941)
+++ trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-02-08 11:50:53 UTC (rev 5942)
@@ -13,7 +13,6 @@
private String version = VersionBean.SCM_REVISION;
private String src;
private MapComponent map;
- private List<SelectItem> list;
private boolean reComponent;
private boolean reProperty;
private boolean reStraightforward;
@@ -21,7 +20,6 @@
//private String [] menu = {"Blank", "Calendar", "DataFilterSlider", "DataScroller", "DataTable", "DragAndDrop", "DropDownMenu", "Effect", "Gmap", "InputNumberSlider", "InputNumberSpinner", "Insert", "Message", "ModalPanel", "Paint2D", "Panel", "Panel2", "PanelBar", "PanelMenu", "Separator", "SimpleTogglePanel", "Spacer", "SuggestionBox", "TabPanel", "TogglePanel", "ToolBar", "Tooltip", "Tree", "VirtualEarth", "ScrollableDataTable", "jQuery", "OrderingList"};
public RichBean() {
- list = new ArrayList<SelectItem>();
src = "Blank";
reComponent = true;
reProperty = true;
@@ -68,10 +66,6 @@
map.add("Columns", add("/Columns/Columns", new boolean [] {true, false}));
map.add("PickList", add("/PickList/PickList", new boolean [] {false, false}));
map.add("Combobox", add("/Combobox/Combobox", new boolean [] {false, false}));
- Iterator<String> iterator = map.getSet().iterator();
- while(iterator.hasNext()){
- list.add(new SelectItem(iterator.next()));
- }
}
public String getSrc() {
@@ -142,8 +136,12 @@
this.log = log;
}
- @SuppressWarnings("unchecked")
public List<SelectItem> getList(){
+ Iterator<String> iterator = map.getSet().iterator();
+ List<SelectItem> list = new ArrayList<SelectItem>();
+ while(iterator.hasNext()){
+ list.add(new SelectItem(iterator.next()));
+ }
return list;
}
Modified: trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp 2008-02-08 11:14:41 UTC (rev 5941)
+++ trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp 2008-02-08 11:50:53 UTC (rev 5942)
@@ -16,7 +16,9 @@
targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
- topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}">
+ topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}"onclick="showEvent('onclickInputID', 'onclick work!')"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onorderchanged="showEvent('onorderchangedInputID', 'onorderchanged work!')" ontopclick="showEvent('ontopclickInputID', 'ontopclick work!')" onupclick="showEvent('onupclickInputID', 'onupclick work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')" onbottomclick="showEvent('onbottomclickInputID', 'onbottomclick work!')" >
<h:column>
<f:facet name="header">
More information about the richfaces-svn-commits
mailing list