Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B23D011F17 for ; Tue, 17 Jun 2014 09:33:02 +0000 (UTC) Received: (qmail 33376 invoked by uid 500); 17 Jun 2014 09:33:02 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 33312 invoked by uid 500); 17 Jun 2014 09:33:02 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 33258 invoked by uid 99); 17 Jun 2014 09:33:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 09:33:02 +0000 Date: Tue, 17 Jun 2014 09:33:02 +0000 (UTC) From: "Rene O (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MYFACES-3901) f:selectItems ignore itemDescription within h:selectOneListbox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033605#comment-14033605 ] Rene O commented on MYFACES-3901: --------------------------------- 2.2.4-SNAPSHOT has the same behaviour. Static content is rendered, but dynamic one not.: {code} {code} renders only: {code} {code} but not expected: {code} {code} > f:selectItems ignore itemDescription within h:selectOneListbox > -------------------------------------------------------------- > > Key: MYFACES-3901 > URL: https://issues.apache.org/jira/browse/MYFACES-3901 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.2.3 > Environment: java 7, tomcat 7 > Reporter: Rene O > Priority: Minor > > I have a with underlying List: > {code} > List mylist = new ArrayList(); > mylist.add(new SelectItem("testvalue", "testlabel","testdescription")); > {code} > I want to show a tooltip over any option of a selectbox. > Therefore I tried two options: > 1. > {code} > > > > {code} > 2. > {code} > > > > {code} > Option 1 ignores itemDescription. Only label and value are rendered. > Option 2 renders title attribute, but fills title only with "yyy" and ignores value of #{item.label} > I think, that this behaviour is a bug. -- This message was sent by Atlassian JIRA (v6.2#6252)