struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <gsex...@mhsoftware.com>
Subject Newbie Help html:text conditional arguments
Date Fri, 25 Mar 2005 03:45:55 GMT
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message