tration/deleteRegistration.do
>
> and works..I thought the same as you did too, but I guess you need to give
> the relative path from context root.
>
> Gnan
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Sep
n
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: FW: R: Detecting the previous JSP
You shouldn't need to put the full path in, just setting the action to
"deleteRegistration.do&quo
found it, its the path to the action in the JS function. Had to set it
> to
> full path..it works now
>
> Thanks anyways
>
> -Original Message-
> From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 30, 2004 11:34 AM
> To: 'Stru
To: 'Struts Users Mailing List'
Subject: RE: FW: R: Detecting the previous JSP
Dohh!! that was silly of me :)
Thanks Frank. Nice eye. I got rid of that JS problem now but it still
wouldn't recognize my action on submit. I get the following error on my
console.
[9/30/04 1
why it doesn't find it. Appreciate your help.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: RE: FW: R: Detecting the previous JSP
Found the problem!
Note that you have a submit
Found the problem!
Note that you have a submit button with the NAME "submit"... This is confusing the
call to the submit() method in your JS function. Change the name of the button to
submit1 or something and it'll work.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Techno
Oops, I sent it as an attachment. I guess the mailing list doesn't take it.
Anyways, below is the rendered html code from my JSP. When I click the
DELETE button, the JS error comes on line 38 i.e, as marked below..Let me
know if you find anything
Thanks for your help
http://localho
truts Users Mailing List
> Subject: Re: FW: R: Detecting the previous JSP
>
>
> Gnan, can you post the HTML that is generated by this? I.e., what you
> see when you do View Source in your browser... I have a hunch what's
> going on, but I need to see that to be sure...
>
OK. Here is the html code from the JSP. Let me know if I am missing
anything.
Thanks for your help
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 5:05 PM
To: Struts Users Mailing List
Subject: Re: FW: R: Detecting the previous
I strongly suggest to use DOM object model when programming
JavaScript, since I do it my applications are accessed from Safari,
IE, Firefox without problems and no browser dependent code is
required. In your case I'd do this:
1. The html form:
Note that I have added the styleId attribute, this
Gnan, can you post the HTML that is generated by this? I.e., what you
see when you do View Source in your browser... I have a hunch what's
going on, but I need to see that to be sure...
Shabada, Gnaneshwer wrote:
All.
I am posting again so that someone can shed some light on this..
I am trying
All.
I am posting again so that someone can shed some light on this..
I am trying to submit an action from a button thru a Javascript function.
My Javascript code is :
function callDelete()
{
document.forms[0].action="/deleteRegistration";
document.forms[0].submit(); > JS
ror
}
-Original Message-
From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 3:17 PM
To: Shabada, Gnaneshwer
Subject: RE: FW: R: Detecting the previous JSP
Oh, ok, that makes a big difference :)
The only thing I can see that looks a bit "
on my JSP?
-Original Message-
From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 3:05 PM
To: Shabada, Gnaneshwer
Subject: RE: FW: R: Detecting the previous JSP
When you say it "blows up", do you mean your getting a CLIENT-SIDE error?
I had
Just wondering if Struts allow this or not.
Gnan
-Original Message-
From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 12:59 PM
To: Shabada, Gnaneshwer
Subject: RE: R: Detecting the previous JSP
Yes, I think two different mappings is not only a g
I think that information should be passed to the action via form
properties (using html:hidden input tag on your pages)
On Wed, 29 Sep 2004 18:05:57 +0200, Amleto Di Salle
<[EMAIL PROTECTED]> wrote:
> Hi,
> As i wrote before may be the solution is to use DispatchAction.
>
> BR
> /Amleto
>
>
>
Hi,
As i wrote before may be the solution is to use DispatchAction.
BR
/Amleto
-Messaggio originale-
Da: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 29 settembre 2004 18.00
A: '[EMAIL PROTECTED]'
Oggetto: RE: Detecting the previous JSP
Frank,
Thanks for your inpu
Hi,
you can use org.apache.struts.actions.DispatchAction instead of Action.
See Struts documentation.
I never used it, but if i remember correctly there was a bug ("recursive
call") related to it.
BR
/Amleto Di Salle
-Messaggio originale-
Da: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED
18 matches
Mail list logo