struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <gsex...@mhsoftware.com>
Subject RE: Newbie Help html:text conditional arguments
Date Fri, 25 Mar 2005 17:38:27 GMT
How would I do this? I upgraded all of the jars to 1.2.4 version of struts,
and copied the TLDs and DTDs, but the READONLY attribute is still not set.

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

> -----Original Message-----
> From: Hubert Rabago [mailto:hrabago@gmail.com] 
> Sent: Friday, March 25, 2005 9:45 AM
> To: Struts Users Mailing List
> Subject: Re: Newbie Help html:text conditional arguments
> 
> 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
> 
> 


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


Mime
View raw message