Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58803 invoked from network); 1 Mar 2005 22:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 22:30:23 -0000 Received: (qmail 87925 invoked by uid 500); 1 Mar 2005 22:30:17 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 87881 invoked by uid 500); 1 Mar 2005 22:30:17 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 87868 invoked by uid 99); 1 Mar 2005 22:30:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from channing.nyc.careersite.com (HELO channing.nyc.careersite.com) (206.65.188.152) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 14:30:16 -0800 Received: (qmail 13915 invoked from network); 1 Mar 2005 17:30:13 -0500 Received: from unknown (HELO ?10.0.102.39?) (eshannon@66.134.112.114) by mail.nyc.careersite.com with SMTP; 1 Mar 2005 17:30:13 -0500 Message-ID: <4224ECEC.2030304@careersite.com> Date: Tue, 01 Mar 2005 17:30:04 -0500 From: Eric Shannon User-Agent: Mozilla Thunderbird 1.0 (X11/20050125) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Using patterns for map:act elements ?? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In an effort to reduce the number of match patterns in my sitemap, I have a desire to dynamically set the action handler. I had hopped to find that map:act types support variable substitution, but that appears to not be the case. For example, I would want a URL like: http://localhost:8080/myApp/form1.do to use a generic match pattern like below. Define: Then have a generic match pattern like so: //It would appear that this is NOT an option. ....... Any ideas on how generalize 100+ specific actions? I could have a factory that creates/manages the actions internally and basically define one action handler in the pipeline that utilizes my factory. I would think that this isn't a unique use case. Input is appreciated. -Eric --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org