Wednesday Aug 07, 2013

Hiding view criteria item for specific view instance in nested view crietria scenario

Parent ViewObject: Dept


Child ViewObject: Emp


VL: DeptToEmpVL



Dept object members:


---------------------------


 View Criteria: DeptVC


Emp object members:


---------------------------


 View Criteria: EmpVC



In the DeptVC, lets say you have a nested Emp VC included with exists clause.


 Drag and drop Dept view instance in a page, run the page. You will notice that the Add Fields dropdown contains all the attributes from emp view. What if you don't want some emp view attributes to be exposed here.



Edit the  DeptVC, add those specific criteria items to you nested VC, if you don't want to display those items neither in the query panel nor in the add fields drop down  as mentioned below-


<Properties>
                <CustomProperties>
                  <Property
                    Name="renderedMode"
                    Value="Never"/>
                </CustomProperties>
                <SchemaBasedProperties>
                  <DISPLAYHINT
                    Value="Hide"/>
                </SchemaBasedProperties>
              </Properties>




if you just want to hide it from the query panel but you want it to appear in add fields dropdown-


<CustomProperties>
                  <Property
                    Name="renderedMode"
                    Value="Never"/>
                </CustomProperties>


By default if you don't specify an criteria item in your nested VC, all the attributes will appear in the add fields dropdown but none will appear in the query panel.




About

Talk on ADF (Mail To: vijay.x.mohan@oracle.com)

Search

Categories
Archives
« August 2013 »
SunMonTueWedThuFriSat
    
1
2
3
4
5
6
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today