RV: struts1 - html:hidden tag

2009-03-06 Thread Alvaro Gomez
2) actually assigns the value "" 1) gets the value of the property from the formbean if it has been assigned in the formbean. You may have an action that populates the form by hitting a database, loading the data in the form and the forwarding to your current page ie before editing a record. mas E

Re: struts1 - html:hidden tag

2009-03-05 Thread Dave Newton
Emi Lu wrote: 2) actually assigns the value "" 1) gets the value of the property from the formbean if it has been assigned in the formbean. You may have an action that populates the form by hitting a database, loading the data in the form and the forwarding to your current page ie before editi

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
I am not really sure what you are doing?? If you need a datasource and have set it up appropriately in your context.xml see http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html(for tomcat 6.0) you get the datasource doing something like this: Context initContext =

Re: struts1 - html:hidden tag

2009-03-05 Thread Emi Lu
Hi Mas, 2) actually assigns the value "" 1) gets the value of the property from the formbean if it has been assigned in the formbean. You may have an action that populates the form by hitting a database, loading the data in the form and the forwarding to your current page ie before editing a r

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
2) actually assigns the value "" 1) gets the value of the property from the formbean if it has been assigned in the formbean. You may have an action that populates the form by hitting a database, loading the data in the form and the forwarding to your current page ie before editing a record. mas

RE: struts1 - html:hidden tag

2009-03-05 Thread Alvaro Gomez
It's while return value in operation en ActionStrust y parameter in IN -Mensaje original- De: Emi Lu [mailto:em...@encs.concordia.ca] Enviado el: Jueves, 05 de Marzo de 2009 10:18 a.m. Para: Struts Users Mailing List Asunto: struts1 - html:hidden tag Good morning, A question

struts1 - html:hidden tag

2009-03-05 Thread Emi Lu
Good morning, A question about struts1 tag. May I know the differences between (1) vs. (2) please? (1) (2) When I load value from popup windows, it seems that default value will be setup on (1); while (2) always return value="". Could someone let me know why? I am lost why default value wi

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
class="Text" /> class="SearchBTN" value="Search" /> Advanced Search displays properly..if I change - Original Message - From: "Dimitris Mouchritsas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent:

Re: Closing tag for html:hidden

2008-06-24 Thread Martin
" value="Search" /> Advanced Search displays properly..if I change - Original Message - From: "Dimitris Mouchritsas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 2

Re: Closing tag for html:hidden

2008-06-24 Thread Antonio Petrelli
2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > BTW is there an option in struts-config.xml (for v.1.3.8 at least) or > somewhere else to notify struts to use xhtml compatible elements > everywhere? So as to avoid having in every jsp? I think you have to start a new thread, or no one will n

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Well, one solution is to move the tld's to a directory and define them in web.xml. This seems to be working. However I've got some strange problems. For example in a tile I render a link for advanced search: <%@ taglib uri="http://struts.apache.org/tags-html"; prefi

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Well, one solution is to move the tld's to a directory and define them in web.xml. This seems to be working. However I've got some strange problems. For example in a tile I render a link for advanced search: <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> <%@ taglib uri="ht

Re: Closing tag for html:hidden

2008-06-24 Thread Antonio Petrelli
2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > Antonio Petrelli wrote: >> >> 2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: >> >>> >>> So, since they're in the jars I don't need to declare the tld's in >>> web.xml >>> right? >>> >> >> Right, in fact I'm struggling to understand what is

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: So, since they're in the jars I don't need to declare the tld's in web.xml right? Right, in fact I'm struggling to understand what is the problem, too :-D Antonio -

Re: Closing tag for html:hidden

2008-06-24 Thread Antonio Petrelli
2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > So, since they're in the jars I don't need to declare the tld's in web.xml > right? Right, in fact I'm struggling to understand what is the problem, too :-D Antonio - To unsu

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: OracleJSP: oracle.jsp.parse.JspParseException: /WEB-INF/jsp/common/layout.jsp: Line # 2, <%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="t" %> Error: Unable to load taghandler class: http://struts.apache

