Monday, 21 October 2013

ADF : ViewCriteria: ViewCriteria -> In Advance Mode -> Customization

ViewCriteria: In ViewCriteria -> In Advance Mode -> 

 How to remove drop down choice.


http://myforums.oracle.com/jive3/thread.jspa?messageID=6987958&

http://weblog.singhpora.com/2012/04/how-to-showhide-operators-in-adfquery.html


<ViewCriteriaRow
  Name="vcrow50"
  UpperColumns="1">
   <ViewCriteriaItem
     Name="LastUpdateDate"
     ViewAttribute="LastUpdateDate"
     Operator="="
     Conjunction="AND"
     Required="Optional">
        <CompOper
            Name="LastUpdateDate"
            ToDo="-1"
            Oper="BEFORE"
        </CompOper>

   </ViewCriteriaItem>

Hide some of the fields from "Add Fields" option of View Criteria


http://myforums.oracle.com/jive3/thread.jspa?threadID=1272634&tstart=30





How to Create Custom Operators.

http://docs.oracle.com/cd/E24382_01/web.1112/e16182/web_search_bc.htm#ADFFD2457

http://myforums.oracle.com/jive3/thread.jspa?messageID=7061788&

###############################################################
 <ViewCriteriaRow
      Name="vcrow0"
      UpperColumns="1">
      <ViewCriteriaItem
        Name="Salary"
        ViewAttribute="Salary"
        Operator="="
        Conjunction="AND"
        Value=""
        Required="Optional">
        <CompOper
            Name="Salary"
            ToDo="1"
            OperDescStrCode="greater_salary"
            Oper=">10000"
            MinCardinality="0"
            MaxCardinality="0" >
            <TransientExpression><![CDATA[ return " > 10000"
                ]]></TransientExpression>
        </CompOper>
        </ViewCriteriaItem>
    </ViewCriteriaRow>



##############################################################

 

 





No comments:

Post a Comment