Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically set "readonly" attribute for <html:text>?

Status
Not open for further replies.

yuriyking

Programmer
Jan 29, 2004
26
0
0
DE
Hi all,
I'm using <html:text> tag inside some <html:form> tag and I want "readonly" attribute of <html:text> to be set to value of "read_only" property of form bean. Can I do it?
Thanks.
 
may be something like:

Code:
<bean:define id="isReadOnly" name= "bean" value="value "/> 
<html:text property="..." readOnly=<%= isReadOnly %> />
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top