Re: Closing tag for html:hidden

2008-06-24 Thread Antonio Petrelli
2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > OracleJSP: oracle.jsp.parse.JspParseException: > /WEB-INF/jsp/common/layout.jsp: Line # 2, <%@ taglib > uri="http://struts.apache.org/tags-tiles"; prefix="t" %> > Error: Unable to load taghandler class: http://struts.apache.org/tags-tiles > ...

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: I get a 500 Internal server error when trying to access the home page. Can I see the stack trace? Antonio - To unsubscribe, e-mail: [EMAIL P

Re: Closing tag for html:hidden

2008-06-24 Thread Antonio Petrelli
2008/6/24 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > I get a 500 Internal server error when trying to access the home page. Can I see the stack trace? Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Closing tag for html:hidden

2008-06-24 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: A tile definition. I've tried a few combinations, but none is working. For example if I use I get no exception but a blank page is returned. I suppose that Tiles has not been configured corre

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > A tile definition. I've tried a few combinations, but none is working. For > example if I use > > path="/home" > type="be.fedict.etendering.web.actions.common.HomeAction"> > > > > I get no exception b

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: What exactly is this "home"? Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > path="/home" > forward="home" /> What exactly is this "home"? Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: One thing to note though is we're using xdoclet 1.2.3 to create struts-config.xml for us. As I understand this version of xdoclet supports up to struts 1.2.x. Could this be the culprit?

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: One thing to note though is we're using xdoclet 1.2.3 to create struts-config.xml for us. As I understand this version of xdoclet supports up to struts 1.2.x. Could this be the culprit? Probably. According to t

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > One thing to note though is we're > using xdoclet 1.2.3 to > create struts-config.xml for us. As I understand this version of xdoclet > supports up to struts 1.2.x. > Could this be the culprit? Probably. According to the source file: http://svn

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: Caused by: java.lang.NullPointerException at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113) Mmm... Just a shot in the dark, did you put the commons-chain.jar

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > Caused by: java.lang.NullPointerException > at > org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113) Mmm... Just a shot in the dark, did you put the commons-chain.jar in your classpath? Antonio -

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: Thanks for the info for the form tag. The problem is we use tiles, so html:xhtml is not really an option. Why? does not produce any markup code, only tells Struts tags to render in XHTML. Antonio ---

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > Thanks for the info for the form tag. The problem is we use tiles, so > html:xhtml is not really an option. Why? does not produce any markup code, only tells Struts tags to render in XHTML. Antonio ---

Re: Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Antonio Petrelli wrote: 2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: Notice that it doesn't close the tag properly like /> as required by xhtml. Is there a way to tell struts to close properly for xhtml or we have to upgrade? Use before the first tag of every JSP page. BTW I s

Re: Closing tag for html:hidden

2008-06-23 Thread Antonio Petrelli
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > Notice that it doesn't close the tag properly like /> as required by xhtml. > Is there a way to tell struts to close properly for xhtml or we have to > upgrade? Use before the first tag of every JSP page. BTW I suggest to upgrade to Struts 1.

Closing tag for html:hidden

2008-06-23 Thread Dimitris Mouchritsas
Hi all, We're using struts 1.2.4 in our project and we just noticed something; When rendering a element the html produced is: Notice that it doesn't close the tag properly like /> as required by xhtml. Is there a way to tell struts to close properly for xhtml or we have to upgrade? Thanks

Re: html:hidden as a collection not String

2008-02-08 Thread Laurie Harper
Shanna7463 wrote: Is it possible to assign a collection to a html:hidden component, rather than a string? Basically my webapp allows the user to select different options for access control. I would like to add these selections to a collection and pass that to my Action class. A hidden

html:hidden as a collection not String

