Thanks a lot for ur help Many Thanks and Regards,
Jerson -----Original Message----- From: jlm...@gmail.com [mailto:jlm...@gmail.com] Sent: Tuesday, February 22, 2011 12:41 PM To: Jerson John; 'Struts Users Mailing List' Subject: Re: Double Select Tag Not right now, but you will find plenty of them on dojo's web page. But if you are gonna use it only once, then I would suggest to implement it manually, rather than start looking the dojo api(can be quite comples). Actually, I got someplace an example of a select loaded dinamically using ajax directly. It's pretty simple, so you should be able wo work something out of it. I will look and send it tomorrow. ------Mensaje original------ De: Jerson John Para: 'Struts Users Mailing List' Para: Yo Asunto: RE: Double Select Tag Enviado: 21 Feb, 2011 23:29 Thanks a lot for this quick reply...I roughly understood what u mean by ur three option...For the third one using dojo...Can u please provide me some sample code for that...I will be a great help ... Many Thanks and Regards, Jerson -----Original Message----- From: jlm...@gmail.com [mailto:jlm...@gmail.com] Sent: Tuesday, February 22, 2011 12:19 PM To: Struts Users Mailing List Subject: Re: Double Select Tag Well, there are diferent options for this: 1) Load all the posibles values of the second select into javascript arrays when loading the page, and the populate the second select using javascript once the user has made a selection in the first select 2) Once the user has selected an element in the first select, navigate to present the same page, but with the second select also loaded. 3) Use Ajax to populate dinamically the second select retrieving the data from the server once the users selects one element on the first select. You can write the javascript yourself, or use a toolkit like Dojo to abstract yourself of that. Depending on the amount of data, and the likelihood of changes in it, I would use options 1 or 3, but it's up to you. JL ------Mensaje original------ De: Jerson John Para: 'Struts Users Mailing List' Responder a: Struts Users Mailing List Asunto: Double Select Tag Enviado: 21 Feb, 2011 22:50 Hi, Can some one help me on double select tag with Hibernate...I am having two classes AssetCat,AssetSubCat and My first list should be assetcat list and according to the Assetcat selection I need to populate the second list which is assetsubcat list....Please advice me on this...I try to google it but Only could find hardcoded string array stuff...Please advice me on this.. Thanks in advance Many Thanks and Regards, Jerson --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org Sent via BlackBerry from T-Mobile Sent via BlackBerry from T-Mobile --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org