Re: Popup Windows with Struts Actions

2005-04-06 Thread James Neville
Jack, I seem to remember having problems in a project with similar rqmnts some time ago. I *think* your problem lies here:- target="x" onsubmit="window.open('',this.target Where in NS the form appears to submit before the new window is registered, and hence the window target is not valid. I coul

Re: Popup Windows with Struts Actions

2005-04-06 Thread Dakota Jack
use "_blank". > > Regards, > > Thad Smith > > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 6:25 PM > To: Struts Users Mailing List > Subject: Re: Popup Windows with Struts Actions >

RE: Popup Windows with Struts Actions

2005-04-05 Thread Smith, Thad
ruts Users Mailing List Subject: Re: Popup Windows with Struts Actions This looks cool to me as well. What is with the target="dontCareThatName"? Is this necessary, and, if so, what should "dontCareThatName" be? Thanks, On Apr 5, 2005 2:29 PM, [EMAIL PROTECTED] <[EMAIL PRO

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
This looks cool to me as well. What is with the target="dontCareThatName"? Is this necessary, and, if so, what should "dontCareThatName" be? Thanks, On Apr 5, 2005 2:29 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dakota Jack wrote: > > >Anyone have some code on using JavaScript to open

Re: Popup Windows with Struts Actions

2005-04-05 Thread [EMAIL PROTECTED]
Dakota Jack wrote: Anyone have some code on using JavaScript to open and close popup windows with a Struts Action? Thanks. Jack I like very much: The output of yourAction will be shown in the popup, and all your form fields are brought the normal way to yourAction with no need to put them

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
1:47 PM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts Actions Sorry, I'm a javascript beginner. Can you provide a sample javascript onclick event? Thanks... -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05,

RE: Popup Windows with Struts Actions

2005-04-05 Thread Barnett, Brian W.
Sorry, I'm a javascript beginner. Can you provide a sample javascript onclick event? Thanks... -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:54 AM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
and the second is the window name. There are some additional optional > parameters that you can add to control the window, etc. > > Wiebe de Jong > > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 10:42 AM > To:

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
LOL -- heck, I should have said the other. On Apr 5, 2005 10:49 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Ah, good, I was going to yell at you if it was the other :) > > myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; > myTop = (screen.height) ? (screen.height - 924) / 2 : 0; >

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
PROTECTED] Sent: Tuesday, April 05, 2005 10:42 AM To: Frank W. Zammetti Cc: Struts Users Mailing List Subject: Re: Popup Windows with Struts Actions No, have the popup url from the page be a struts action -- popup.do. Jack On Apr 5, 2005 10:37 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Ah, good, I was going to yell at you if it was the other :) myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; myTop = (screen.height) ? (screen.height - 924) / 2 : 0; myOpts = "resizable,scrollbars,width=1180,height=924,top=" + myTop + ",left=" + myLeft + ","; window.open('startup.toa', 'TO

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
No, have the popup url from the page be a struts action -- popup.do. Jack On Apr 5, 2005 10:37 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Not sure what you mean... You mean open the popup from WITHIN an Action? > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex T

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Not sure what you mean... You mean open the popup from WITHIN an Action? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 5, 2005 1:27 pm, Dakota Jack said: > Anyone have some code on using JavaScript to open and close popup > wi

Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
Anyone have some code on using JavaScript to open and close popup windows with a Struts Action? Thanks. Jack -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ - To unsubscribe, e-mail: