Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 57849 invoked from network); 1 Jul 2005 20:25:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2005 20:25:04 -0000 Received: (qmail 20548 invoked by uid 500); 1 Jul 2005 20:25:03 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 20516 invoked by uid 500); 1 Jul 2005 20:25:02 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 20501 invoked by uid 99); 1 Jul 2005 20:25:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 13:25:02 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EF57617 for ; Fri, 1 Jul 2005 22:24:58 +0200 (CEST) Message-ID: <1858186775.1120249498978.JavaMail.jira@ajax.apache.org> Date: Fri, 1 Jul 2005 22:24:58 +0200 (CEST) From: "Carlin Rogers (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Assigned: (BEEHIVE-835) Make improvements to the support for URL templating. In-Reply-To: <2008333973.1119659946428.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-835?page=all ] Carlin Rogers reassigned BEEHIVE-835: ------------------------------------- Assign To: Rich Feit (was: Carlin Rogers) Assigning to Rich to review the new, additional patch. > Make improvements to the support for URL templating. > ---------------------------------------------------- > > Key: BEEHIVE-835 > URL: http://issues.apache.org/jira/browse/BEEHIVE-835 > Project: Beehive > Type: Improvement > Components: NetUI > Versions: v1m1, V1Beta, V1Alpha > Reporter: Carlin Rogers > Assignee: Rich Feit > Fix For: V1 > Attachments: j835-patch.txt, j835-patch2.txt > > These changes are based on the discussions from email I posted > to the beehive-dev@incubator.apache.org list. See... > http://mail-archives.apache.org/mod_mbox/incubator-beehive-dev/200506.mbox/%3cba6911de050617080216c7f0d0@mail.gmail.com%3e > and > http://mail-archives.apache.org/mod_mbox/incubator-beehive-dev/200506.mbox/%3cba6911de0506240926ee7146b@mail.gmail.com%3e > In summary... > - deprecate URLTemplateDescriptor and just use the URLTemplatesFactory > to get a URLTemplate. > - create a hook via the ServletContainerAdapter to support container > specific implementations of URLTemplatesFactory (extending Factory) for > reading/parsing the beehive-url-template-config.xml descriptor file. > - after loading the URLTemplatesFactory instance, set it as an > attribute on the ServletContext so TemplatedURLFormatter > implementations can get the desired URLTemplate when formatting a > rewritten URL. > - add an element to the beehive-netui-config schema to allow for a > class name of a per-webapp TemplatedURLFormatter to be used by the > URLRewriterService if there is not a per-request registered > TemplatedURLFormatter. > - add this default TemplatedURLFormatter instance to the > ServletContext for the URLRewriterService. > And other minor modifications... > - change TemplateTokenizer to accept more general token (I.e. "url:" > is not required as part of the token string). > - when formatting the URL with a template, if there is now replacement > value for a token, use the empty string. > - go back to "jpf-url-templates" as the name of the default template > ref group rather than "default-url-templates". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira