Posted by Patrice <pp...@nerim.net>.
You can't use tags in tags: try this:
<bean:define id="readonly" name="user" property="userReadOnlyState"/>
<html:text property="userID" readonly="<%= readonly%>"/>
Hope it helps
Patrice
----- Original Message -----
From: "Shryock, Chad" <ch...@eds.com>
To: "Struts Users Mailing List (E-mail)" <st...@jakarta.apache.org>
Sent: Monday, November 25, 2002 7:22 PM
Subject: <html: field question
> Hello,
>
> I have a page that has a large form. I need to be able to make some fields
> read-only dynamically for some views of the table. I tried <html:text
> property="userID" readonly="<bean:write name="user"
> property="userReadOnlyState"/>"/>.
>
> Thanks,
> Chad Shryock.
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>