Re: Form Submission

2004-02-19 Thread Mark Lowe
ill have to write the following code in my command file to get the > >> value of "User Name" > >> String UserName = (String)paramDTO.get("txtUsName"); > >> > >> As Mark/Wendy were asking me why i cant use JavaScript is because > >> >

Re: Form Submission

2004-02-18 Thread Geeta Ramani
; > >> command file where i would like my control to go after the form gets > > > >> submitted. > > > >> > > > >> Now the problem is in the Command File "CreateUserCmd" where i would > > > >> keep my business logic -- i dont have

Re: Form Submission

2004-02-18 Thread Michael McGrady
mand file to get the > >> value of "User Name" > >> String UserName = (String)paramDTO.get("txtUsName"); > >> > >> As Mark/Wendy were asking me why i cant use JavaScript is because > >> > >> whenever i use something like

Re: Form Submission

2004-02-18 Thread Mark Lowe
problem properly. Regards Avinash Tiwari Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Geeta Ramani" Struts Users Mailing List <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]> 02/17/2004 09:57 PM

Re: Form Submission

2004-02-18 Thread Geeta Ramani
;> >> /> > >> > >> I will have to write the following code in my command file to get the > >> value of "User Name" > >> String UserName = (String)paramDTO.get("txtUsName"); > >> > >> As Mark/Wendy were aski

Re: Form Submission

2004-02-18 Thread Mark Lowe
t; Struts Users Mailing List <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]> 02/17/2004 09:57 PM cc Please respond to Subject Re: Form Submission "Struts Users Mailing List"

Re: Form Submission

2004-02-18 Thread Geeta Ramani
in the problem properly. > > Regards > Avinash Tiwari > Tata Consultancy Services > Mailto: [EMAIL PROTECTED] > Website: http://www.tcs.com > > > "Geeta Ramani" Struts Users Mailing List <[EMAIL PROTECTED]>

Re: Form Submission

2004-02-17 Thread avinash . tiwari
txtUsName) it takes it as a function call. I hope I could explain the problem properly. Regards Avinash Tiwari Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Geeta Ramani" <[EMAIL PROTECTED]> 02/17/2004 09:57 PM Please respond to "St

Re: Form Submission

2004-02-17 Thread PAUL BRANT
To "Struts Users Mailing List" <[EMAIL PROTECTED]> 02/17/2004 08:57 PM cc Please respond to "Struts Users Mailing List" Subject Re: Form Su

Re: Form Submission

2004-02-17 Thread Geeta Ramani
uot; <[EMAIL PROTECTED]> 02/17/2004 08:57 PM cc Please respond to "Struts Users Mailing List" Subject Re: Form Submission <[EMAIL PROTECTED]> > > > > M

Re: Form Submission

2004-02-17 Thread Mark Lowe
ECTED] Website: http://www.tcs.com Mark Lowe <[EMAIL PROTECTED]> 02/17/2004 08:57 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject Re: Form Submission May I ask why you d

RE: Form Submission

2004-02-17 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > there is a hyperlink in my form - clicking this hyperlink > should submit the form. > I can't use because it displays a button > instead of a hyperlink. > And the restriction is not to use javascript. So the objection is really how the b

Re: Form Submission

2004-02-17 Thread avinash . tiwari
ailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject Re: Form Submission May I ask why you don't want a submit button? On 17 Feb 2004, at 15:55, [EMAIL PROTECTED] wrote: > > Hi > > How can we s

RE: Form Submission

2004-02-17 Thread Desai, Sunny
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 10:27 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Form Submission there is a hyperlink in my form - clicking this hyperlink should submit the form. I can't use because it di

Re: Form Submission

2004-02-17 Thread Mark Lowe
cript. Avinash Tiwari Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Wendy Smoak <[EMAIL PROTECTED]> 02/17/2004 08:29 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PR

Re: Form Submission

2004-02-17 Thread Mark Lowe
May I ask why you don't want a submit button? On 17 Feb 2004, at 15:55, [EMAIL PROTECTED] wrote: Hi How can we submit a form without using tag. I dont want to use JavaScript for this? Thanks & Regards Avinash Tiwari Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://

RE: Form Submission

