Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6254B180CC for ; Sat, 2 Jan 2016 20:52:40 +0000 (UTC) Received: (qmail 87818 invoked by uid 500); 2 Jan 2016 20:52:40 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 87779 invoked by uid 500); 2 Jan 2016 20:52:40 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 87764 invoked by uid 99); 2 Jan 2016 20:52:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2016 20:52:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DB1262C14F9 for ; Sat, 2 Jan 2016 20:52:39 +0000 (UTC) Date: Sat, 2 Jan 2016 20:52:39 +0000 (UTC) From: "victorsosa (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4525) s:select with an inside iterator through option group MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4525?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1507666= 0#comment-15076660 ]=20 victorsosa commented on WW-4525: -------------------------------- Base on stackoverflow you are missing a second iterator; also there is a Ma= p involve instead of a List. > s:select with an inside iterator through option group > ----------------------------------------------------- > > Key: WW-4525 > URL: https://issues.apache.org/jira/browse/WW-4525 > Project: Struts 2 > Issue Type: Bug > Reporter: Alireza Fattahi > Fix For: 2.3.x > > > Please look at below code: > {code:title=3DBar.jsp|borderStyle=3Dsolid} > list=3D"destinationKnownAccounts" listKey=3D"accountN= o" > listValue=3D"%{ farsiFirstName + \" \" + farsiLastNam= e }" > > =20 > =20 > =20 > =20 > =20 > =20 > {code} > The optiongroup will be displayed outside select as > {code:title=3DBar.jsp|borderStyle=3Dsolid} =20 > =20 > =20 > =20 > =20 > =20 > =20 > > {code} > I tried other ways, even copy a static option group but same result, only= s:optgroup workes fine and generates the option group inside option -- This message was sent by Atlassian JIRA (v6.3.4#6332)