[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: Re: how to use two combo-box which depend one on the other ?
From: Arash Bijanzadeh <a.bijanzadeh () linuxiran ! org>
Date: 2003-02-01 8:48:32
[Download RAW message or body]
We are using javascript for this purpose!
On Thursday 30 January 2003 19:37, Heligon Sandra wrote:
> I search example of code that allow to display/manage two combox box
> dependent one on the other.
>
> For example I have two collections:
>
> - a first collection of Formation object
> The formation object has the following properties:
> - subject ( C++, Java, human resources)
> - duration ( 1day, 2 days)
>
> - a second collection of Employee object
> The employee object has the following properties:
> - function (manager, developer, ....)
>
> In my Struts-JSP page I would like to use two combo-box to display
> these collections and if the user select the function "developer" I
> want
> to only list the software formations in the second combo box.
>
> Do I have to ask the web server each time the user select a new
> function,
> or is it possible to do this logic on the client side (with
> JavaScript probably ???).
>
> Thanks a lot in advance
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic