Hi,

Thank you for your responses: effectively, I have made the test, it works
well ! However I have not investigate session problems which could arise. I
will inform you if I encounter some difficulties about it.


Dominique Pellat
EDS Answare

-----Message d'origine-----
De : LEONARD Benjamin [mailto:[EMAIL PROTECTED]
Envoy� : mercredi 1 d�cembre 2004 12:05
� : [EMAIL PROTECTED]
Objet : RE: popup and portlets


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
>
>
>  
>

Reply via email to