on 06-14-2012 2:57 AM
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 ?
Abhishek,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.