Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 44814 invoked from network); 27 Aug 2003 15:08:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Aug 2003 15:08:32 -0000 Received: (qmail 77827 invoked by uid 500); 27 Aug 2003 15:05:43 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77768 invoked by uid 500); 27 Aug 2003 15:05:42 -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 77702 invoked from network); 27 Aug 2003 15:05:40 -0000 Received: from unknown (HELO warden.diginsite.com) (208.29.163.248) by daedalus.apache.org with SMTP; 27 Aug 2003 15:05:40 -0000 Received: from wlvims01.diginsite.com by warden.diginsite.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Wed, 27 Aug 2003 08:05:43 -0700 Received: from calexc01.digitalinsight.com ([10.200.0.20]) by wlvims01.digitalinsight.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Wed, 27 Aug 2003 08:02:56 -0700 Received: by calexc01.diginsite.com with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Aug 2003 08:02:56 -0700 Message-ID: <31DF72A980E5D511B48C000102BD868503EA7F02@calexc01.diginsite.com> From: Ralph Goers To: "'users@cocoon.apache.org'" Subject: RE: use my own configuration file for my avalon component Date: Wed, 27 Aug 2003 08:02:52 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Your instructions do not configure a new component. They only define a new role. I found that to configure a new component I had to add it to cocoon.xconf by doing: Ralph > -----Original Message----- > From: Antonio Gallardo [mailto:agallardo@agsoftware.dnsalias.com] > Sent: Tuesday, August 26, 2003 8:09 PM > To: users@cocoon.apache.org > Subject: Re: use my own configuration file for my avalon component > > > maisonneuve nico dijo: > > i would use a configuration file (myconf.xconf) and no > cocoon.xconf to > > configure this components.. but i don't know how do this.. > > Hi: > > It is very easy :) > > 1. You can edit your cocoon.xconf to "tell" him about your > own config file > that address new roles: > > > ... > > > 2. Your myconf.xconf can define new roles, for example: > > > shorthand="mynewcomponent" > default-class="com.my.components.myOwnComponentImplementation"/> > > > 3. Use your role inside cocoon.xconf: > > > > > > > 4. Restart Cocoon. > > 5. Use this component as the others using lookup mynewcomponent.ROLE > > Tha is all! > > I hope this will help you. > > Best Regards, > > Antonio Gallardo > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org