The onlick="window.open ..." portion is the javascript onclick event. Just use the snippet as presented, changing the two parameters and the link name to suit your needs.
Wiebe -----Original Message----- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 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, 2005 11:54 AM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts Actions Like this: <html:link href="#" onclick="window.open('findAccountCSV.do','csv')">CSV</html:link> Add the javascript to the onclick event. The first parameter is the action 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: 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: > 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 > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]