Passing Data between portlets

Hi,
How can we pass the data from a Portlet in one page to another Portlet in a different Page??
Requirement: I want a portlet which should take some parameters(basically a form),On submit should process the parameters and should forward the result to a Portlet in another page.
Regards
Yash

Thanks Abhinav,
I went through the eventform.jsp present in the JPDK.ear.I was able to run the same,But I still have some problems accesing the values that were passed.
1. How to get the information in the second portlet when the form is submitted to other page.
I checked whether data is being passed from one page to another by setting method="Get".The data is getting passed to the other Page.But I am not able to use the values in the Portlet. I tried using request.getParameter("parameter") in Portlet2,but it is not working.
2. In the page properties of page 1, I set the SUBMIT event to get the same page back,this too is not working,it is directly taking me to Page2 when I click the SUBMIT button.How to specify it other than using page properties ->events
3.I want to know where the information regarding the Pages are stored.
Regards
Yash

Similar Messages

  • Best method for passing data between nested components

    I have a fairly good sized Flex application (if it was
    stuffed all into one file--which it used to be--it would be about
    3-4k lines of code). I have since started breaking it up into
    components and abstracting logic to make it easier to write,
    manage, and develop.
    The biggest thing that I'm running into is figuring out a way
    to pass data between components. Now, I know how to write and use
    custom events, so that you dispatch events up the chain of
    components, but it seems like that only works one way (bottom-up).
    I also know how to make public variables/functions inside the
    component and then the caller can just assign that variable or call
    that function.
    Let's say that I have the following chain of components:
    Component A
    --Component B
    -- -- Component C
    -- -- -- Component D
    What is the best way to pass data between A and D (in both
    directions)?
    If I use an event to pass from D to A, it seems as though I
    have to write event code in each of the components and do the
    bubbling up manually. What I'm really stuck on though, is how to
    get data from A to D.
    I have a remote object in Component A that goes out and gets
    some data from the server, and most all of the other components all
    rely on whatever was returned -- so what is the best way to be able
    to "share" data between all components? I don't want to have to
    pass a variable through B and C just so that D can get it, but I
    also don't want to make D go and request the information itself. B
    and C might not need the data, so it seems stupid to have to make
    it be aware of it.
    Any ideas? I hope that my explanation is clear enough...
    Thanks.
    -Jake

    Peter (or anyone else)...
    To take this example to the next (albeit parallel) level, how
    would you go about creating a class that will let you just
    capture/dispatch local data changes? Following along my original
    example (Components A-D),let's say that we have this component
    architecture:
    Component A
    --Component B
    -- -- Component C
    -- -- -- Component D
    -- -- Component E
    -- -- Comonnent F
    How would we go about creating a dispatch scheme for getting
    data between Component C and E/F? Maybe in Component C the user
    picks a username from a combo box. That selection will drive some
    changes in Component E (like triggering a new screen to appear
    based on the user). There are no remote methods at play with this
    example, just a simple update of a username that's all contained
    within the Flex app.
    I tried mimicking the technique that we used for the
    RemoteObject methods, but things are a bit different this time
    around because we're not making a trip to the server. I just want
    to be able to register Component E to listen for an event that
    would indicate that some data has changed.
    Now, once again, I know that I can bubble that information up
    to A and then back down to E, but that's sloppy... There has to be
    a similar approach to broadcasting events across the entire
    application, right?
    Here's what I started to come up with so far:
    [Event(name="selectUsername", type="CustomEvent")]
    public class LocalData extends EventDispatcher
    private static var _self:LocalData;
    // Constructor
    public function LocalData() {
    // ?? does anything go here ??
    // Returns the singleton instance of this class.
    public static function getInstance():LocalData {
    if( _self == null ) {
    _self = new LocalData();
    return _self;
    // public method that can be called to dispatch the event.
    public static function selectUsername(userObj:Object):void {
    dispatchEvent(new CustomEvent(userObj, "selectUsername"));
    Then, in the component that wants to dispatch the event, we
    do this:
    LocalData.selectUsername([some object]);
    And in the component that wants to listen for the event:
    LocalData.getInstance().addEventListener("selectUsername",
    selectUsername_Result);
    public function selectUsername_Result(e:CustomEvent):void {
    // handle results here
    The problem with this is that when I go to compile it, it
    doesn't like my use of "dispatchEvent" inside that public static
    method. Tells me, "Call to possibly undefined method
    "dispatchEvent". Huh? Why would it be undefined?
    Does it make sense with where I'm going?
    Any help is greatly appreciated.
    Thanks!
    -Jacob

  • Performace tuning: how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Wei,
    Yes we can transfer the data by using
    SAP Memory OR ABAP Memory.
    Ex:  V_count TYPE i.
      V_count = 100.
    LOOP AT  itab.
    IF v_count EQ 25.
    Here For every batch job
      EXPORT data TO MEMORY ID 'ABC'
       Function module
        JOB_OPEN
       JOB_SUBMIT
       JOB_CLOSE.
      ENDIF.
    ENDLOOP .
    IN your 2nd program.
    INITIALIZATION.
    IMPORT data FROM MEMORY IF 'ABC'.
    FREE memory if .---When you free the memory you will get recent data.
    Don't forget to reward if useful.

  • SAP threading-how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Passing Data Between Programs
    [http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm]

  • Pass data between InfoPath forms in SharePoint

    Hello!
    Maybe someone has ideas about the next issue: how to make pass data between InfoPath forms in SharePoint, like it is shown in a video: https://www.youtube.com/watch?v=-nGl-Se2cOQ
    I've read similar topics, but still can't find solution.
    Thank you.

    When you go to modify the submit connection, you can specify whether or not to overwrite, as well as a default title value. If you use the now() function in the title, it should never have the same name.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to  pass data between JDialog and its parent window ?

    Hi,
    I am new to swing. I want to know how pass data between a JDialog and its parent window.
    If you have any information please reply with example code.
    Thank You

    hi Encephalopathic ,
    I was looking for something like as it was given in the link provided by you.
    Thank you for reply It really helped me.

  • How to pass data between components?

    Hi everyone,
    How can I pass data between components? If possible, please
    give me sample code. Thanks.
    Note: I am using Flex 3.
    May

    There are lots of examples in the doc. You can start here:
    http://livedocs.adobe.com/flex/3/html/mxmlcomponents_advanced_1.html
    Stephen

  • How to pass data between two internal sessions using ABAP memory?

    Hi,
    How to pass data between two internal sessions using ABAP memory?
    It would be fine if you could explain with an example.
    And also let me clear about the data passing between two main sessions and two external sessions with specific examples.
    Thanks.

    Hi ,
      check the example.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    In this statement, the system does not check whether the structure of the object in memory is compatible with the structure into which you are reading it. The data is transported bit by bit. If the structures are incompatible, the data in the target field may be incorrect.
    PROGRAM SAPMZTS1.
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    SUBMIT SAPMZTS2 AND RETURN.
    SUBMIT SAPMZTS3.
    The first part of this program is the same as the example in the section Saving Data Objects in Memory. In the example, the programs SAPMZTS1 and SAPMZTS2 are called using SUBMIT. You can create and maintain the programs called using the SUBMIT statement by double-clicking their names in the statement. For further information about the SUBMIT statement, refer to Calling Executable Programs (Reports)
    Example for SAPMZTS2:
    PROGRAM SAPMZTS2.
    DATA: TEXT1(10),
          TEXT3 LIKE TEXT1 VALUE 'Initial'.
    IMPORT TEXT3 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT3.
    IMPORT TEXT2 TO TEXT1 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT1.
    Example for SAPMZTS3:
    PROGRAM SAPMZTS3.
    DATA JTAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
    LOOP AT JTAB.
      WRITE / JTAB-BOOKID.
    ENDLOOP.
    The output is displayed on two successive screens. It looks like this:
    and
    The program SAPMZTS2 attempts to read a data object TEXT3 from the data cluster "text", which does not exist. TEXT3 therefore remains unchanged. The existing data object TEXT2 is placed in TEXT1. In both cases, SY-SUBRC is 0, since the cluster "text" contains data.
    The program SAPMZTS3 reads the internal table ITAB from the cluster "table" into the internal table JTAB. Both tables have the same structure, namely that of the ABAP Dictionary table SBOOK.
    Pls. reward if useful.....

  • How does one pass data between war files

    Hello All,
    I need to be able to pass values between 2 war files.
    example:
    from a JSP file in the 1st war file i get the login information and need to pass
    the userid and password to another JSP in the 2rd war file.
    Question: How does one go about doing this.
    I'm using webLogic server 6.1 on NT.
    Thanks - Bala

    The problem is that web applications do not share the same session by
    default. If you set the cookie name to be the same for both web
    applications, you should be able to pass the data in the HttpSession...
    Bala Ganesh wrote:
    Hello All,
    I need to be able to pass values between 2 war files.
    example:
    from a JSP file in the 1st war file i get the login information and need to pass
    the userid and password to another JSP in the 2rd war file.
    Question: How does one go about doing this.
    I'm using webLogic server 6.1 on NT.
    Thanks - Bala

  • Hide values in URL, passing data between two webdynpro(ABAP) applications.

    Hi
       When transferring the data between two webdynpro applications,  How to hide the values in URL.
    Example : First application is using for login
                    Second application is for some transactional screens.
    Based on first application login data second application should trigger. When passing the user id and password thru URL every one can see the user name and password at internet explorer, so how to hide that user name and password in URL.
    Thanks
    Murali Papana.

    Hi Lekha,
        Thanks for your reply, but I could not find parameter like visibility, andi found HAS_TOOLBAR but no use.
    I set it like
    CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
      EXPORTING
        URL            = 'http://*****:8000/sap/bc/webdynpro/sap/Y1app1/?sap-language=EN&sap-client=200&sap-user=1104&sap-password=abcd'
        MODAL          = ABAP_FALSE
        HAS_MENUBAR    = ABAP_TRUE
        IS_RESIZABLE   = ABAP_TRUE
        HAS_SCROLLBARS = ABAP_TRUE
        HAS_STATUSBAR  = ABAP_TRUE
        HAS_TOOLBAR    = ABAP_FALSE
        HAS_LOCATION   = ABAP_TRUE
      RECEIVING
        WINDOW         = lo_window.
    Thanks
    Murali Papana.

  • What are the methods available for passing data between Labview 6.0 VI and another custom windows program

    The big picture is that I'm trying to use labview to interface to a DSP board.
    I already have a small windows application "app" which communicates with the dsp. Now I want Labview to grab data from the "app" and plot/analyze ... etc.
    I'm a novice at this 'interprocess communication stuff", what can I use to pass data back and forth between between the "app" and LV?
    use ActiveX, DMA, streams, etc.?
    In a crude sense I could just have the "app" write the data to a file and then have LV read the file. (can two applications read the file at the same time?), but
    this seems very slow and clumsy. I'd rather have a RAM based FIFO which both could access.
    Thanks!
    G
    Details:
    Pentium120 Windows 95 Host
    Spectrum TMSC30 DSP
    VC++6
    LV6

    It depends on what 'interprocess communication' your "app" program has available.
    I regulary use DDE to control a PLL App which controls our PLL via the LPT Port. This is only a write process, but works very easily. The read is equaly easy. You need to know the various "keywords" like service, topic and instruction which the "app" will respond to.
    Generaly I found ActieX to be more extensive, meaning its probably going to take longer and more steps to achive similar simple results.
    The file does not seem to be the best way.
    Hope that helps a bit.

  • How to pass data between views using Flex for mobile?

    Hi,
      In my 1st view, I have set of images. Each image represents a product category. When I click on an image, it has to show my 2nd view which is a list. This should show all the products linked to this category.
    I saw few examples where the 1st view is a list. Select an item in a list shows the details in the next view.
    But what I need is, I need to know which image is clicked in my 1st view (ie) Home page. This id needs to be passed to my 2nd view to retrieve the data for the clicked image (clicked product category).
    Can anyone help me in this?

    Chellaa2011,
      If I understand you correctly, you can pass data to the next view by passing the second parameter to the pushView method. 
      check out: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/ViewNa vigator.html#pushView()
      I've written similar apps in the past and found that a singleton class alleviates some of these issues.  If you use a singleton to track currently selections all your views can access the same data without having to pass and return data from each other.
    Hope this helps,
    KLee

  • Pass data between two views

    Hi experts,
    i want to pass data from a view to an other one, i am filling a structure, and want get it into another view,
    is there a way to handl this.
    Best Regards
    Tomas

    Hi,
    I am not getting your exact requirement but to pass data from one view to another try the following steps.
    1. Suppose view1 is the view where you will take data from user through i/p fields and display it in view2 through text view.
    2. First create context node with required attributes in component controller then map it to context of view1.
    3. Map the attributes to the i/p fields of the view.
    4. Then if you want to go to view2 on button click then create an event in onAction property of button.
    5. Create OutBound plug in view1 and InBound plug in view2.
    6. In enent handler method of the button write the fire method.
         eg.  wd_this->fire_to_view2_plg(  ).
    7. In windows embed both the views and create navigation link for OutBound plug of view1.
    8. To display the values in view2 first map the node from component controller to context of the view2.
    9. Now map the attribues of the node to the Text Views or i/p fields where you want to diplay the values.
       Automatically values will appear in view2.

  • What is the fastest way to pass data between parallel threads?

    I have a top level vi running with 6 parallel threads. I need to pass some data from digital I/O to several of the threads. What is the fastest responding way to do this. I am controlling a machine that has quite a few sensed events happening at very close intervals, some as close together as 1 to 2 milliseconds, and I seem to be randomly missing the signal from these sensors. How can I distribute the I/O to the different threads and not miss any inputs?

    I usually use a Queue to pass data from one loop to another. Other
    choices are Functional Globals or Notifiers. It kind of depends on what
    you need to do as to which one is best, so it's a bit hard to recommend
    one over the others without knowing more about your application.
    Both Queues and the Functional Globals (if written correctly) can
    buffer data so you're less likely to lose data if one loop gets behind
    the others.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Passing parameters between portlets (PL/SQL PDK)

    I'm new to the PDK, so forgive me if this is a dumb question. I need to develop a portal page containing a single search portlet, and then many other associated portlets which bring back various bits of data based on the result of the search.
    Is it possible to drive the content of other portlets on the same page by passing values from one to another and refreshing the whole page?
    null

    Neil,
    You can definitely pass parameters from one portlet to another in PL/SQL and we actually have a sample that you can take a look at. In the PDK, download the Parameter passing and CSS Example Provider sample. http://technet.oracle.com/products/iportal/files/pdkjan/index.html
    Click on PL/SQL
    One of the portlets demonstrates how to pass parameters to one portlet or all portlets on a page.
    Hope this helps,
    Sue

Maybe you are looking for

  • Best way to have resizeable LUNS for datafiles - non RAC system

    All, (thanks Avi for the help so far, I know its a holiday there so I wait for your return and see if any other users can chip in also) one of our systems (many on the go here) is being provided by an external vendor - I am reviewing their design and

  • Why does the color and or tone of my image change?

    Why does the color and or tone of my image change after working in LR for a couple of hours? I open LR and everything looks fine - work for a couple of hours on the same shoot - but then the pictures start to look flat or greenish cast as time goes b

  • Importing MS word

    I can't import MS Word X for Mac files into PageMaker (7.0). When I save them as Word 5.1 files I can, sort of, but the upper level ASCII characters get all screwed up, I lose all style, italics, superscript, and so forth. I haven't been able to find

  • Business Explorer  Analyer Login Error

    All Expert:     I want to login Business Explorer Analyer 3.X,When I input username and password,after confirm,it display:   Message Group RFC_ERROR_PROGRAM Message  Ent By the way,Web application Desinger is the same problem. please answer this ques

  • Arabic printing issue

    HI Gurus, I am facing a problem where both Arabic and English should be printed in one smartform. I am using multi-lingual system and everything is showing fine in print-preview Now the problem is, when I am printing this form, the Arabic format is c