Skip to Content
author's profile photo Former Member
Former Member

url iview .. js function not executing

We have a url iview with GET method and Fetch-mode as client side. It is calling a js frame with onclick function. The frame gets rendered in the url iview but the onclick event doesn't take place. The script function is executing "'parent.content.location.href "/dir/" + strLoc ", but it gives the error 'parent.content.location' is a null object.

Any idea will be very welcome.

Kind Regards,

Tridib

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 04, 2005 at 10:00 AM

    I would hazard a guess that you haven't got the script completely right. Basically when using iframes in the portal you must realise that the parent frame relates to the pagebuilder frame. This frame would not then have a frame underneath it called content. Therefore you need to be the frame name of your iView which is URL isolation, and then get the content frame beneath it, therefore it would be something like parent.<iviewid>.content.location. However, I think that this then overcomplicates what you are trying to do. Surely the content frame relates to the current window object (which is your iView) and therefore window.content.location should suffice

    I hope this helps a little

    Darrell

    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.