2004-02-17 Thread avinash . tiwari
s.com Wendy Smoak <[EMAIL PROTECTED]> 02/17/2004 08:29 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject RE: Form Submission > From: [EMAIL PROTECTED] [mailto:[EMA

RE: Form Submission

2004-02-17 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > How can we submit a form without using tag. I > dont want to use JavaScript for this? AFAIK, the only other option is to put the parameters in a URL: http://www.example.com/myapp/someAction.do?abc=123 But without JavaScript, you'd have to

RE: Form submission

2004-01-22 Thread Wendy Smoak
> From: Raman [mailto:[EMAIL PROTECTED] > I want to implement something like this: > Conditional checks: for form submission to different Actions > Can anybody help me in this or give me some idea... Use the Struts-EL tags [?? Haven't tried it with form actions]. Use JavaScript to change the act

RE: Form submission

2004-01-15 Thread Gopalakrishnan, Jayesh
You cannot nest these tags, inner tags must close b4 you close the outer ones.. You could give this a try, "> You get the idea right... -jayash -Original Message- From: Raman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 6:09 AM To: Struts Users Mailing List Subject: For

Re: Form submission

2004-01-15 Thread Mark Lowe
or On 15 Jan 2004, at 14:08, Raman wrote: I want to implement something like this: Conditional checks: for form submission to different Actions But this is giving me error [ServletException "Unterminated tag'" i

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Thanks ..it works. -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 6:51 PM To: Struts Users Mailing List Subject: RE: Form submission through java script function submit() { document.form.action = <a href="http://localh

RE: Form submission through java script

2003-11-10 Thread Lynn Guy
- > From: Yansheng Lin [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 5:42 PM > To: 'Struts Users Mailing List' > Subject: RE: Form submission through java script > > If you do a System.out on action, you will find it's > null right now. > You n

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Will appreciate it if you could show how to append the params and it's value. -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 6:44 PM To: Struts Users Mailing List Subject: RE: Form submission through java script I got this message w

RE: Form submission through java script

2003-11-10 Thread Lynn Guy
I got this message when I DID want to change the action. I had to change the parameter name to xaction and it worked. So I'd be suspicious of the name "submit" as well. Also, I had to change the action to append the parameter and its value to get it to work this way. --- Yansheng Lin <[EMAIL P

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
g Lin [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:42 PM To: 'Struts Users Mailing List' Subject: RE: Form submission through java script If you do a System.out on action, you will find it's null right now. You need to pass a valid action to the your dispatch Action so

RE: Form submission through java script

2003-11-10 Thread Yansheng Lin
If you do a System.out on action, you will find it's null right now. You need to pass a valid action to the your dispatch Action so that it knows which handler to call. >document.form.action='continue'; -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: lundi 10 n

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Initially, I was trying that. I got the same error. -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:36 PM To: Struts Users Mailing List Subject: Re: Form submission through java script Why are you setting the document.form.action? Just

Re: Form submission through java script

2003-11-10 Thread Brice Ruth
Why are you setting the document.form.action? Just call document.form.submit() - the JavaScript will automatically know what to do and where to submit to. Shishir K. Singh wrote: Hi, I have a form with one drop down menu list and two buttons (continue and previous ). The two buttons are hooke

RE: Form submission

2002-10-22 Thread James Mitchell
e Bush [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 22, 2002 3:18 PM > To: Struts Users Mailing List > Subject: Re: Form submission > > > Sorry -- Out of Luck. > > That's the nice way to put it ;-) Different people substitute different > words for the S. I&#x

Re: Form submission

2002-10-22 Thread Eddie Bush
Sorry -- Out of Luck. That's the nice way to put it ;-) Different people substitute different words for the S. I'll leave alternatives to your imagination ... Kyrre Lugg wrote: James Mitchell wrote: This means you are in a status of SOL. SOL? Kyrre Lugg -- Eddie Bush -- To unsubs

Re: Form submission

2002-10-22 Thread Adam Sherman
Kyrre Lugg wrote: James Mitchell wrote: This means you are in a status of SOL. SOL? Sh*t Out of Luck. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: For additional commands, e

Re: Form submission

2002-10-22 Thread Kyrre Lugg
James Mitchell wrote: This means you are in a status of SOL. SOL? Kyrre Lugg -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Form submission

2002-10-22 Thread James Mitchell
m not sure about the former." - Albert Einstein (1879-1955) > -Original Message- > From: Kyrre Lugg [mailto:kyrre.lugg@;tomra.no] > Sent: Tuesday, October 22, 2002 5:32 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Form submission > >

RE: Form submission

2002-10-22 Thread Andrew Hill
Users Mailing List; [EMAIL PROTECTED] Subject: Re: Form submission Andrew Hill wrote: > Submit Thanx for your suggestion, but unfortunately javascript is not an option. Kyrre Lugg -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional command

Re: Form submission

2002-10-22 Thread Kyrre Lugg
Andrew Hill wrote: Submit Thanx for your suggestion, but unfortunately javascript is not an option. Kyrre Lugg -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Form submission

2002-10-21 Thread Andrew Hill
Submit Forgot the syntax for doing it with the link tag, but very similar. -Original Message- From: Kyrre Lugg [mailto:kyrre.lugg@;tomra.no] Sent: Tuesday, October 22, 2002 16:50 To: Struts Users Mailing List Subject: Re: Form submission James Mitchell wrote: > Better question. W

Re: Form submission

2002-10-21 Thread Kyrre Lugg
James Mitchell wrote: Better question. What are you trying to do? I just want to replace the submit button with an anchor. Kyrre Lugg -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Form submission

2002-10-21 Thread Brandon Goodin
ssage- From: Brandon Goodin [mailto:mail@;phase.ws] Sent: Monday, October 21, 2002 3:25 PM To: Struts Users Mailing List Subject: RE: Form submission Yes, if you have a query string appended to a url that points to an action (i.e. *.do) the request parameters will be mapped to the associated action&#

RE: Form submission

2002-10-21 Thread Brandon Goodin
Yes, if you have a query string appended to a url that points to an action (i.e. *.do) the request parameters will be mapped to the associated action's form bean. Brandon Goodin -Original Message- From: Kyrre Lugg [mailto:kyrre.lugg@;tomra.no] Sent: Monday, October 21, 2002 5:13 PM To: [

RE: Form submission

2002-10-21 Thread James Mitchell
Better question. What are you trying to do? (e.g. prevent the form from submitting when a user hits the enter/return key???) James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org > -Original Message- > From: Kyrre Lugg [mailto:kyrre.lugg@;tomra.no] > Sent: M

Re: form submission problem - Problem Solved

2002-09-25 Thread Steve Vanspall
o Martinez" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 10:52 PM Subject: RE: form submission problem > You're using windows? There's a bug in 4.1.10. Update to 4.1.12 (there is a > security bug in

RE: form submission problem

2002-09-25 Thread Miguel Angel Mulero Martinez
You're using windows? There's a bug in 4.1.10. Update to 4.1.12 (there is a security bug in earlier versions too). -Mensaje original- De: Steve Vanspall [mailto:[EMAIL PROTECTED]] Enviado el: miƩrcoles, 25 de septiembre de 2002 7:35 Para: Struts User Mailing List Asunto: form submission

Re: form submission problem

2002-09-24 Thread Steve Vanspall
l probably ending kicking myself because of it's simplicity Tnaks Anyway - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 3:53 PM Subject: RE: for

RE: form submission problem

2002-09-24 Thread Andrew Hill
... -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 13:48 To: Struts Users Mailing List Subject: RE: form submission problem Oops. Sorry mate! Just read it a second time and realised I didnt pay enough attention! "The tags are placed properly within

RE: form submission problem

2002-09-24 Thread Andrew Hill
st Subject: RE: form submission problem Is that field located within the start and close of the form tag on the page? btw: naming your field "action" is naughty as it will shadow the action property of the form object in JavaScript. (Though this wont hurt unless you try accessing (for ex

RE: form submission problem

2002-09-24 Thread Andrew Hill
Is that field located within the start and close of the form tag on the page? btw: naming your field "action" is naughty as it will shadow the action property of the form object in JavaScript. (Though this wont hurt unless you try accessing (for example to change) the form action in javascript -