Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BBB8310BE9 for ; Sun, 22 Sep 2013 15:19:44 +0000 (UTC) Received: (qmail 36904 invoked by uid 500); 22 Sep 2013 15:19:44 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 36821 invoked by uid 500); 22 Sep 2013 15:19:44 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 36813 invoked by uid 99); 22 Sep 2013 15:19:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 15:19:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of okwuiagada@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 15:19:37 +0000 Received: by mail-qa0-f45.google.com with SMTP id k4so884747qaq.11 for ; Sun, 22 Sep 2013 08:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=egVwA+zH3NSWNcq+zj9HTOk1JY/xDDxQttlUF4SmplQ=; b=m7NOd8xdaT49yyDfULBaF1gKYKvQe1TemL8gkZXmYxqaUhPsIChqS1ruhjI8KlBXqg qTs+xsc3b3pIF1mp6+k7dFIMrF/vINSsF3tIa+5EntcgRCMkIwJhCywDuKWyH53up9GS RNQTvJRWczFJEF269XMgw4WuDzeBikiLOQjEsYq/lmFuRJAgrxzsGDxaQedtdSFxdT5S ei58DmZpZ3P5dN73YlqfpJiU2eaPTfw61jW/gmgI15Qq+b9h6IZE8ezsfGSkyHrNgmNz DsxiJsXsE4mWJl02aOfSXaknYfe0WDslwNuxS9+dtIhujmrE59kUNSjXprtn8eKzGa/5 /MiA== MIME-Version: 1.0 X-Received: by 10.49.48.168 with SMTP id m8mr17416309qen.25.1379863156608; Sun, 22 Sep 2013 08:19:16 -0700 (PDT) Received: by 10.49.97.167 with HTTP; Sun, 22 Sep 2013 08:19:16 -0700 (PDT) In-Reply-To: References: Date: Sun, 22 Sep 2013 16:19:16 +0100 Message-ID: Subject: Re: Choosing fields to display in a derived collection From: james agada To: "users@isis.apache.org" Content-Type: multipart/alternative; boundary=047d7b6765a249d46b04e6fa6d69 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6765a249d46b04e6fa6d69 Content-Type: text/plain; charset=ISO-8859-1 OK. I will try with this. It is a feature I think makes sense and I will raise a ticket. If I have enough skills I could implement too -:) On Sun, Sep 22, 2013 at 4:11 PM, Dan Haywood wrote: > It's a good question. > > You can use @Hidden(Where.PARENTED_TABLES). Also, > @Hidden(Where.REFERENCES_PARENT) is good for link associations (resolving > many-to-many associations. > > However, it isn't possible to do any more fine-tuning than this. > > One capability that NakedObjects.NET has is the ability to specify the > columns in an annotation on the collectino, eg: > > public class Order { > > > @TableView("Product, Quantity, NumberInStock") > public SortedSet getDetails() { ... } > } > > If this is a feature that appeals, then raise a new JIRA ticket. (And > then, implement a patch :-) > > Cheers > Dan > > > > On 22 September 2013 15:40, james agada wrote: > > > How do I choose which fields to display in a derived collection or decide > > which properties I can display when I am displaying the objects in a > > collection? > > > --047d7b6765a249d46b04e6fa6d69--