t want to
waste everyone's time.
Thanks again for everyone's help on this!
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 12, 2007 9:46 PM
To: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns bla
do figure it all out.
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Sunday, February 11, 2007 5:25 PM
To: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
Yeah, that's why
/11/2007 10:14 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Christopher Loschen wrote:
> I'm suspicious of some code elsewhere on the page that reloads the entire
> page -- I don't have it in front of me right now, but it goes s
;ll double-check that too.
Chris
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Sun 2/11/2007 9:21 AM
To: Struts Users Mailing List
Subject: [OT] RE: Struts action call in a JS method returns blank page
--- Christopher Loschen
Christopher Loschen wrote:
I'm suspicious of some code elsewhere on the page that reloads the entire page
-- I don't have it in front of me right now, but it goes something like:
Woah, are you saying the form your trying to work with was dynamically
inserted into the page via innerHTML? If s
--- Christopher Loschen <[EMAIL PROTECTED]> wrote:
> parent.document.resultDiv.innerHtml =
> document.resultDivTemp.innerHtml;
I know that was from memory, but IIRC it's innerHTML,
so just in case.
> Another possibility is that the button I'm pressing
> to move from page to page appears on the pa
lement yet so we just return, and the rest of the
> method (which I haven't included here) doesn't run, but that's correct.
>
> When the second method runs, it finds the same form in the same way, but
> it also finds all of the elements inside it. I'm not sure what cou
m. I'm tearing my hair out!!!
Any insights?
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:32 PM
To: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
OK, I've installed Firebug
way, but
it also finds all of the elements inside it. I'm not sure what could be
different between them. I'm tearing my hair out!!!
Any insights?
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:32 PM
To: Struts User
; 0) {
checkboxes_across.push(selectedCheckboxes);
}
var checkboxes = form.elements['checkboxes'];
Chris
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 3:35 PM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS m
? Thanks!
Chris
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 5:30 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
On Thu, February 8, 2007 4:46 pm,
? Thanks!
Chris
-Original Message-----
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 5:30 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
On Thu, February 8, 2007 4:4
uggestions? Thanks!
Chris
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 5:30 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
On Thu, February 8, 2007 4:46 p
tely say you probably want to be storing that info in
session in the first place... then it's relatively easy to pass it along
with every single request for all pages that need it.
> Chris
>
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: T
s Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Theres a ton of choice on which AJAX library to use, many of them very
good. However, since your working in Java specifically, and since you
say
you are not all that familiar wit
earn how to do it without refreshing the page -- that
>> does seem like a more elegant solution to me. What do you suggest? We do
>> use JS for our app, but no JS framework as such as far as I can tell.
>>
>> Chris
>>
>> -----Original Message-----
>> From:
-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 8:03 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Like I said before you can use Ajax to submit the form, and the page
won't
refresh, how to do it depend
e do
use JS for our app, but no JS framework as such as far as I can tell.
Chris
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 8:03 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank pa
t; <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To:
Subject: RE: Struts action call in a JS method returns blank page
Date: Thu, 8 Feb 2007 07:36:03 -0500
Yes, you're right that the form submit was causing the system to forward to
whatever the action said, whic
ode -- are you saying that I have
other alternatives?
Chris
From: Yee Kai Lai [mailto:[EMAIL PROTECTED]
Sent: Thu 2/8/2007 12:24 AM
To: user@struts.apache.org
Subject: RE: Struts action call in a JS method returns blank page
It returns a blank page might be due
>From: "Christopher Loschen" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List"
>To:
>Subject: Struts action call in a JS method returns blank page
>Date: Wed, 7 Feb 2007 14:14:35 -0500
>
>Hi all,
>
>
>
>I'm honestly unsure if
oschen" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To:
Subject: Struts action call in a JS method returns blank page
Date: Wed, 7 Feb 2007 14:14:35 -0500
Hi all,
I'm honestly unsure if I'm having a problem with Struts (sadly, 1.1) or
with Javascript,
ginal Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 2:30 PM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
When you post the form, after the action, struts will send a response,
usually a page. Becaus
When you post the form, after the action, struts will send a response,
usually a page. Because you don't want to change the current page, you
could do this by making an asynchronous request. I'm probably wrong, but
I don't think you can make a post, and stay on the same page (unless you
are ret
Hi all,
I'm honestly unsure if I'm having a problem with Struts (sadly, 1.1) or
with Javascript, or something else. But my best guess is it's a Struts
issue, and anyway, there are a lot of very knowledgeable people on both
of those technologies here, so I hope someone can help. Bottom line: I'm
25 matches
Mail list logo