Return-Path: Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: (qmail 47780 invoked from network); 3 Apr 2009 12:26:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 12:26:35 -0000 Received: (qmail 33908 invoked by uid 500); 3 Apr 2009 12:26:34 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 33842 invoked by uid 500); 3 Apr 2009 12:26:34 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 33832 invoked by uid 99); 3 Apr 2009 12:26:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 12:26:34 +0000 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, 03 Apr 2009 12:26:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0DDD0234C003 for ; Fri, 3 Apr 2009 05:26:13 -0700 (PDT) Message-ID: <1082285654.1238761573042.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 05:26:13 -0700 (PDT) From: "Alfie Kirkpatrick (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Commented: (TAP5-619) Provide way to override PropertyEditor.beanBlockSource In-Reply-To: <1932854974.1238748192894.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695363#action_12695363 ] Alfie Kirkpatrick commented on TAP5-619: ---------------------------------------- Hi Thiago, I take your points but just for the record, while BeanBlockSource can be overridden, currently the same service is injected in all cases. I want to specify a particular BeanBlockSource instance for a particular PropertyEditor in my page. PropertyEditor is not classed as 'internal' so I don't see a problem in principle with this as a wishlist item... > Provide way to override PropertyEditor.beanBlockSource > ------------------------------------------------------ > > Key: TAP5-619 > URL: https://issues.apache.org/jira/browse/TAP5-619 > Project: Tapestry 5 > Issue Type: Wish > Components: tapestry-core > Affects Versions: 5.1.0.1 > Reporter: Alfie Kirkpatrick > Priority: Minor > > I am building a search form and would like to override the default edit blocks with search-style ones. This is conjunction with a HashMap backed bean model. As an example, for dates I want to have a date range block which sends back a start/end range for a date, possibly as a DateRangeSearchTerm against the property name in the hashmap. The search implementation will then know how to convert this into a query to the backend. > I might be pushing the whole BeanEditModel/Conduit framework further than intended? However, doing it this way provides some nice ways to override an auto-built form, eg. by restricting/reordering the properties or by overriding specific blocks even further. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.