Skip to Content

2 UI Table elements share one context but different data records

Hi All,

Existing Scenario:

I have 2 UI Table element mapped to two Different Context Nodes ( for Example Existing Roles & Requested Roles ) . But as a Code improvision, I was thinking to reduce it one Single Context as both have same structures !

The problem is: How to filter the Corresponding Data Records ( Existing & New ) from the single Context to each corresponding UI element

(i.e., Existing Roles Record should be shown in Existing Roles Table while New Roles Record should be shown in New Roles Table ) ?

Is it Possible ? If possible how ?

My Assumption: Each UI element is mapped to One Context NODE, though multiple UI elements can be mapped to One Context, but there cannot be difference in data shown. Is this true ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 14, 2012 at 02:39 AM


    If the both Table UI elements are on the same page, then there should be two nodes to bound. If they are on different pages, then you can go forward with single context.

    And Your assumption is absolutely correct. there is no difference in context existed data.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 14, 2012 at 07:01 AM


    As mentioned if you need the 2 different nodes for 2 UI element in the same view.

    If you are in 2 different views, you can use the same context node from component controller's context node binding and then populate the data differently in internal tables in the views and then bind it to the node.

    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.