Return-Path: X-Original-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEA7C971C for ; Mon, 12 Mar 2012 02:01:16 +0000 (UTC) Received: (qmail 41101 invoked by uid 500); 12 Mar 2012 01:01:15 -0000 Delivered-To: apmail-incubator-connectors-dev-archive@incubator.apache.org Received: (qmail 41043 invoked by uid 500); 12 Mar 2012 01:01:15 -0000 Mailing-List: contact connectors-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-dev@incubator.apache.org Received: (qmail 41029 invoked by uid 99); 12 Mar 2012 01:01:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 01:01:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 01:01:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C7FD81BC9E for ; Mon, 12 Mar 2012 01:00:53 +0000 (UTC) Date: Mon, 12 Mar 2012 01:00:53 +0000 (UTC) From: "Karl Wright (Resolved) (JIRA)" To: connectors-dev@incubator.apache.org Message-ID: <1754885766.877.1331514053837.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <92584384.43228.1331296857795.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CONNECTORS-422) Canonical use of Velocity should have one html file per UI tab 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/CONNECTORS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-422. ------------------------------------ Resolution: Fixed r1299512 > Canonical use of Velocity should have one html file per UI tab > -------------------------------------------------------------- > > Key: CONNECTORS-422 > URL: https://issues.apache.org/jira/browse/CONNECTORS-422 > Project: ManifoldCF > Issue Type: Improvement > Components: Alfresco connector, CMIS connector, OpenSearchServer connector > Affects Versions: ManifoldCF 0.5 > Reporter: Karl Wright > Assignee: Karl Wright > Priority: Minor > Fix For: ManifoldCF 0.5 > > > Since the 0.5 release is going to be about internationalization and Velocity primarily, we need to spend time now to get the Velocity usage in good example form. > Specifically, I think best practice ought to be to have a separate template for each tab. Then the connector code can call all the templates one after another. It makes it easy to add a tab, and easy to maintain. > Each template, then, becomes responsible for managing both the tab in its hidden form, as well as the tab in its displayed form. > We can do something similar for the "view" templates. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira