Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 41964 invoked from network); 31 Oct 2008 18:04:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2008 18:04:06 -0000 Received: (qmail 15501 invoked by uid 500); 31 Oct 2008 18:04:10 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 15490 invoked by uid 500); 31 Oct 2008 18:04:10 -0000 Mailing-List: contact dev-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry development" Delivered-To: mailing list dev@tapestry.apache.org Received: (qmail 15479 invoked by uid 500); 31 Oct 2008 18:04:10 -0000 Delivered-To: apmail-jakarta-tapestry-dev@jakarta.apache.org Received: (qmail 15476 invoked by uid 99); 31 Oct 2008 18:04:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 11:04:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 18:03:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7DE45234C259 for ; Fri, 31 Oct 2008 11:03:44 -0700 (PDT) Message-ID: <1743960048.1225476224514.JavaMail.jira@brutus> Date: Fri, 31 Oct 2008 11:03:44 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" To: tapestry-dev@jakarta.apache.org Subject: [jira] Closed: (TAP5-49) Grid.defaultModel() should be a protected method so that subclasses can override the default BeanModel logic In-Reply-To: <659601308.1219183184204.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship closed TAP5-49. ------------------------------------ Resolution: Fixed Fix Version/s: 5.0.16 > Grid.defaultModel() should be a protected method so that subclasses can override the default BeanModel logic > ------------------------------------------------------------------------------------------------------------ > > Key: TAP5-49 > URL: https://issues.apache.org/jira/browse/TAP5-49 > Project: Tapestry 5 > Issue Type: Improvement > Affects Versions: 5.0.15 > Environment: All > Reporter: Yunhua Sang > Assignee: Howard M. Lewis Ship > Fix For: 5.0.16 > > > For a sub-class of Grid, it's impossible to provide its own BeanModel to override the default model in Grid because the method > Binding defaultModel() {..} > is package visible. > it would be nice to have that method to be protected to let sub-class of Grid be able to override the default model. > I know a workaround is to make a component to composite the Grid, bind model parameter to a property and copy all the parameters over; but there are so many parameters in Grid component, I don't think it's a good way. > Thanks, > Yunhua -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org For additional commands, e-mail: dev-help@tapestry.apache.org