Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 36251 invoked from network); 25 Jun 2008 02:01:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 02:01:40 -0000 Received: (qmail 48239 invoked by uid 500); 25 Jun 2008 02:01:42 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 48224 invoked by uid 500); 25 Jun 2008 02:01:42 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 48213 invoked by uid 99); 25 Jun 2008 02:01:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 19:01:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of murray07@altheim.com designates 69.90.72.72 as permitted sender) Received: from [69.90.72.72] (HELO athens.clusterspan.net) (69.90.72.72) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 02:00:49 +0000 Received: (qmail 10952 invoked from network); 24 Jun 2008 22:01:08 -0400 Received: from patrick183-w3.natlib.govt.nz (HELO ?10.44.43.192?) (192.122.171.18) by athens.clusterspan.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Jun 2008 22:01:07 -0400 Message-ID: <4861A6E2.3010302@altheim.com> Date: Wed, 25 Jun 2008 14:01:06 +1200 From: Murray Altheim User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: jspwiki-dev@incubator.apache.org Subject: Re: Controllable API References: <4860DA83.3040109@altheim.com> <29C15660-BCA9-45EB-8CC0-F6FA15DD1307@mac.com> <5A8F4888-D5E4-4AC2-8A23-A98F0E4E9128@ecyrd.com> In-Reply-To: <5A8F4888-D5E4-4AC2-8A23-A98F0E4E9128@ecyrd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Janne, Okay, a bit of RTFM for me. I'm curious as to why there'd need to be much if anything by way of new machinery, as the Admin UI seems to be *almost* there already. If I were to create a jspwiki_module.xml file for all of the plugins I administer (and provide XML files for all jars I distribute), then it'd be a matter of adding a single element (e.g., , or perhaps an ACL-based approach) to the XML, adding the rather minor changes to com.ecyrd.jspwiki.ui.admin.beans.PluginBean to process the new boolean or ACL value(s), and add the necessary functionality to Admin.jsp to permit more than the current read-only display, instead including a checkbox (boolean) or selector (ACL) for each plugin. Is this close to what's needed, or is there a lot more? [I'm also curious as to how the 'alias' feature works, as I currently have a fair number of classes whose sole purpose is to provide an alias so that users don't have to type "Plugin" appended to what is basically a predicate name). Are multiple alii possible?] Thanks, Murray ........................................................................... Murray Altheim === = = http://www.altheim.com/murray/ = = === SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = = Boundless wind and moon - the eye within eyes, Inexhaustible heaven and earth - the light beyond light, The willow dark, the flower bright - ten thousand houses, Knock at any door - there's one who will respond. -- The Blue Cliff Record