Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.