You could control what you display with JSTL, something like the following

<c:choose>
    <c:when test="${isReadOnly}">
        <c:out value="${fb.firstName}"/>
    </c:when>
    <c:otherwise>
        <html:text property="firstName"/>
    </c:otherwise>
</c:choose>


Wolfgang Gehner
Infonoia SA - Software that thinks like you do(TM)

----- Original Message ----- 
From: Peyathevar, Santhi {PBG} <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 10:01 PM
Subject: RE: [MVC-Programmers] readonly


> Helen,
> 
> It is not always readonly field for me.
> (Contionally readonly)
> 
> Otherwise i should have kept it as a label
> 
> 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

Reply via email to