Re: readonly
"Wolfgang Gehner" <[email protected]> Thu, 18 Sep 2003 09:08:09 +0200
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Message-ID | <003501c37db3$9de8bf00$0301000a@myagent3> |
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