Skip to Content
avatar image
Former Member

passing of data to other window

Hi,

I had a requirement. I have to display a table in new window on the action of button. but I am having a lot of data which I can not pass to url.

So someone please help me to know how can I pass data to new window, because data can not be passed through context.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 16, 2012 at 05:03 PM

    Hi,

    Use component controller's context. It is global and available to all the windows of a component.

    Regards,

    Fareez

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Suchender

      As Fareez says you can share the Nodes from the COMPONENTCOTROLLER to all the views in a WDA Component , so you can call window (view) from the same WDA .

      If you need to call a window from other WDA component, you can share NODES between differents WDA Components by seeting the  INTEFACE NODE attribute to the Node, then you can share that Node from the caller WDA to the called WDA . 

      Regards

      Frank

  • avatar image
    Former Member
    Apr 17, 2012 at 06:39 AM

    Hi Suchender,

    You can fetch data in the component controller as it is global throughout the WDA Component and display to the another window as per the requirements.

    Or you can also use Plugs to transfer data from one window to another.

    Create Inbound and Outbound Plugs. Define the Parameters while creating outbound plug and create the respective inbound plug on the another which can accept the parameter from the outbound plug of the another window.

    -Regards,

    Ketan

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17, 2012 at 06:39 AM

    Hi Suchender,

    As per my understanding, you can create a Table Type with your required structure, and create an attribute at ComponentController / Assistance Class level, and set the values at Current Window level, and use the same at your New Window level, all set of values will be reflected as it is.

    Hope you understood.

    Add comment
    10|10000 characters needed characters exceeded