You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Daniela Gisin <da...@gmx.ch> on 2002/05/10 09:33:03 UTC
pop-up window
Hi
I would like to open a new window by calling an action class which calls the
new jsp.
my javascript function looks like this:
---------------------------------------
function OpenAmonDetail1(){
newWindow = open("<html:link
forward='amonDetail'></html:link>","amonDetailWindow","height=650,width=700");
}
the entry in struts-config.xml looks like this:
-----------------------------------------------
<forward name="amonDetail" path="/amonDetail.crm"/>
the call of the javascript function looks like this:
----------------------------------------------------
<A href="javascript:OpenAmonDetail1()"><img
src="<%=request.getContextPath()%>/images/infobutton.gif" border="0" width="14" height="14"/></A>
unfortunately I keep getting the following javascript-error:
------------------------------------------------------------
missing ) after argument list.
newWindow = open("<a
href="/use-it-portal-web/amonDetail.crm"></a>","amonDetailWindow","height=650,width=700");
............................................................................................^
Can you help me? Thanks a lot!
Daniela
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>