myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch tobago-4.x updated: improve demo
Date Mon, 24 Sep 2018 11:20:47 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new 369343d  improve demo
369343d is described below

commit 369343d79b85b5f0910eda523d0b5ab5a2f68e03
Author: Henning Noeth <hnoeth@apache.org>
AuthorDate: Mon Sep 24 13:17:21 2018 +0200

    improve demo
    
    * remove itemImage attribute, because it leads to a
      ConcurrentModificationException with MyFaces 2.3
    
    (cherry picked from commit 3cdea76a55e87c24154b4ba19801dcfae5ff79ed)
---
 .../20-component/030-select/20-selectOneChoice/selectOneChoice.xhtml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.xhtml
index a651a97..75bf5c4 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.xhtml
@@ -72,7 +72,7 @@
   <tc:section label="Java enum as value">
     <tc:selectOneChoice id="selectSalutation" label="Salutation" value="#{selectOneChoiceController.salutation}">
       <tc:selectItems value="#{selectOneChoiceController.salutations}" var="s"
-                      itemLabel="#{s.label}" itemValue="#{s}" itemImage="#{s.icon}"/>
+                      itemLabel="#{s.label}" itemValue="#{s}"/>
     </tc:selectOneChoice>
     <tc:out id="outputSalutation" label="Selected Salutation" value="#{selectOneChoiceController.salutation.label}"/>
     <tc:button id="submit2" label="Submit"/>


Mime
View raw message