Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 66664 invoked from network); 8 Aug 2007 12:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 12:32:19 -0000 Received: (qmail 88215 invoked by uid 500); 8 Aug 2007 12:32:09 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88189 invoked by uid 500); 8 Aug 2007 12:32:09 -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 88178 invoked by uid 99); 8 Aug 2007 12:32:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 05:32:08 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 12:31:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IIkhR-0002RF-5P for user@struts.apache.org; Wed, 08 Aug 2007 05:31:41 -0700 Message-ID: <12052184.post@talk.nabble.com> Date: Wed, 8 Aug 2007 05:31:41 -0700 (PDT) From: fergunet To: user@struts.apache.org Subject: How to list a property in a display:table (Struts 2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fergunet@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi all! I've created a display table to show a list of things and their attributes. But one of those attributes is another list of objects. I don't know how to print their names. Let's see what I have: ITERATE!!!! Is provider Is not provider Look at the "roles" property column. That property is a List which have an attribute RoleBaseVO wich have the String "name". I'm trying to show the list of that names. (Now only prints: [org.myapp.common.isc.model.users.RoleVO@d53d82, org.myapp.common.isc.model.users.RoleVO@1b939d3, org.myapp.common.isc.model.users.RoleVO@1836525] ) I thought to use an iterator as you can see, but the "ITERATE!!!" string is never shown. Any ideas? Thanks in advance, and sorry about my English. -- View this message in context: http://www.nabble.com/How-to-list-a-property-in-a-display%3Atable-%28Struts-2%29-tf4236011.html#a12052184 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org