] 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
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
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
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
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
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
] 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
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
://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
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:
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
-
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
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
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
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
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
]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
, 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
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
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
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,
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
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
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:
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:
-
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
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
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
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 -
: 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
...
-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
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
47 matches
Mail list logo