RE: readonly

helen chen <[email protected]> Wed, 17 Sep 2003 13:39:41 -0500
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
Why do you just use label ( <html:label> ) inside your jsp to control
read only field? Actually, text filed are editable (in the common use).
Helen

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Peyathevar,
Santhi {PBG}
Sent: Wednesday, September 17, 2003 11:28 AM
To: '[email protected]'
Subject: RE: [MVC-Programmers] readonly

How do i get 
 <html:text readonly="true" /> working?

My code:
isReadOnly = "\"true\""
<html:text property="firstName" readonly=<%=isReadOnly%>/>

Problem: It does not translate html:text. As a result ViewSource gives:

<html:text property="firstName" readonly="true" />

Thank you
Santhi
_______________________________________________
MVC-Programmers mailing list
[email protected]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers