Re: html:select default value overwriting bean value

2005-07-14 Thread Laurie Harper
a method of the ActionForm. Thanks Tom -Original Message- From: ichy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 10:06 AM To: Struts Users Mailing List Subject: Re: html:select default value overwriting bean value Hi, Tom did you try to use ActionForm#reset() to set default value f

RE: html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
, getCountryID() is a method of the ActionForm. Thanks Tom -Original Message- From: ichy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 10:06 AM To: Struts Users Mailing List Subject: Re: html:select default value overwriting bean value Hi, Tom did you try to use ActionForm#reset

Re: html:select default value overwriting bean value

2005-07-14 Thread ichy
Hi, Tom did you try to use ActionForm#reset() to set default value for countryID to US ? getCountryID() you are talking is a method of ActionForm, right? ichy

html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
Hi all, I have the following code: Which basically gets a list of countries and displays them. But, it also gets the value that resides in the beans getCountryID method and sets the value of the drop down to that. But, if I do this: