Re: Form Submission

2004-02-19 Thread Mark Lowe
] To [EMAIL PROTECTED] 02/17/2004 09:57 PM cc Please respond to Subject Re: Form Submission Struts Users Mailing List [EMAIL PROTECTED] Avinash: How about trying something like this: %String myLink

Re: Form Submission

2004-02-18 Thread Geeta Ramani
Please respond to Subject Re: Form Submission Struts Users Mailing List [EMAIL PROTECTED] Avinash: How about trying something like this: %String myLink = /EmplyeeDetailAction.do?employeeId= + employeeId; % html:link page=%=myLinkEmployee Detail Page/html:link

Re: Form Submission

2004-02-18 Thread Mark Lowe
cc Please respond to Subject Re: Form Submission Struts Users Mailing List [EMAIL PROTECTED] Avinash: How about trying something like this: %String myLink = /EmplyeeDetailAction.do?employeeId= + employeeId; % html:link page=%=myLinkEmployee Detail Page

Re: Form Submission

2004-02-18 Thread Geeta Ramani
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 [EMAIL PROTECTED

Re: Form Submission

2004-02-18 Thread Mark Lowe
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 [EMAIL PROTECTED] Avinash: How about trying something like

Re: Form Submission

2004-02-18 Thread Michael McGrady
PROTECTED] 02/17/2004 09:57 PM cc Please respond to Subject Re: Form Submission Struts Users Mailing List [EMAIL PROTECTED] Avinash: How about trying something like this: %String myLink = /EmplyeeDetailAction.do?employeeId

Re: Form Submission

2004-02-18 Thread Geeta Ramani
] To [EMAIL PROTECTED] 02/17/2004 09:57 PM cc Please respond to Subject Re: Form Submission Struts Users Mailing List [EMAIL PROTECTED] Avinash: How about trying something like

RE: Form Submission

2004-02-17 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] How can we submit a form without using html:submit 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

RE: Form Submission

2004-02-17 Thread avinash . tiwari
://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 PROTECTED] cc Subject RE: Form Submission From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] How can we submit

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 html:submit tag. I dont want to use JavaScript for this? Thanks Regards Avinash Tiwari Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website:

Re: Form Submission

2004-02-17 Thread Mark Lowe
PROTECTED] cc Subject RE: Form Submission From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] How can we submit a form without using html:submit 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

RE: Form Submission

2004-02-17 Thread Desai, Sunny
- From: [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 html:submit because

Re: Form Submission

2004-02-17 Thread avinash . tiwari
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 submit a form without using html:submit tag. I dont want to use

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 html:submit because it displays a button instead of a hyperlink. And the restriction is not to use javascript. So the objection is really how

Re: Form Submission

2004-02-17 Thread Mark Lowe
Consultancy Services Mailto: [EMAIL PROTECTED] 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 don't

Re: Form Submission

2004-02-17 Thread Geeta Ramani
PM cc Please respond to Struts Users Mailing List Subject Re: Form Submission [EMAIL PROTECTED] 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

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 Submission [EMAIL PROTECTED] May I

Re: Form Submission

2004-02-17 Thread avinash . tiwari
Users Mailing List [EMAIL PROTECTED] cc Subject Re: Form Submission Avinash: How about trying something like this: %String myLink = /EmplyeeDetailAction.do?employeeId= + employeeId; % html:link page=%=myLinkEmployee Detail Page/html:link Regards, Geeta [EMAIL PROTECTED] wrote: I

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 action

Re: Form submission

2004-01-15 Thread Mark Lowe
logic:equal ... bean:define id=action ... .. html:form action=%= action % or c:choose c:when test=${myForm.prop} c:set var=action value=/foo.do / /c:when c:otherwise c:set var=action value=/bar.do / /c:otherwise /c:choose

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, bean:define id=suffix name=userQuestionaireForm property=filterConstant html:form action=%=(suffix.equals(MP)) ? /UpdateUserQstMP : /UpdateUserQst% You get the idea right... -jayash

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

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 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

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
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 that it knows which handler to call

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

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 when I

RE: Form submission through java script

2003-11-10 Thread Lynn Guy
in the Java Script so that the LookupDispatchAction is able to get the value. -Original Message- 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

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 script language=text/javascript function submit() { document.form.action

Re: Form submission

2002-10-22 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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Form submission

2002-10-22 Thread Andrew Hill
a href=javascript:document.forms[0].submit();Submit/a 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

Re: Form submission

2002-10-22 Thread Kyrre Lugg
Andrew Hill wrote: a href=javascript:document.forms[0].submit();Submit/a 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 commands, e-mail:

RE: Form submission

2002-10-22 Thread Andrew Hill
, October 22, 2002 17:32 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Form submission Andrew Hill wrote: a href=javascript:document.forms[0].submit();Submit/a Thanx for your suggestion, but unfortunately javascript is not an option. Kyrre Lugg -- To unsubscribe, e-mail

RE: Form submission

2002-10-22 Thread James Mitchell
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 Andrew Hill wrote: a href=javascript:document.forms[0

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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands,

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

RE: Form submission

2002-10-22 Thread James Mitchell
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'll leave alternatives to your imagination ... Kyrre Lugg wrote

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:

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 Brandon Goodin
- 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's form

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

Re: form submission problem - Problem Solved

2002-09-25 Thread Steve Vanspall
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 earlier versions too). -Mensaje original- De

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 -

RE: form submission problem

2002-09-24 Thread Andrew Hill
: 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 example to change) the form

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 withink

Re: form submission problem

2002-09-24 Thread Steve Vanspall
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: form submission problem Is it a multipart form (multipart/form