To do this include your javascript in the body ex:
<html>
<head>
<title>Policy Areas</title>
</head>
<body>
<script type="text/javascript"
src="<%=request.getContextPath()%>/scripts/openchildwindow.js">
</script>
<a href="javascript:void(0);"
onclick="openChildWindow('<%= request.getContextPath()
%>/createinformationitem.action?owner=<%= request.getRemoteUser()%>');"> Create
a new Information Item</a>
</body>
</html>
Benjamin L�onard
Intrasoft Internationnal
Currently at European Parliament
-----Original Message-----
From: Serge Huber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: popup and portlets
Hi Dominique,
This would be tricky to achieve. Currently Jahia strips all Javascript
contained in the <head> tags of a portlet and only keeps the content of
the <body> tag. You might get something to work, but you will probably
run into session problems.
Regards,
Serge Huber.
Pellat, Dominique wrote:
>Hello,
>
>Do you know if popup windows opened using javascript in an external Webapp
>can pass through a portlet or are blocked ?
>
>Regards,
>Dominique Pellat
>
>
>
>