Thanks Dan. It worked. -----Original Message----- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2003 10:27 AM To: Struts Users Mailing List Subject: Re: readonly - select box
forget to mention, You need to add a hidden field which has the same value as the disabled select field. -Dan ----- Original Message ----- From: "sriram" <[EMAIL PROTECTED]> Newsgroups: Struts Sent: Friday, July 04, 2003 9:40 PM Subject: RE: readonly - select box > If I use disable="true", then on submission of the form, this field > does not have any value and so I am getting a validation error (this is a mandatory field). > > My requirement is to make it read-only instead of making it disabled. > > Any clue? > > -----Original Message----- > From: Dan Tran [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 05, 2003 10:12 AM > To: Struts Users Mailing List > Subject: Re: readonly - select box > > > Use disabled="true" > > -D > ----- Original Message ----- > From: "sriram" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, July 04, 2003 9:04 PM > Subject: readonly - select box > > > > How to make a <html:select> readonly (not disabled). > > > > For <html:text>, I can use 'readonly' but this does not exist for > <html:select> > > > > Any suggestions? Please inform. > > > > > > --------------------------------------------------------------------- > 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]

