Re: Setting html:hidden property using JSTL

2004-06-24 Thread Michael Nascimento Santos
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" %> > >

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Tom McCobb
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:

Re: Setting html:hidden property using JSTL

2004-06-24 Thread Rick Reumann
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
; > 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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
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 > > &

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
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"; > >

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Tom McCobb
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Karr, David
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
.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] >

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
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

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
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

Re: Setting html:hidden property using JSTL

2004-06-24 Thread klute
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

RE: Setting html:hidden property using JSTL

2004-06-23 Thread Robert Taylor
. 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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Rick Reumann
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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread klute
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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Rick Reumann
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

RE: Setting html:hidden property using JSTL

2004-06-23 Thread Slattery, Tim - BLS
> 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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread klute
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" %> <%

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Rick Reumann
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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Christopher . Marsh-Bourdon
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

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Christopher . Marsh-Bourdon
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: