struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <hrab...@gmail.com>
Subject Re: Newbie Help html:text conditional arguments
Date Fri, 25 Mar 2005 16:45:10 GMT
It's possible you just need to update your taglib declarations to use
the EL version of the tags.

Hubert


On Fri, 25 Mar 2005 11:41:41 -0500, Rick Reumann <struttin@reumann.net> wrote:
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message