Return-Path: Delivered-To: apmail-tapestry-users-archive@www.apache.org Received: (qmail 20338 invoked from network); 1 Mar 2007 22:49:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 22:49:06 -0000 Received: (qmail 37385 invoked by uid 500); 1 Mar 2007 22:49:09 -0000 Delivered-To: apmail-tapestry-users-archive@tapestry.apache.org Received: (qmail 37371 invoked by uid 500); 1 Mar 2007 22:49:09 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 37341 invoked by uid 99); 1 Mar 2007 22:49:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 14:49:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hlship@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 14:48:58 -0800 Received: by ug-out-1314.google.com with SMTP id p37so540336ugc for ; Thu, 01 Mar 2007 14:48:34 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fu/VXARgIWV/vQFgfo/bfVfXOou19ajxR8r6puhK7BglNJWwrfSzQBrb6uSXNkv514XTy69ssSelv5YapLJjZKIGsChVFSCpGDgCtDPBIdvoxEtEjIC0+ekfpHLIxkqlFD/PIN8Z3GXFaXCxZ3HFne17dN5jRuc8oOgOdJz7/Lw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bcDBfrncghMxLEV305xGVe1ahk7HVQlHX4mVAX5QjONzr9YCJI+dLAP0+YDv0vEtnwu3QBtI59FbduVyCdsynd7RxFjYNGAtQCqt/hLRVNvw0PaAXFNpZMtq8vz7Ue1R8D73hLDQ449pAUM6UVZZZnRWhQrN1Us37ucsgYrWlgU= Received: by 10.78.180.16 with SMTP id c16mr213995huf.1172789313767; Thu, 01 Mar 2007 14:48:33 -0800 (PST) Received: by 10.78.121.15 with HTTP; Thu, 1 Mar 2007 14:48:33 -0800 (PST) Message-ID: Date: Thu, 1 Mar 2007 14:48:33 -0800 From: "Howard Lewis Ship" To: "Tapestry users" Subject: Re: Latest Tapestry 5 Screencast In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org For the moment, yes; you would obtain the bean model, and then remove the properties you don't want to display. I believe BeanEditForm and Grid should both provide parmeters to make this easier (i.e., excludeProperties="trackId,genre" ). D&J's BeanEditor component has excludeProperties and includeProperties and eventually T5 will catch up. Annotations are one of those very divisive areas; somepeople are positively allergic to them, see them as the scourge. I generally find annotations pretty harmeless, so (where reasonable) adding a @NonVisual annotation is not a big issue for me. Sometimes, the bean in question is out of your control, and you don't have the ability to annotate it (or maybe a property is visible to some users and not to others), and that's where you need a higher-level approach. On 3/1/07, Massimo Lusetti wrote: > On 3/1/07, Howard Lewis Ship wrote: > > > This one shows off the new Grid component. > > Amazing work Howard i got just one question. > you said one approach to mark a field as hidden is to use the > NonVisual annotation but i don't like the idea of annotating my domain > data objects so i guess i've to use the BeanModel facility, am i > right? > > Thanks > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org > For additional commands, e-mail: users-help@tapestry.apache.org > > -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org For additional commands, e-mail: users-help@tapestry.apache.org