Just a quick suggestion but try this... .... onclick="JavaScript: return openWindow('reportRecei..... ^^^^^^^^^^^^^^^^^^^
James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 2:19 PM > To: Struts Users Mailing List > Subject: html:link confusion > > > > All, > > I had the code below in my jsp and everything was fine. It worked like it > was supposed to. > > > <html:link href="reportReceived.do" name= > "investigationEmploymentHistoryForm" property="map" target="_blank">view > Employment History Report</html:link> > > Then the users decide that they didn't like the fact that the new window > had all the scrollbars and menus and everything on the top and so > I did the > next piece of code below: > > > > <script language="JavaScript"> > <!-- > function openWindow(theURL,winName,features) { > window.open(theURL,winName,features); > } > > //--> > </script> > <html:link href="reportReceived.do" name= > "investigationEmploymentHistoryForm" property="map" onclick="openWindow > ('reportReceived.do','','scrollbars=yes')">view Employment History Report > </html:link> > > and it stopped working. I got the pop up without all the needed parameters > as well as going to the new page in the parent window. What am I doing > wrong? > > > Steve > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>