RE: Struts action call in a JS method returns blank page

2007-02-22 Thread Christopher Loschen
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

RE: Struts action call in a JS method returns blank page

2007-02-12 Thread Christopher Loschen
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

RE: Struts action call in a JS method returns blank page

2007-02-11 Thread Christopher Loschen
/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

RE: [OT] RE: Struts action call in a JS method returns blank page

2007-02-11 Thread Christopher Loschen
;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

Re: Struts action call in a JS method returns blank page

2007-02-11 Thread Frank W. Zammetti
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

[OT] RE: Struts action call in a JS method returns blank page

2007-02-11 Thread Dave Newton
--- 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

RE: Struts action call in a JS method returns blank page

2007-02-11 Thread Christopher Loschen
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

Re: Struts action call in a JS method returns blank page

2007-02-10 Thread Frank W. Zammetti
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

RE: Struts action call in a JS method returns blank page

2007-02-10 Thread Christopher Loschen
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

RE: Struts action call in a JS method returns blank page

2007-02-09 Thread Christopher Loschen
; 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

Re: Struts action call in a JS method returns blank page

2007-02-09 Thread Frank W. Zammetti
? 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,

Re: Struts action call in a JS method returns blank page

2007-02-09 Thread Musachy Barroso
? 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

RE: Struts action call in a JS method returns blank page

2007-02-09 Thread Christopher Loschen
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

RE: Struts action call in a JS method returns blank page

2007-02-08 Thread Frank W. Zammetti
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

RE: Struts action call in a JS method returns blank page

2007-02-08 Thread Christopher Loschen
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

Re: Struts action call in a JS method returns blank page

2007-02-08 Thread Frank W. Zammetti
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:

Re: Struts action call in a JS method returns blank page

2007-02-08 Thread Musachy Barroso
- 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

RE: Struts action call in a JS method returns blank page

2007-02-08 Thread Christopher Loschen
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

RE: Struts action call in a JS method returns blank page

2007-02-08 Thread Yee Kai Lai
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

Re: Struts action call in a JS method returns blank page

2007-02-08 Thread Musachy Barroso
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

RE: Struts action call in a JS method returns blank page

2007-02-08 Thread Christopher Loschen
>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

RE: Struts action call in a JS method returns blank page

2007-02-07 Thread Yee Kai Lai
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,

RE: Struts action call in a JS method returns blank page

2007-02-07 Thread Christopher Loschen
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

Re: Struts action call in a JS method returns blank page

2007-02-07 Thread Musachy Barroso
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

Struts action call in a JS method returns blank page

2007-02-07 Thread Christopher Loschen
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