I agree. This behaviour looks very suited to a dhtml/js solution.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 March 2004 19:54
To: [EMAIL PROTECTED]
Subject: RE: Hierarchical Lists


Short of a reload, I believe only a JavaScript/DHTML function can provide this 
behavior.


-----Original Message-----
From: Randy Dillon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:48 PM
To: Struts Users Mailing List
Subject: Hierarchical Lists


Say I have 2 (or more) lists that are part of a hierarchy, such that the first list is 
a category (say Food Groups) and the second list contains children of each of the 
first list's items (for this example, let's say Food Types).  

How do I get the second list to be filtered based on the selection in the first list?  
I know this can be done by reloading the page each time the selection is changed in 
the first list, but is there a way to do this without the page reload?

To add more detail to the example:

Food Groups             Food Types
-----------             ----------
Meat&Dairy              Beef
                        Chicken
                        Milk
                        Eggs
Fruit&Veg               Melons
                        Apples
                        Oranges
                        Lettuce
.                         .     
.                         .
.                         .

If Meat&Dairy is selected in the Food Groups list, can the second Food Types list be 
filtered to only the Meat&Dairy food types without a page reload?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to