What is it doing wrong? Getting errors? What does the resulting html src code look like?

George Sexton wrote the following on 3/24/2005 10:45 PM:
I'm running into a problem with Struts, and I admit I'm a newbie to it.

I have a line in a JSP file:

<html:text property="event_date_fmt" />

What I'd like to do is conditionally have readonly set:
<%
request.setAttribute("my_attr","true");
%>
<html:text readonly="${my_attr}" property="event_date_fmt" />

But it doesn't seem to work. I'm doing something similar with JSTL
FMT:MESSAGE.


What is it I'm doing wrong?


George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to