Return-Path: X-Original-To: apmail-ofbiz-dev-archive@www.apache.org Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1500D79F for ; Sat, 1 Sep 2012 21:26:07 +0000 (UTC) Received: (qmail 39650 invoked by uid 500); 1 Sep 2012 21:26:07 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 39612 invoked by uid 500); 1 Sep 2012 21:26:07 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 39603 invoked by uid 99); 1 Sep 2012 21:26:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2012 21:26:07 +0000 Date: Sun, 2 Sep 2012 08:26:07 +1100 (NCT) From: "Adrian Crum (JIRA)" To: dev@ofbiz.apache.org Message-ID: <1287622874.27530.1346534767545.JavaMail.jiratomcat@arcas> In-Reply-To: <1471260054.12272.1346256487637.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (OFBIZ-5020) change serviceName by customMethod on Content MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-5020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446813#comment-13446813 ] Adrian Crum commented on OFBIZ-5020: ------------------------------------ That paragraph from the wiki is terrible advice. As I mentioned already, it will not work on all databases. > change serviceName by customMethod on Content > --------------------------------------------- > > Key: OFBIZ-5020 > URL: https://issues.apache.org/jira/browse/OFBIZ-5020 > Project: OFBiz > Issue Type: Improvement > Components: content > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBiz-5020-migrate.patch, OFBiz-5020.patch, OFBIZ-5020.patch, OFBIZ-5020.patch, OFBIZ-5020.patch > > > At this time, when you use a content as template, the content.serviceName value use to call the context populate service before rendering. > I propose to replace serviceName field by customMethodId and use customMethod pattern for more flexibility. > serviceName field will be move to oldServiceName field for backward compatibility -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira