Communicate between two iviews

Hi everyone, if i create two iviews. And i want to pass a variable from one iview to the other one by triggling an event .
What technology can help me do that?  Thx~~

Hi Louis,
    Communication between two iviews is accomplished by EPCF concept.
  Refer to this forum thread where Prakash Singh has clearly explained about the same
Communicate between two iviews
Hope this helps.
Regards,
Joshua Kiran

Similar Messages

  • How Can i communicate between two iviews?

    Hi all,
       I am having two iviews.I want to conect those two in two pages.How can i do this?Can any one help me out from this?
    regards
    Sudeep.

    Hi ,
    Try this
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param=Paramvalue");
    "ROLES:"+iview=Iview Path
    "Param=Paramvalue"=Parameter and its value
    Youcan receive the value as
    String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
    Kind Regards
    Mukesh

  • How to transfer parameters between two iViews?

    Hi all,
    I have two WebDynpro based iViews (StartView and SecondView). when I press the button in the StartView, the EP will navigate to the SecondView. During this process, I want send a parameter value from the StartView to the Second View. In the StartView, I use the follow method to navigator:
    WDPortalNavigation.navigateAbsolute(
                  "ROLES:portal_content/com.sap.itsamtest/com.sap.secondpage",
                     WDPortalNavigationMode.SHOW_INPLACE,
                     (String) null,
                     (String) null,
                     WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                     (String) null,
                     (String) null,
                     "value=From Start Page");
    In the SecondView, I use the WDWebContextAdapter to get parameter's value.
    String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("value");
    It works fine. But I found there is a warning message:
    The method getRequestParameter(String) from the type IWDWebContextAdapter is deprecated     
    So is there any other good mechanism to implement the data transfer between two iViews.
    Thanks and Best regards
    Deyang

    Hi,
      Try the following:
    <b>Subscribing to a Portal Event:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Code Example for Programming Portal Eventing:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Regards,
    Sai Krishna.
    PS: Plz do assign points if it helps. ;-)</b>

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • URGENT:Eventing between two iviews in one page

    Hi all,
    I have developed a model in visual composer which contains
    two iviews in a single page .The first iview contains the input fields and the data service.The second iview contains the output form.I should get the output in the second iview when i click a button or a field in the table.I am unable to pass the data from one iview to another iview during thios process.And also help me in navigating between two different pages and data transfer between them.Please help me regarding this issue either by sending any documents or by giving useful suggestions,
    Points will be rewarded for helpful answer.

    Hi,
    see the modeler's  Guide
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe]
    For differenr layers creation
    Help .sap.com link  [http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm]
    Regards,
    Govindu

  • Reduce the size between two Iviews in Layout Page

    Hi All,
    I want to reduce the gap between the two iviews in the layout page of my portal.
    For this i have downloaded com.sap.portal.layouts.framework.par
    and i got two .js files
    1) WAandNavPanel.js
    2) light_navpanel.js
    So now in which file i have to change the size.
    Awaiting Replies.
    Thanks & Regards,
    Dhruv Shah

    better to keep backup of those two files before modifying.
    see modificationusing first jsp file in which u mentioned.
    How to change navigation panel default (initial) width?
    Remove/hide expand/collapse icons
    Points are welcome if it is helpful
    Koti Reddy

  • Interaction between two iViews on one page

    Hi Everybody!
    I have have one question and if you think I am blind, then I apologize for this.
    I have two iViews on a page. The First (iView 1) is showing a Link List from KM
    and the second (iView 2) is showing the content of an external link.
    I would like to implement the following logic:
    When the user clicks on a Link in iView 1, the content should appear in iView 2.
    Can this be done with standard iView parameters or do I need to implement it on my own?
    Thanks a lot and kind regards
    Ingo

    hi
    KM navigation has a core par file in USR(installation) directory com.sap.km.navigation use it in IDE eclipse or nwds and alter the code using epcf  and rename it as your class  and redeploy it  and make it as a template.
    you can use this way otherwise please do see the proerties of KM navigation iview  which may suggest the way out.hope this helps you .while using the code you have to implement epcm.donavigate and paa parameters to other iview.please don,t forget to give points
    with regards
    subrato kundu

  • Communicate between two differente JavaFX desktop design file

    I have created two JavaFX desktop design file with netbeans 6.9.1. One is the login and the other de principal menu. In java i create a object of the principal menu an just call object.setVisible(true).
    So in javafx how to call the menu principal from the login?. what should i code in the btnLoginAction??
    this is the login javafx:
    function btnLoginAction(): Void {
    function run (): Void {
    var design = Login {};
    Stage {
    title: "Main"
    scene: design.getDesignScene ()
    }

    I'm not looking for a "tutorial created especially for me".... Just perhaps someone that can copy and paste some code from a similar project that they have done so I understand how to do it.
    You could have simply put here's a tutorial for how to use TweenLite to crossfade between four pages, and here's one that will let you pass information between two .swf files. If you recently watched the tutorials then it wouldn't take long to find them (maybe you have them bookmarked) and post a couple links.
    Anyways, I just found an excellent tutorial on how to crossfade using TweenLite (found here) and an article that explains how to pass information from one .swf to another (here). It took some searching and knowing exactly what I was looking for to find them, but that's a much better answer for someone looking to do those two things than I've found here (or elsewhere for that matter).

  • Communicate between two desktops

    Can anyone lead me to a resource, or briefly describe the process, to address the scenerio below:
    I have two Windows computers on a LAN. I need to develop an application  for each computer that (when both computers are runing the application) allows communication between the two machines. For example: pressing a button within the application on one computer would execute a function in the application of the other computer). I am comfortable building stand-alone air apps and web-based PHP/MySQL apps with Flash/Air/Dreamweaver; however, I don't know where to start when creating a connection between two computers. Any suggestions? Thanks!

    I've worked on several projects where we did this. We used a "client/server" architecture where one of the AIR apps acts as the "server" (conceptually it's the same as a web server) and the other AIR app is the "client" that connects to the server the way a web browser would talk to a web server.
    For your "client" use the Socket class.
    For your "server" use the ServerSocket class.
    Alternatively, we also used UDP sometimes, so we'd use the DatagramSocket class on both sides (both act as "sender/receiver"). However, my recollection is that we ended up moving away from UDP since it's unreliable (by design) and switched to using TCP sockets (Socket/ServerSocket).

  • Communicate between two backing beans

    Hi !
    How can I communicate between backing beens ?
    I would like to put data from Bean1 to Bean2.
    This is my code in Bean1, I try this:
    Bean2 b = new Bean2();
    //... b settings...
    //Map map = facesContext.getExternalContext().getRequestMap();
    //map.put("Bean2", b);
    HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest();
    request.setAttribute("Bean2", b);
    So I put Bean2 instance in request, but JSF created new instance :(
    How can I solve this problem ?

    This article might give you some new insights: http://balusc.xs4all.nl/srv/dev-jep-com.html

  • Dependency between two iViews

    Hi all,
    I have got the following problem. Maybe there is someone out there, who knows how to solve it?
    I have got two WebDynpro-applications, which are bound into the portal as two webdynpro-iViews.
    If one of those WebDynpros-is loaded/changed, the other WebDynpro-iView should be reloaded too.
    Does anybody know to implement/customize this dependency?
    Thank you in advance for your help!
    Best regards, Patrick.

    Hi Patrick,
    You can use EPCF for this, which is also accessable from WD side. See http://help.sap.com/saphelp_nw04/helpdata/en/79/3857422d095542e10000000a1550b0/frameset.htm for details.
    Hope it helps
    Detlev

  • To communicate between two process

    I have two processes running on two different machines. They have to communicate with each other by sharing messages in a peer to peer manner. What is the best possible way to achieve this. I have finalised upon using sockets, but reestablishing connections after other peer is brought down is a pain with sockets.
    thanks and regards.

    To exactly put it there's a GUI running on one machine and a process on other. both of these share messages. Now it must be something like bringing one down then other should not be affected it should keep buffering messages and wait for other side to come up and then start sending messages. I looked into JXTA it seemed to be a big API to work with for such a small applicaiton. It won't be a good idea to provide client with hardly some 500K of class file(or less probably) and 1.4 MB of API's. So thats why thought of writing my own communication classes which will handle this on both ends. How complicated JMS would be to work with. Does it have direct calls like register an application on some machine and then start sending and recieving messages and also take care of any of these processes being up or down.
    let me know
    thanks a ton for your support.

  • Communicate between two JInternalFrames

    Hello all.
    I have a swing application where I have a JFrame that encompasses two JInternalFrame's.
    We'll call them AppFrame, IFrame and StatusFrame
    I am attempting to create a running log of messages (Strings) that will be shown in StatusFrame.
    The IFrame will be generating these messages that need to show up on StatusFrame.
    Both are invoked by AppFrame.
    My question is: How do I pass the message from IFrame to StatusFrame? I imagine it will involve some object sharing, but my brain is fried.
    If anyone could point me in the right direction, I would appreciate it.
    Thanks!

    Thanks for bringing me up to speed!
    Just a couple of questions...please forgive me, I am very new to homegrowing listeners.
    1) When you said "which should save off the listener in some collection", how would you go about taking StatusListener listener and storing it, and, how do I access it to send a status? Do I access it by using:
    listener.statusChanged("message")?
    2) When you say "use the addStatusListener method of the iframe to add itself", just for clarification, I assume you mean something to the effect of:
    iframe.addStatusListener(statusFrame) , right?
    Again, thank you for helping me understand. I'm not quite there, but I am a lot further than I was yesterday.
    Message was edited by:
    nawlej

  • Communicate between two (same) Applications

    Hi there,
    I've written a server application in java.
    This Server is always running in the background.
    For restart/shutdown or similar purpose I want to communicate with this application.
    Is ist possible to start the same application with a args-flag that causes the running server to shutdown.
    I know it's easy possible by doing this via the socket connection.
    Because of security-reasons I want to avoid this. To limit this to the localhost is to insecure.
    Any ideas?

    Ok, I will explain it in detail.
    I don't want to open a new Port for this,
    so it is possible to use the existing open port.
    The idea to limit control sequences to localhost can made by Socket.getInetAdress() (maybe insecure (fake IP)) for the existing port or via Konstruktor of ServerSocket for a new port
    The point is:
    I dont't want to grant access to other users on this machine!
    And I don't want to limit a port for localhost from the system-enviroment via root-possibilities.
    If there is no other possibility, I think I try to use a new Port for this. I just wanted to know if this is the only possibility or are there other easier ways.
    Thanx for helping
    thosta

  • How to communicate between two servlet applications.

    I want to write a program that the system manager can see who is connecting the server.
    the system manager login the server via the browser with applet.
    the applet communicate with servlet .and the servlet work in the server get the customer message such as username ,Ip address etc from other servlet.
    how to realize it .?
    can you give some advice .
    I appreciate you .
    thank you

    Look at, http://forum.java.sun.com/thread.jsp?forum=54&thread=262144

Maybe you are looking for

  • Can I use adobe reader with my iPad

    Can I use adobe reader on my iPad

  • Have a problem using flex ui with Java application

    Hi, I have a built a Flex UI for a java project. The UI has some forms which use a servlet for POST and data populated from servlet. I have used HTTP service to make the calls. I have built my application i.e UI in Flex Builder and when I run my appl

  • Invoke and get focus

    does it have a way to make an application get activate when luanch second time application? Default: it flashes icon in the task bar. Window is show but does not get a focus. Ex. 1. start Twhirl (Twitter client) 2. double click Twhirl icon again 3. n

  • When to buy?  Giving an Ipad as a gift next week?

    Giving a gift of a Ipad 3-G to a person at a conference next week. With the announcement of the Ipad two coming out today. How soon do you think Apple will begin shipping. I would rather see a Ipad two as the gift then the Ipad one. What is Apple's p

  • MsiInstaller 1023

    This error message on the Windows Server 2008 computer: Source: MsiInstaller ID: 1023 Product: Adobe Reader XI (11.0.06) - Russian - isn't possible to set the Adobe Reader XI (11.0.06) service pack. Error state number 1603. Additional data see in the