RE: possible s:submit with parameter?

2010-03-08 Thread adam pinder
detail . Date: Sun, 7 Mar 2010 10:26:39 -0600 Subject: Re: possible s:submit with parameter? From: burtonrho...@gmail.com To: user@struts.apache.org Adam is correct. Every item filled out in the form is sent to your action. You can save these variables in the session or alternaitvely

Re: possible s:submit with parameter?

2010-03-08 Thread Alex Rodriguez Lopez
You can use hidden fields inside of the form which will be sent too on submit as GET or POST params(usually good for IDs). Alex Em 05-03-2010 23:13, Adam Pinder escreveu: Any form textfield will be submitted when page submitted which is effectively a parameter. Adam On 5 Mar 2010, at 19:46,

Re: possible s:submit with parameter?

2010-03-08 Thread lucas owen
thanks to all you have been very very helpful!!! 2010/3/8 Alex Rodriguez Lopez alo...@flordeutopia.pt You can use hidden fields inside of the form which will be sent too on submit as GET or POST params(usually good for IDs). Alex Em 05-03-2010 23:13, Adam Pinder escreveu: Any form

Re: possible s:submit with parameter?

2010-03-07 Thread Burton Rhodes
Adam is correct. Every item filled out in the form is sent to your action. You can save these variables in the session or alternaitvely store them in each subsequent jsp with hidden form variables. You can use struts to display these properties/variables whereever you want. I think you are making

Re: possible s:submit with parameter?

2010-03-06 Thread lucas owen
Of course!! The problem is I can't use javascript, the application is supposed to work in any computer, any browser...no matter how old they are Any suggestions? 2010/3/5 Burton Rhodes burtonrho...@gmail.com Sounds like a good use for javascript , not a struts tag. On 3/5/10, lucas owen

Re: possible s:submit with parameter?

2010-03-06 Thread lucas owen
yes, of course... but imagine you have a list of elements, how do you pass the Id of the element you want to display in other page with a s:submit??? (I cant use javascript) 2010/3/6 Adam Pinder apin...@hotmail.co.uk Any form textfield will be submitted when page submitted which is effectively

possible s:submit with parameter?

2010-03-05 Thread lucas owen
Hi Struts users: I'm wondering if it is possible to pass a parameter inside a s:submit tag. I'm working with the following form (this is just a sketch) on a webpage, in which I collect some user data and display a list of elements (let's say books): ___

Re: possible s:submit with parameter?

2010-03-05 Thread Burton Rhodes
Sounds like a good use for javascript , not a struts tag. On 3/5/10, lucas owen sr.ilus...@gmail.com wrote: Hi Struts users: I'm wondering if it is possible to pass a parameter inside a s:submit tag. I'm working with the following form (this is just a sketch) on a webpage, in which I

Re: possible s:submit with parameter?

2010-03-05 Thread Adam Pinder
Any form textfield will be submitted when page submitted which is effectively a parameter. Adam On 5 Mar 2010, at 19:46, lucas owen sr.ilus...@gmail.com wrote: Hi Struts users: I'm wondering if it is possible to pass a parameter inside a s:submit tag. I'm working with the following