Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 3797 invoked from network); 1 Sep 2004 14:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 14:40:22 -0000 Received: (qmail 76390 invoked by uid 500); 1 Sep 2004 14:39:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76285 invoked by uid 500); 1 Sep 2004 14:39:54 -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 76129 invoked by uid 99); 1 Sep 2004 14:39:52 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 07:39:51 -0700 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.12.5/8.12.5) with ESMTP id i81EdAcK002389 for ; Wed, 1 Sep 2004 16:39:10 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Wed, 01 Sep 2004 16:39:10 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 01 Sep 2004 16:38:38 +0200 From: "Derek Hohls" To: Subject: Re: Recursively generated menus in XSL and Cocoon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact sys-admin at csir dot co dot za for more information X-CSIR-MailScanner: Found to be clean X-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Matt You could do this using Cocoon forms; have a look at the example in: /samples/blocks/forms/carselector /samples/blocks/forms/countryselector If you search further in the mail archives, you will find other discussions about further options based on these examples. HTH Derek >>> mattaios@pasteur.fr 2004/09/01 04:03:01 PM >>> Hello ! I'm developing a database interrogation user interface in XML/XSL with Cocoon. The user having selected a request , the system generates a page on which he has to select values for the requests' parameters . For each single parameter, there is a number of values I select from the database through subrequests, in order to generate a dropdown menu, for the user to choose between them. All data for the subrequests' generation come from a XML file There is never the same number of parameters , so I use a recursive template to generate each subrequest Is it possible to use the values selected from a thus generated menu , to modify the values proposed by another such menu, through a javascript function like 'Onchange'? For example, with two menus , 'Collection' and 'Types': if I select collection number '1', could it be possible to re-generate the following menu, so as to display only the types that are represented in the collection number '1'? (I personally doubt this is possible, based on past experience) What's your opinion? Many thanks for every answer!! Matt --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org