Skip to Content
author's profile photo
Former Member

Popup Window Access Denied Problem

Hi all i want to implement Date picker in my i iView

I used javaScript to get that functionality . when i am using http://localhost url to my portal and run the i view its working perfectly . if i am using fully qualified url and from the network i am getting Access denied error to that particular pop window

can any body help me to solve this problem

thank you all

regards

srinivas

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Apr 16, 2004 at 12:01 AM

    Hi Srinivas,

    Did u solve the popup window Access Denied problem. we are on EP 5.0 and we are also getting the same problem. Could you please let me know how did u solve that?

    thanks

    hari

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    May 14, 2004 at 01:58 AM

    Try adding the following javascript to your pop-up:

    <script language="JavaScript">

    <!--

    if(window.document.domain == window.location.hostname){

    document.domain = document.domain.substring(document.domain.indexOf('.')+1);

    }

    //-->

    </script>

    I think this might help. The portal often 'relaxes' the domian so that bits of the page that are created in different domains can access each other using javascript. This might cause a problem if your popup is not also 'relaxed'. See also: http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/document.html#1193628

    Add comment
    10|10000 characters needed characters exceeded