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

How Can I Call a method in iView ,which is in another iView

I Have 2 iViews i want to call a method in Iview which is i another iView

Thanks and Regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 16, 2005 at 11:58 AM

    Hi Prasad,

    first, welcom at SDN.

    Next, let us clarify some wording:

    A <i>PAR</i> is a <i>Portal ARchive</i>. It is a zip in a certain format. It contains a <i>portal application</i>.

    A <i>portal application</i> consists of <i>components</i> and/or <i>services</i>.

    An <i>iView</i> is somehow an "instance" of a <i>component</i>. It is created within the portal. There are <i>no iViews in a PAR</i> (like: "There are no objects in a JAR (but classes).").

    With this in mind, you know that the question does not work, for iViews don't have "methods".

    If you ask how you can call a method of a class belonging to a different component (but within the same portal app), it is no problem at all, each class has access to each other class within the same portal app (in fact, one has to differentiate between public and private part, but we don't want to go so far). To call use a class belonging to (the public part of) a different app, you will have to set the SharingReference within portalapp.xml.

    If that's what you're looking for - great.

    If not, ask again, but far more detailed.

    Hope it helps


    PS: Please consider to reward points for helpful answers. Thanks in advance.

    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.