You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2023/08/01 09:01:49 UTC

[myfaces-tobago] branch tobago-5.x updated: fix(test): select[One/Many]List

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

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


The following commit(s) were added to refs/heads/tobago-5.x by this push:
     new 6c421ea32f fix(test): select[One/Many]List
6c421ea32f is described below

commit 6c421ea32fd4000fcf88cbbb39238af104601e05
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Aug 1 10:47:40 2023 +0200

    fix(test): select[One/Many]List
    
    * remote value attribute for small/large components to make test work again
---
 .../webapp/content/030-select/45-selectOneList/SelectOneList.xhtml  | 4 ++--
 .../content/030-select/80-selectManyList/SelectManyList.xhtml       | 6 ++----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.xhtml
index d20125a82e..81abdd7988 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.xhtml
@@ -46,11 +46,11 @@
         <tc:selectItems value="#{selectOneListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectOneList>
-      <tc:selectOneList id="large" label="Large" value="#{selectOneListController.selectedPlanet}" markup="large">
+      <tc:selectOneList id="large" label="Large" markup="large">
         <tc:selectItems value="#{selectOneListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectOneList>
-      <tc:selectOneList id="small" label="Small" value="#{selectOneListController.selectedPlanet}" markup="small">
+      <tc:selectOneList id="small" label="Small" markup="small">
         <tc:selectItems value="#{selectOneListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectOneList>
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 f7faa77c35..414dfb96f8 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
@@ -46,13 +46,11 @@
         <tc:selectItems value="#{selectManyListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectManyList>
-      <tc:selectManyList id="selectedLarge" label="Large" value="#{selectManyListController.selectedPlanets}"
-                         markup="large">
+      <tc:selectManyList id="selectedLarge" label="Large" markup="large">
         <tc:selectItems value="#{selectManyListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectManyList>
-      <tc:selectManyList id="selectedSmall" label="Small" value="#{selectManyListController.selectedPlanets}"
-                         markup="small">
+      <tc:selectManyList id="selectedSmall" label="Small" markup="small">
         <tc:selectItems value="#{selectManyListController.planets}"
                         var="planet" itemLabel="#{planet.name}" itemValue="#{planet}"/>
       </tc:selectManyList>