Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Recursively generated menus in XSL and Cocoon

From: Matt Rich <mattaios@---------->
To:
Date: 9/1/2004 2:04:00 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent