struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sriram <sri...@nunet-tech.com>
Subject RE: readonly - select box
Date Sat, 05 Jul 2003 04:40:59 GMT
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:danttran@hotmail.com] 
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" <sriram@nunet-tech.com>
To: <struts-user@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message