Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 60463 invoked from network); 5 Sep 2005 01:21:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2005 01:21:21 -0000 Received: (qmail 82304 invoked by uid 500); 5 Sep 2005 01:21:20 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 82277 invoked by uid 500); 5 Sep 2005 01:21:19 -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 82263 invoked by uid 99); 5 Sep 2005 01:21:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2005 18:21:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ekoneil@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2005 18:21:32 -0700 Received: by wproxy.gmail.com with SMTP id i8so318587wra for ; Sun, 04 Sep 2005 18:21:17 -0700 (PDT) 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:content-transfer-encoding:content-disposition:references; b=hCzRVNJuAaGqOnZkPlNmvXLa7mytC+Ez/j14yz42V15ACtnEF9dBF7xzm5U+hk7oUi5pMHR6BygYOWG+AWEXIVc4ZIKqM2nmT4Z8JHt8jyWesPG7rjffrvJUMhsQc2Byl6E/NvfbMWzdXr3WA6iLXzKMtyN/n/AEhtRnFZXSgoY= Received: by 10.54.29.44 with SMTP id c44mr371048wrc; Sun, 04 Sep 2005 18:21:17 -0700 (PDT) Received: by 10.54.48.30 with HTTP; Sun, 4 Sep 2005 18:21:17 -0700 (PDT) Message-ID: Date: Sun, 4 Sep 2005 19:21:17 -0600 From: Eddie O'Neil To: Beehive Users Subject: Re: working with enums In-Reply-To: <431B616E.9010304@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1125782348.22610.0.camel@main.adamjenkins.net> <1125785346.22610.4.camel@main.adamjenkins.net> <431B616E.9010304@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Adam-- Nice -- that's the right way to do it. I've not added documentation for these kind of "advanced" expression language features like type conversion and custom iteration. Probably won't get to it for 1.0, but I'll add documentation shortly after. Also, there are a few enhancements that I'd like to make there including custom type converters and error handling on a per JavaBean property basis. Any thoughts you've got on the subject would be welcome. :) Eddie On 9/4/05, Rich Feit wrote: > Nice sleuthing! Eventually this won't require reading the code to > figure out. :) >=20 > Adam Jenkins wrote: >=20 > >I figured it out > > > >add to beehive-netui-config.xml > > > > > > > > MyEnum > > MyConverter > > > > > > > >where MyConverter implements > >org.apache.beehive.netui.util.type.TypeConverter > > > >Cheers > > > >On Sun, 2005-09-04 at 07:19 +1000, Adam Jenkins wrote: > > > > > >>Hi All, > >> > >>Can action forms work with enums? If so, does anyone have an example? > >> > >>Cheers > >>Adam > >> > >> > >> > > > > > > > > >