You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/12/02 14:32:02 UTC

[myfaces-tobago] branch t5_selectMany updated: rename controller

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch t5_selectMany
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/t5_selectMany by this push:
     new 713ebb95e1 rename controller
713ebb95e1 is described below

commit 713ebb95e1ff307c4c5475470e64345c0a50d7a6
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Dec 2 15:31:51 2022 +0100

    rename controller
---
 ...ntroller.java => SelectManyListController.java} |  2 +-
 .../80-selectManyList/SelectManyList.xhtml         | 24 +++++++++++-----------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyListController.java
similarity index 98%
rename from tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyController.java
rename to tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyListController.java
index d7aaacc20e..023b3c826e 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SelectManyListController.java
@@ -38,7 +38,7 @@ import java.util.List;
 
 @SessionScoped
 @Named
-public class SelectManyController implements Serializable {
+public class SelectManyListController implements Serializable {
 
   private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/80-selectManyList/SelectManyList.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/80-selectManyList/SelectManyList.xhtml
index a9e456cdac..69294f9ec2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/80-selectManyList/SelectManyList.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/80-selectManyList/SelectManyList.xhtml
@@ -28,38 +28,38 @@
             value="Preliminary feature, may be subject to change!"/><br/>
 
   <tc:section label="not inline / no filter">
-    <tc:selectManyList id="selected1" value="#{selectManyController.selected1}">
-      <tc:selectItems value="#{selectManyController.planets}"
+    <tc:selectManyList id="selected1" value="#{selectManyListController.selected1}">
+      <tc:selectItems value="#{selectManyListController.planets}"
                       var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
     </tc:selectManyList>
   </tc:section>
 
   <tc:section label="inline / no filter">
-    <tc:selectManyList id="selected2" value="#{selectManyController.selected2}" inline="true">
-      <tc:selectItems value="#{selectManyController.planets}"
+    <tc:selectManyList id="selected2" value="#{selectManyListController.selected2}" inline="true">
+      <tc:selectItems value="#{selectManyListController.planets}"
                       var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
     </tc:selectManyList>
     <tc:button label="Submit"/>
   </tc:section>
 
   <tc:section label="not inline / with filter">
-    <tc:selectManyList id="selected3" value="#{selectManyController.selected3}" filter="contains">
-      <tc:selectItems value="#{selectManyController.planets}"
+    <tc:selectManyList id="selected3" value="#{selectManyListController.selected3}" filter="contains">
+      <tc:selectItems value="#{selectManyListController.planets}"
                       var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
     </tc:selectManyList>
     <tc:button label="Submit"/>
   </tc:section>
 
   <tc:section label="inline / with filter:">
-    <tc:selectManyList id="selected4" value="#{selectManyController.selected4}" filter="contains" inline="true">
-      <tc:selectItems value="#{selectManyController.planets}"
+    <tc:selectManyList id="selected4" value="#{selectManyListController.selected4}" filter="contains" inline="true">
+      <tc:selectItems value="#{selectManyListController.planets}"
                       var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
     </tc:selectManyList>
     <tc:button label="Submit"/>
   </tc:section>
 
   <tc:section id="filter" label="Filter types: contains, startsWith, containsExact, startsWithExact">
-    <tc:selectOneRadio label="Filter type" value="#{selectManyController.filterType}">
+    <tc:selectOneRadio label="Filter type" value="#{selectManyListController.filterType}">
       <tc:selectItem itemValue="#{null}" itemLabel="please select"/>
       <tc:selectItem itemValue="contains"/>
       <tc:selectItem itemValue="startsWith"/>
@@ -67,9 +67,9 @@
       <tc:selectItem itemValue="startsWithExact"/>
       <f:ajax render="filter" execute="filter"/>
     </tc:selectOneRadio>
-    <tc:selectManyList id="selected5" value="#{selectManyController.selected5}"
-                       filter="#{selectManyController.filterType}" inline="true">
-      <tc:selectItems value="#{selectManyController.names}"
+    <tc:selectManyList id="selected5" value="#{selectManyListController.selected5}"
+                       filter="#{selectManyListController.filterType}" inline="true">
+      <tc:selectItems value="#{selectManyListController.names}"
                       var="name" itemLabel="#{name}" itemValue="#{name}"/>
       <tc:style maxHeight="300px"/>
     </tc:selectManyList>