Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 11658 invoked from network); 17 Nov 2005 17:37:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Nov 2005 17:37:22 -0000 Received: (qmail 29323 invoked by uid 500); 17 Nov 2005 17:37:15 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 29220 invoked by uid 500); 17 Nov 2005 17:37:15 -0000 Mailing-List: contact user-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list user@beehive.apache.org Received: (qmail 29191 invoked by uid 99); 17 Nov 2005 17:37:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 09:37:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dolander@gmail.com designates 64.233.182.205 as permitted sender) Received: from [64.233.182.205] (HELO nproxy.gmail.com) (64.233.182.205) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 09:38:48 -0800 Received: by nproxy.gmail.com with SMTP id x30so513911nfb for ; Thu, 17 Nov 2005 09:36:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=unYoeCahPWBbW1wcPebQ3unITSB4zI70/ROXxzG8XGcSZ+NFOqcIczm4v7IQGB2rLgckD3TB/K8cgDTkmt7tEfI9n0AIkjG7tcupnbWVIv49InVqWBVM3XOefOqRLZfpreaOE/uo/3UA8aIbotP8yBoBVXjCy24vbPdc4q+9if8= Received: by 10.48.236.15 with SMTP id j15mr441217nfh; Thu, 17 Nov 2005 09:36:52 -0800 (PST) Received: by 10.48.250.6 with HTTP; Thu, 17 Nov 2005 09:36:52 -0800 (PST) Message-ID: <40f026540511170936j1967ce2exe7a860574eeebfbf@mail.gmail.com> Date: Thu, 17 Nov 2005 10:36:52 -0700 From: Daryl Olander To: Beehive Users Subject: Re: netui:select tag - defaultValue and nullable attributes clash? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_37054_12360711.1132249012340" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_37054_12360711.1132249012340 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Ture, when you say stops working do you mean that it stops being the selected option? It's still in the list correct? On 11/17/05, Ture Hoefner wrote: > > Hello, > > I can successfully use the netui:select JSP tag while databinding to a > Map in my pageflow. I am successfully using the defaultValue attribute, > which is set equal to the key of some desired item in the databound Map. > > Here is the problem: when I add the nullable and nullableOptionText > attributes, the defaultValue stops working and the null option is always > the selected one: > > > > > tagId=3D"updateNameAndTypeDialog_contentTypes" > > optionsDataSource=3D"${pageFlow.availableTypes}" > > defaultValue=3D"/Tools_Repository/1" > > nullable=3D"true" > > nullableOptionText=3D"none" > > size=3D"8" /> > > > > generates: > > > > > > > > I don't see this when I search JIRA, maybe I am doing something goofy? > By the way, is there some reason that we don't have a nullableTop > attribute to make the null option appear at the top of the list instead > of the bottom? > > > > I will try working around this by modifying my Map to contain an empty > option. > > > > Thanks, > > Ture > > > ------=_Part_37054_12360711.1132249012340--