Your best bet is to display static text for the existing entries because I
doubt HTML supports disabling a select box. You would probably need to use
Javascript to prevent someone from changing a select option but that would
be annoying. If they can't change something, why put it in a select box?

Hal

> -----Original Message-----
> From: Joel Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: select tag attribute disable
> 
> 
> Hi,
> I'm using a form using struts and the struts-html tag library 
> and a select
> tag. When I'm editing an entry in the form I want to disable 
> the select box
> while still displaying it with what's selected and have it 
> enabled when
> creating a new entry. I would have thought simply inserting 
> the attribute
> something like this would work but it doesn't.
>  
> <html:select property="type" DISABLE>
> 
> Any suggestions?
>  Joel Schmidt
> <Software Engineer>
>  Apex Learning
>  Phone 425.468.6790
>  Ext 6790
>  Email [EMAIL PROTECTED]
> 

Reply via email to