RE: Display of label associated to drop-down

2002-08-27 Thread Sri Sankaran
To you therapyCode select tag add an onchange (note:it isn't onChange) element that submits the page. The action for the page can then set the therapyArrayList and re-direct the user to the same page html:select property=therapyCode1 onclick=formname.submit() %-- etc --% Hope that helps

RE: Display of label associated to drop-down

2002-08-27 Thread Rea, Ron
-Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 5:44 AM To: Struts Users Mailing List Subject: RE: Display of label associated to drop-down To you therapyCode select tag add an onchange (note:it isn't onChange) element that submits the page

RE: Display of label associated to drop-down

2002-08-27 Thread Sri Sankaran
List' Subject: RE: Display of label associated to drop-down Thanks for the reply. One question: if I changed the html:select to also include an indexed=true option, could I then simply use an html:text statement to display whatever therapyDesc (also within the collection) for the associated

RE: Display of label associated to drop-down

2002-08-27 Thread Rea, Ron
Subject: RE: Display of label associated to drop-down The indexed=true is valid only inside an logic:iterate tag. If your page is lightweight enough you could load the codes and their descriptions in one fell swoop into a JavaScript array. Display only the codes and when the user selects a code

RE: Display of label associated to drop-down

2002-08-27 Thread Sri Sankaran
]] Sent: Tuesday, August 27, 2002 3:42 PM To: 'Struts Users Mailing List' Subject: RE: Display of label associated to drop-down Sri, Thanks for the reply! Since indexed=true is valid only inside an logic:iterate tag, could I wrap the html:select html:options code in a logic:iterate tag