[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Recursively generated menus in XSL and Cocoon

Subject: Recursively generated menus in XSL and Cocoon
From: Matt Rich <mattaios@xxxxxxxxxx>
Date: Wed, 1 Sep 2004 16:03:01 +0200
cocoon menu
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.