struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Alley" <martin.al...@ntlworld.com>
Subject open new window from struts page, leaves [object] in parent window
Date Wed, 18 Feb 2004 20:27:20 GMT
Hi,

I guess this has been asked before, but I can't find the answer..

I've got a struts generated page, from which I want to open a new
window.
I do this with the following line, and I get my new window just like I
want
			<a href="javascript:window.open('<%=
request.getContextPath() %>/dataimages/<bean:write name="itemForm"
property="itemValue.imagePath"/>')">
			click here
			</a>
but the original window then contains a page that says [object] -
literally that!!

How do I get the original window not to change from what it displayed
before I click on the above link?

Thanks
Martin




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message