Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 49082 invoked from network); 3 Sep 2004 07:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 07:50:47 -0000 Received: (qmail 24276 invoked by uid 500); 3 Sep 2004 07:50:16 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 24235 invoked by uid 500); 3 Sep 2004 07:50:16 -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 24212 invoked by uid 99); 3 Sep 2004 07:50:15 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ap-cocoon-users@m.gmane.org designates 80.91.224.249 as permitted sender) Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Sep 2004 00:50:15 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C38pn-000549-00 for ; Fri, 03 Sep 2004 09:50:12 +0200 Received: from gate.wyona.com ([195.226.6.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2004 09:50:11 +0200 Received: from andreas by gate.wyona.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2004 09:50:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Andreas Hartmann Subject: Re: DateInputModule, multiple formats Date: Fri, 03 Sep 2004 09:43:14 +0200 Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gate.wyona.com User-Agent: Mozilla Thunderbird 0.7.1 (Macintosh/20040626) X-Accept-Language: en-us, en In-Reply-To: Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Huber, Daniel wrote: > Hi there, > > I'd like to use different date formats with the > org.apache.cocoon.components.modules.inputDateInputModule. > There have been some requests on this topic in this list, but no real > answers. > > As i saw in the source code, the name of the parameter is hard-coded. It > must be 'format'. > So in cocoon.xconf it is (currently) not possible to declare more than > one format. > (I also saw some postings which demanded to change this...) > > But the wiki and some other sources say that besides cocoon.xconf there > is another place where I can define a 'format' parameter for > DateInputModule: "Format given through attribute "format" of > configuration root node [=cocoon.xconf?!] or nested tag on > module declaration. [=???]" The configuration takes place in cocoon.xconf. The two options just mean <... format="..."/> vs. <...> ... What you can do is declare multiple instances of the DateInputModule with different names and formats. -- Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org