04 2:31 PM
Subject: Re: Setting html:hidden property using JSTL
> James
>
> Do you include the HTML tag library within the jsp page? It needs to go
> at the top and look like this:
>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>
>
ECTED]
Subject: RE: Setting html:hidden property using JSTL
Assuming you are using the Struts-EL tag library:
Try:
robert
> -Original Message-
> From: Tom McCobb [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 12:05 PM
> To: Struts Users Mailing List
> Subject: RE:
Tom McCobb wrote:
I am having the same nagging problem in JBoss3.2.3/Tomcat4.1.
---this works just fine
The last line always renders as '' both in
the Form property and the request parameter.
I checked versions, etc. as detailed earlier in this thread. I'm stumped.
I'm using J
gt;' both in
> > the Form property and the request parameter.
> >
> > I checked versions, etc. as detailed earlier in this
> > thread. I'm stumped.
> >
> > Tom McC.
> >
> > -Original Message-
> > From: Karr, David [mailto:[EMAIL
;
> Tom McC.
>
> -Original Message-
> From: Karr, David [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 11:00 AM
> To: Struts Users Mailing List
> Subject: RE: Setting html:hidden property using JSTL
>
>
> What container are you using? If this
Assuming you are using the Struts-EL tag library:
Try:
robert
> -Original Message-
> From: Tom McCobb [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 12:05 PM
> To: Struts Users Mailing List
> Subject: RE: Setting html:hidden property using JSTL
>
>
&
gt; > All you should have to do is add (or include)
> > > something like this to the
> > > top of your .jsp page.
> > >
> > > <%-- JSTL Standard Tags --%>
> > > <%@ taglib
> uri="http://java.sun.com/jsp/jstl/core";
> >
umped.
Tom McC.
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:00 AM
To: Struts Users Mailing List
Subject: RE: Setting html:hidden property using JSTL
What container are you using? If this is Resin, this has been known to
cause problems because of the
t;%-- JSTL Standard Tags --%>
> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core";
> > prefix="c" %>
> > <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt";
> > prefix="fmt" %>
> >
> > If your container does n
.4 spec,
> then you will need
> to include the appropriate .tld and .jar files and
> update your web.xml
> file to reference the appropriate .tld file(s).
>
> robert
>
>
>
>
>
> > -Original Message-
> > From: klute [mailto:[EMAIL PROTECTED]
>
Right. Thanks for the clarification, Kris.
robert
> -Original Message-
> From: Kris Schneider [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 10:39 AM
> To: Struts Users Mailing List
> Subject: RE: Setting html:hidden property using JSTL
>
>
> Smal
tld and .jar files and update your web.xml
> file to reference the appropriate .tld file(s).
>
> robert
>
>
>
>
>
> > -Original Message-
> > From: klute [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 24, 2004 10:01 AM
> > To: Strut
appropriate .tld and .jar files and update your web.xml
file to reference the appropriate .tld file(s).
robert
> -Original Message-
> From: klute [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 10:01 AM
> To: Struts Users Mailing List
> Subject: Re: Setting html:h
Hello All,
I *really* appreciate your help. Because of a
hard-pressing work deadline, i actually gave up on
getting that to work using JSTL and ended up using the
ugly "/>
instead.
I'll definitely come back to JSTL at a later time
since i consider that to be a proper way of doing this
sort of t
.
robert
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 23, 2004 3:23 PM
> To: Struts Users Mailing List
> Subject: Re: Setting html:hidden property using JSTL
>
>
> klute wrote:
>
> > Yes, the struts-el.jar
klute wrote:
Yes, the struts-el.jar is in WEB-INF/lib
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
klute wrote:
This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ taglib uri="/W
Yes, the struts-el.jar is in WEB-INF/lib
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> klute wrote:
>
> > > value="${contentId}">
> >
> > This are the tagligs i am importing on this page:
> > <%@ taglib uri="/WEB-INF/struts-bean.tld"
> > prefix="bean" %>
> > <%@ taglib uri="/WEB-INF/struts-html
klute wrote:
This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld"
prefix="html-el" %>
<%@ taglib uri="http://java.sun.com/jstl/core";
pref
> I just started experimenting with jstl and i'd like to
> set a hidden field on MyActionForm using a value
> (contentId) available as an attribute on the request.
> Basically, i'd like to do something like this:
>
> "/>
>
> Which does not work.
No, it won't. You're trying to nest tags, and
Thanks a lot to all who responded!
So i tried using html-el using the syntax Rick
suggested:
The resulting html contains:
This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%
klute wrote:
Hi All,
I just started experimenting with jstl and i'd like to
set a hidden field on MyActionForm using a value
(contentId) available as an attribute on the request.
Basically, i'd like to do something like this:
"/>
Which does not work. Should i be using EL syntax
instead? And wh
James
Do you include the HTML tag library within the jsp page? It needs to go
at the top and look like this:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Cheers
Christopher Marsh-Bourdon
Pyplia Limited
klute <[EMAIL PROTECTED]>
23/06/2004 18:25
Please respond to "Struts Use
I've also noticed you are doubling up on double quotes, try this:
or
Cheers
Christopher Marsh-Bourdon
Pyplia Limited
klute <[EMAIL PROTECTED]>
23/06/2004 18:25
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
23 matches
Mail list logo