RE: readonly

[email protected] Wed, 17 Sep 2003 15:25:54 -0400
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
This is a multipart message in MIME format.
--=_alternative 006AB52A85256DA4_=
Content-Type: text/plain; charset="us-ascii"

Perhaps you forgot to include the "html" tag library?... I've done this 
many times only to notice when I view source, it says "<html:...>"

Just a thought..

-sean-




helen chen <[email protected]>
Sent by: [email protected]
09/17/2003 02:39 PM
Please respond to mvc-programmers

 
        To:     [email protected]
        cc: 
        Subject:        RE: [MVC-Programmers] readonly


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

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


--=_alternative 006AB52A85256DA4_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Perhaps you forgot to include the &quot;html&quot; tag library?... I've done this many times only to notice when I view source, it says &quot;&lt;html:...&gt;&quot;</font>
<br>
<br><font size=2 face="sans-serif">Just a thought..</font>
<br>
<br><font size=2 face="sans-serif">-sean-</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>helen chen &lt;[email protected]&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: [email protected]</font>
<p><font size=1 face="sans-serif">09/17/2003 02:39 PM</font>
<br><font size=1 face="sans-serif">Please respond to mvc-programmers</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;[email protected]</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;RE: [MVC-Programmers] readonly</font></table>
<br>
<br>
<br><font size=2><tt>Why do you just use label ( &lt;html:label&gt; ) inside your jsp to control<br>
read only field? Actually, text filed are editable (in the common use).<br>
Helen<br>
</tt></font>
<br><font size=2><tt>-----Original Message-----<br>
From: [email protected]<br>
[mailto:[email protected]] On Behalf Of Peyathevar,<br>
Santhi {PBG}<br>
Sent: Wednesday, September 17, 2003 11:28 AM<br>
To: '[email protected]'<br>
Subject: RE: [MVC-Programmers] readonly<br>
</tt></font>
<br><font size=2><tt>How do i get<br>
&lt;html:text readonly=&quot;true&quot; /&gt; working?</tt></font>
<br>
<br><font size=2><tt>My code:<br>
isReadOnly = &quot;\&quot;true\&quot;&quot;<br>
&lt;html:text property=&quot;firstName&quot; readonly=&lt;%=isReadOnly%&gt;/&gt;<br>
</tt></font>
<br><font size=2><tt>Problem: It does not translate html:text. As a result ViewSource gives:<br>
</tt></font>
<br><font size=2><tt>&lt;html:text property=&quot;firstName&quot; readonly=&quot;true&quot; /&gt;<br>
</tt></font>
<br><font size=2><tt>Thank you<br>
Santhi<br>
_______________________________________________<br>
MVC-Programmers mailing list<br>
[email protected]<br>
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers<br>
</tt></font>
<br><font size=2><tt>_______________________________________________<br>
MVC-Programmers mailing list<br>
[email protected]</tt></font>
<br><font size=2><tt>http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers</tt></font>
<br>
<br>
--=_alternative 006AB52A85256DA4_=--