2008-02-06 Thread Shanna7463
Is it possible to assign a collection to a html:hidden component, rather than a string? Basically my webapp allows the user to select different options for access control. I would like to add these selections to a collection and pass that to my Action class. Thanks inadvance!! -- Shanna

Re: html:hidden

2007-06-10 Thread Nuwan Chandrasoma
Hi, Use plain told HTML and use your script tag. Thanks, Nuwan - Original Message - From: "john lee" <[EMAIL PROTECTED]> To: Sent: Sunday, June 10, 2007 3:49 PM Subject: html:hidden How to assaign value to html:hidden field? request.getAttribute("logini

Re: html:hidden

2007-06-10 Thread Mike Baroukh
it's because setValue() for the taglib need a String. try " > Mike john lee a écrit : How to assaign value to html:hidden field? > but give me the error message, saying need double quote, after i put double quote before "<%..", cause jsp compile error,

Re: html:hidden

2007-06-10 Thread Nicolás Pace
On 6/10/07, john lee <[EMAIL PROTECTED]> wrote: How to assaign value to html:hidden field? > but give me the error message, saying need double quote, after i put double quote before "<%..", cause jsp compile error, Which error did it cause? any clue?

html:hidden

2007-06-10 Thread john lee
How to assaign value to html:hidden field? > but give me the error message, saying need double quote, after i put double quote before "<%..", cause jsp compile error, any clue? tks in advance john - Sucker-punch

Re: put value to an html:hidden field from a java script function

2006-09-21 Thread Puneet Lakhina
On 9/21/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: Hi I need to put value to an input hidden field, from a java script function. I call the java script function from an onclick event of html:submit field I have debuged that process and input hidden field does'nt take value. Always ha

put value to an html:hidden field from a java script function

2006-09-21 Thread Heidy Gutiérrez Guzmán
Hi I need to put value to an input hidden field, from a java script function. I call the java script function from an onclick event of html:submit field I have debuged that process and input hidden field does'nt take value. Always have the default value. This is my way to do this ***This i

RE: set value to an html:hidden in jsp page

2006-09-16 Thread Strachan, Paul
:[EMAIL PROTECTED] Sent: Sat 16/09/2006 6:49 AM To: Struts Users Mailing List Subject: set value to an html:hidden in jsp page Hi I need to put value to an field in the own page jsp. Thanks ** This message is intended for the

set value to an html:hidden in jsp page

2006-09-15 Thread Heidy Gutiérrez Guzmán
Hi I need to put value to an field in the own page jsp. Thanks

Re: DynaActionForm and html:hidden

2005-09-21 Thread Martin Gainty
"/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Test Hidden Test I am not sure what to p

Re: DynaActionForm and html:hidden

2005-09-21 Thread Jason King
taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Test Hidden Test I am not sure what to put in the "property" attribute in the html:hidden area so that i

Re: DynaActionForm and html:hidden

2005-09-21 Thread kandryc
apache.struts.action.DynaActionForm"> > > > > > > > > > >> type="com.test.MyAction" > > parameter="method" > > name="myForm" > > scope="req

Re: DynaActionForm and html:hidden

2005-09-21 Thread Michael Jouravlev
; > > > > # JSP Page > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"

DynaActionForm and html:hidden

2005-09-21 Thread kandryc
t;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Test Hidden Test I am not sure what to put in the "property" attribute in the html:hidden area so that it will

Re: [HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Pham Anh Tuan
Thank you all :"), my problem is solved! - Original Message - From: "Mark Benussi" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, March 31, 2005 12:05 AM Subject: RE: [HELP] How can javascript reference to 1 html:hidd

RE: [HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Mark Benussi
ery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 16:50 To: 'Struts Users Mailing List' Subject: RE: [HELP] How can javascript reference to 1 html:hidden tag or html:text ??? > I don't know how javascript reference to 1 html:hidden tag or > html:text ta

RE: [HELP] How can javascript reference to 1 html:hidden tag or h tml:text ???

2005-03-30 Thread Slattery, Tim - BLS
> I don't know how javascript reference to 1 html:hidden tag or > html:text tag of struts tag lib and change their value. > for example: > I have document.getElementsByName("userId")[0].value="whatever"; If you use the "styleId" attribute,

[HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Pham Anh Tuan
Hi, I don't know how javascript reference to 1 html:hidden tag or html:text tag of struts tag lib and change their value. for example: I have How can I change the value of tag above by javascript. Maybe document.all.userId.value="somevalue" <-- like this ??? help me :(

Re: html:hidden query

2005-01-13 Thread Kishore Senji
Note that is just enough to populate the text box. The in the body of doesn't do anything. On Wed, 12 Jan 2005 23:34:27 -0800 (PST), Manisha Sathe <[EMAIL PROTECTED]> wrote: > Following i could get it but now i want this inside html hidden form tag. > > > > > > But If i use hidden tag t

html:hidden query

2005-01-12 Thread Manisha Sathe
Following i could get it but now i want this inside html hidden form tag. But If i use hidden tag then gives me error saying hidden can not have value. How can i put my bean data in ? regards Manisha Janarthan Sathiamurthy <[EMAIL PROTECTED]> wrote: Hi, If you have a bean by name myB

Re: html:hidden values are null

2004-10-19 Thread Rosemary Philip
the new Struts action. > > Regards, > David > > -Original Message- > From: Rosemary Philip [mailto:[EMAIL PROTECTED] > Sent: Monday, October 18, 2004 9:13 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: html:hidden values are null > > Yes

RE: html:hidden values are null

2004-10-18 Thread David G. Friedman
ubmitted to the new Struts action. Regards, David -Original Message- From: Rosemary Philip [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 9:13 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: html:hidden values are null Yes, the html:hidden is within an html:form. Also when I

Re: html:hidden values are null

2004-10-18 Thread Rosemary Philip
Yes, the html:hidden is within an html:form. Also when I do a view source on the page, I can see the values of the hidden variables correctly. but when I trace them to action class, they are null, all of them. another thing. this is what my html:form tag in my first jsp page says. but in the

RE: html:hidden values are null

2004-10-17 Thread David G. Friedman
Are you positive you have the html:hidden tag within the appropriate html:form tag? What is your html:form tag for either JSP? Regards, David -Original Message- From: Rosemary Philip [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 10:48 PM To: [EMAIL PROTECTED] Subject

html:hidden values are null

2004-10-17 Thread Rosemary Philip
I am having a problem getting values to another page when I try to use html:hidden. I have a list of employee objects in a page. on clicking on an employee from the list, the next page should show me more details on the employee. for getting the values across, i am trying to use html:hidden. but

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

R: Setting html:hidden property using JSTL

2004-06-23 Thread Amleto Di Salle
ib" directory inside the struts directory. But in this case the procedure in order to use them is just to complicate. BR /Amleto -Messaggio originale- Da: klute [mailto:[EMAIL PROTECTED] Inviato: mercoledì 23 giugno 2004 19.25 A: Struts Users Mailing List Oggetto: Setting html:hidd

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Christopher . Marsh-Bourdon
18:25 Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject:Setting html:hidden property using JSTL Hi All, I just started experimenting with jstl and i'd like to set a hidden field on

Re: Setting html:hidden property using JSTL

2004-06-23 Thread Christopher . Marsh-Bourdon
L PROTECTED]> cc: Subject:Setting html:hidden property using JSTL 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 somet

Setting html:hidden property using JSTL

2004-06-23 Thread klute
ad? And what would the correct syntax be? I did check that returns a valid value so my confusion is just passing it as a value to the html:hidden property. Any help is greatly appreciated. James __ Do you Yahoo!? New and Improved Yahoo! Mail -