Use the HTML:TEXT with readonly="true/false".  The true or false can be
rendered either with a JSP expression or JSTL.

Edgar

> -----Original Message-----
> From: Jacob Wilson [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 14, 2003 7:01 PM
> To: [EMAIL PROTECTED]
> Subject: Basic tag library question
> 
> 
> Hi...
>  
> Is there any tld that is available to handle my <input 
> type=image> apart from the struts html tld???
>  
> I need to make the image disabled or enabled based on the 
> security level that I will be getting from DB...
>  
> I know we can do this thru the struts html tag lib werein we 
> can set the default attribute to either true or false!! Was 
> wondering whether there are any other taglibs... I checked 
> the input tag lib from jakarta, they do not have it for image!!!
>  
> Let me know and also please correct me if I had mentioned 
> anything wrong above...
>  
> Thanks.
> -Jacob.
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to