Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 55900 invoked from network); 25 Jun 2005 20:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jun 2005 20:04:28 -0000 Received: (qmail 98490 invoked by uid 500); 25 Jun 2005 20:04:21 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 97707 invoked by uid 500); 25 Jun 2005 20:04:18 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 97693 invoked by uid 99); 25 Jun 2005 20:04:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2005 13:04:18 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE,HTML_NONELEMENT_20_30 X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.206.48] (HELO web32901.mail.mud.yahoo.com) (68.142.206.48) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 25 Jun 2005 13:04:18 -0700 Received: (qmail 34270 invoked by uid 60001); 25 Jun 2005 20:04:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ar; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bKYKHlZ0RhzMt8ctECCUswmhpHsTg40Yk9bwiwSwhidsglOzTPR1oUAEoEFuKA8KYBvQ03B5Ot3IK8OA1bpXiT8HlaC8xa26wTJsRD9hWF6dSHi1Kgyvs1dnAnO0TsGiwRcvBlreyJihu/vO6nfVu3Oi6AxqghbKBnu/Zv/xTH4= ; Message-ID: <20050625200414.34268.qmail@web32901.mail.mud.yahoo.com> Received: from [201.254.18.134] by web32901.mail.mud.yahoo.com via HTTP; Sat, 25 Jun 2005 17:04:14 ART Date: Sat, 25 Jun 2005 17:04:14 -0300 (ART) From: Lucas Bern Subject: Re: use boolean field as property To: Struts Users Mailing List In-Reply-To: <20050625150115.23459.qmail@web32612.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1937798859-1119729854=:32232" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1937798859-1119729854=:32232 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hia Tony, it seems that your bean is not what his ckass name says to be.... I mean, mybean, is not a JavaBean because it does not implement the getter for isGood attribute in a correct way... it should be public class mybean{ boolean isGood; public boolean isIsGood(){ return isGood; } public void setIsGood(boolean good){ this.isGood = good; } } but, seeing your exception, it should not be your problem... I think your list has a null, so in one of the iterations over mylist, you get a null under obj key... Lucas The thig is that the bean Tony Smith escribi�: I have a class public class mybean{ boolean isGood; public boolean getIsGood(){ return isGood; } public void setIsGood(boolean good){ this.isGood = good; } } Suppose I have a list of mybean, can I do this: value="true"> xxxgood My app throws a exception saying: No bean found under attribute key obj I do not know why ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam �gratis! �Abr� tu cuenta ya! - http://correo.yahoo.com.ar --0-1937798859-1119729854=:32232--