As Reorder items in Query Panel?

Good night,
use 12c jdeveloper and would like to know how I can sort the items in a query panel.
for example: I have the fields in the View Criterial, "id, name, age, gender, telephone", the latter field is a ViewLink to another entity "telefonoView" and want to show in the query panel in the following order:
* id
* name
* gender
* Phone
* age
thank you very much in advance.

Hi,
another option that I did not ty before posting this answer is to define the order in the UI hints of the attributes. You can set a display index (1 ... n) for where fields should render
Frank

Similar Messages

  • Query panel menu item disabled in trial version

    I am using the trial verison of CR 2008 ..... the "query panel" menu item under the database expert is disabled so I cannot explore this feature to change my report query. how can this be enabled so I can use it ??
    Thank you

    Hello,
    If you look in the Crystal help file and search on Query panel you'll get this:
    "Use the Query Panel command to open the Business Objects Query Panel in Crystal Reports. In the Query Panel, you can build and modify queries and filter universe data that the program returns to Crystal Reports."
    It only works when you are connected to Business Object Enterprise.
    And to answer your question/issue. You can't modify the Query CR builds if that is what you are trying to accomplish. Your only option is to use a Command Object where you write the SQL statement, then you can edit it in the Command Edit option.
    Thank you
    Don
    Edited by: Don Williams on Oct 29, 2010 11:26 AM

  • Getting the Warning message while searching in the Query panel

    Hi all,
    getting the following warning message while searching something through Query panel.
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "VwObj_SearchNCCriteria" in QueryRenderer$2[UIXEditableFacesBeanImpl, id=null]
    can anybody help me in filtering this warning message
    Thanks & Regards,
    Veeresh

    Hi Frank,
    the JDeveloper version is JDeveloper Studio 11.1.1.3.0
    I have a View object View_Query for that i have added View critirea as View_Query_Critirea.
    I dropped the Critirea as Master-detail table in the page.
    when i try to search anything in the master-detail table I am getting the warning message which i mentioned in the original post.
    thanks,
    Veeresh

  • Multiple selection in Query Panel. Operator Does not equal generates error.

    Hi,
    I'm using Jdeveloper 11.1.1.4 and creating Oracle Fusion Web Application with ADF Business Components.
    I want to use multiple selection on LOV in ADF Query Panel with Table, but I get the following error
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    A simple example:
    Schema: HR
    Generate default Business Components for tables Departments and Employees.
    Model:
    Create List of Values for EmployeesView(DepartmentId)
    List Data Source: DepartmentsView1
    List Attribute: DepartmentId
    Display Attributes: DepartmentName (UI Hints)
    Create View Criteria EmployeesByDepartmentVC for EmployeesView
    Criteria Item:
    Attribute: DepartmentId
    Operator: Equals
    Operand: Literal
    Select "Support Multiple Value Selection" (UI Hints)
    ViewController:
    Create blank JSF Page: showEmployees.jspx
    Drag EmployeesByDepartmentVC from Data Controls to showEmployees.jspx
    Create Query=>ADF Query Panel with Table
    Run application.
    Press Advanced button.
    Select operator "Does not equal" and department names "Administration;Marketing"
    Press Search
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Note: it works fine with operator "Equals"
    Best,
    Kees.

    Hi,
    I was reading:
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html#bugs_fixed_in_11.1.2.2.0
    Bugs Fixed in 11.1.2.2.0
    Bug.No. 13508184
    unsupported model type error thrown for multi select view criteria
    I have tested the use case described in this thread with JDeveloper 11.1.2.2.0 but I still get the same error.
    when I use operator "Does not equal":
    Error: Unsupported model type.
    SelectMany does not support a model of type class java.lang.Integer.
    Is there anybody who can tell me more about this bug fix?
    Thanks,
    Kees.

  • Cascading LOV in a Query panel (af:query)

    Hi
    I have a requirement to implement few Cascading LOV's in a Query panel. I have created the VO's for the LOV's with bind variable and view criteria and linked them. It works for the BC viewer. But to enable in the ADF UI, the partial trigger needs to be enabled on individual field. And the af:query encapsulates the fields and they are not exposed. Can someone help me with a solution or a pointer
    Many thanks

    Thanks for the pointer
    Well I followed the the steps, and implemented the same for two LOV's. I'm getting "Server Exception during PPR, #1". Would be able to identify where I'm going wrong please.
    FYI: I'm using a UI template that is stripped won from Oracles Dynamic tab template
    1. parent LOV
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="QcChiptypeVViewRO"
    Version="11.1.1.56.60"
    BindingStyle="OracleName"
    CustomQuery="true"
    RowClass="com.qualcomm.qdt.fwk.model.QdtViewRowImpl"
    ComponentClass="com.qualcomm.qdt.fwk.model.QdtViewObjectImpl"
    DefClass="com.qualcomm.qdt.fwk.model.QdtViewDefImpl"
    PageIterMode="Full"
    UseGlueCode="false">
    <DesignTime>
    <Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
    <Attr Name="_isExpertMode" Value="true"/>
    </DesignTime>
    <SQLQuery>
    <![CDATA[SELECT QcChiptypeV.CHIPTYPE
    FROM QC_CHIPTYPE_V QcChiptypeV]]>
    </SQLQuery>
    <ViewAttribute
    Name="Chiptype"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="42"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CHIPTYPE"
    Expression="CHIPTYPE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="42"/>
    </DesignTime>
    </ViewAttribute>
    </ViewObject>
    2. Child LOV
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="QcMcnVViewRO"
    Version="11.1.1.56.60"
    BindingStyle="OracleName"
    CustomQuery="true"
    RowClass="com.qualcomm.qdt.fwk.model.QdtViewRowImpl"
    ComponentClass="com.qualcomm.qdt.fwk.model.QdtViewObjectImpl"
    DefClass="com.qualcomm.qdt.fwk.model.QdtViewDefImpl"
    PageIterMode="Full"
    UseGlueCode="false">
    <DesignTime>
    <Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
    <Attr Name="_isExpertMode" Value="true"/>
    </DesignTime>
    <Variable
    Name="chiptype"
    Kind="viewcriteria"
    Type="java.lang.String"/>
    <ViewAccessor
    Name="QcChiptypeVViewRO1"
    ViewObjectName="com.qualcomm.qdt.model.lov.QcChiptypeVViewRO"
    RowLevelBinds="true"/>
    <SQLQuery>
    <![CDATA[SELECT QcMcnV.MCN,
    QcMcnV.CHIPTYPE
    FROM QC_MCN_V QcMcnV]]>
    </SQLQuery>
    <ViewAttribute
    Name="Mcn"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="MCN"
    Expression="MCN"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Dependencies>
    <Item
    Value="Chiptype"/>
    </Dependencies>
    </ViewAttribute>
    <ViewAttribute
    Name="Chiptype"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="42"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CHIPTYPE"
    Expression="CHIPTYPE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="42"/>
    </DesignTime>
    </ViewAttribute>
    <ViewCriteria
    Name="QcMcnVViewROCriteriaChiptype"
    ViewObjectName="com.qualcomm.qdt.model.lov.QcMcnVViewRO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    <Property
    Name="autoExecute"
    Value="true"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    </CustomProperties>
    </Properties>
    <ViewCriteriaRow
    Name="vcrow5"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="QcMcnVViewROCriteria_vcrow5_Chiptype"
    ViewAttribute="Chiptype"
    Operator="="
    Conjunction="AND"
    Value=":chiptype"
    IsBindVarValue="true"
    Required="Optional"/>
    </ViewCriteriaRow>
    </ViewCriteria>
    </ViewObject>
    3. JSF page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx"
    value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="copyright">
    <af:outputText value="2010 Qualcomm Inc. All Rights Reserved."
    id="ot10"/>
    </f:facet>
    <f:facet name="about">
    <af:navigationPane id="np3" hint="buttons">
    <af:commandNavigationItem text="About" id="cni5"/>
    <af:commandNavigationItem text="Privacy" id="cni6"/>
    </af:navigationPane>
    </f:facet>
    <f:facet name="navigation">
    <af:panelAccordion id="pa1">
    <af:showDetailItem text=" Asset Details" id="sdi1">
    <af:panelGroupLayout layout="vertical" id="pgl1">
    <af:panelHeader text=" " id="ph1">
    <af:query id="qryId1"
    headerText="Search Criteria (Use % as wildcard)" disclosed="true"
    value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
    saveQueryMode="hidden"/>
    </af:panelHeader>
    </af:panelGroupLayout>
    </af:showDetailItem>
    <af:showDetailItem text="More Info" id="sdi2"/>
    </af:panelAccordion>
    </f:facet>
    <f:facet name="globalLinks">
    <af:navigationPane id="np2" hint="buttons"
    inlineStyle="text-align:right;">
    <af:commandNavigationItem text="Help" id="cni4" action="noop"/>
    <af:commandNavigationItem text="Sign out"
    id="commandNavigationItem1"
    action="noop"/>
    </af:navigationPane>
    </f:facet>
    <f:facet name="status"/>
    <f:facet name="globalToolbar"/>
    <f:facet name="globalSearch"/>
    <f:facet name="globalTabs">
    <af:navigationPane id="np1">
    <af:commandNavigationItem text="Device Query/Update" id="cni1"
    selected="true" partialSubmit="false"/>
    <af:commandNavigationItem text="Asset Return" id="cni3"
    action="dummy" rendered="false"/>
    </af:navigationPane>
    </f:facet>
    <f:facet name="welcome">
    <af:panelSplitter id="ps1" orientation="vertical">
    <f:facet name="first">
    <af:panelCollection id="pc1" defaultToolbarItemDisplay="icon">
    <f:facet name="menus">
    <af:menu text="Options" id="m2" rendered="false">
    <af:commandMenuItem text="Printable Page" id="cmi2">
    <af:showPrintablePageBehavior/>
    </af:commandMenuItem>
    <af:commandMenuItem text="Download" id="commandMenuItem1">
    <af:exportCollectionActionListener exportedId="t2"
    type="excelHTML"
    title="Asset Details"/>
    </af:commandMenuItem>
    </af:menu>
    </f:facet>
    <f:facet name="toolbar">
    <af:toolbar id="t1">
    <af:commandToolbarButton id="ctb1"
    hoverIcon="/images/view_image.gif"
    text="Export to Excel">
    <af:exportCollectionActionListener exportedId="t2"
    type="excelHTML"
    title="Asset Details"/>
    </af:commandToolbarButton>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.QcDeviceTrackingVO1.collectionModel}"
    var="row"
    rows="#{bindings.QcDeviceTrackingVO1.rangeSize}"
    emptyText="#{bindings.QcDeviceTrackingVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.QcDeviceTrackingVO1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.QcDeviceTrackingVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.QcDeviceTrackingVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="t2"
    columnSelection="single"
    partialTriggers=":::ph1 :::qryId1">
    <af:column sortProperty="Serialnum" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Serialnum.label}"
    id="c28" width="103">
    <af:outputText value="#{row.Serialnum}" id="ot17"/>
    </af:column>
    <af:column sortProperty="Assettag" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Assettag.label}"
    id="c7" width="107">
    <af:outputText value="#{row.Assettag}" id="ot24"/>
    </af:column>
    <af:column sortProperty="Chiptype" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Chiptype.label}"
    id="c18" width="26">
    <af:outputText value="#{row.Chiptype}" id="ot27"/>
    </af:column>
    <af:column sortProperty="Mcn" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Mcn.label}"
    id="c11">
    <af:outputText value="#{row.Mcn}" id="ot13"/>
    </af:column>
    <af:column sortProperty="Mcnrev" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Mcnrev.label}"
    id="c8">
    <af:outputText value="#{row.Mcnrev}" id="ot3"/>
    </af:column>
    <af:column sortProperty="Assignedto" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Assignedto.label}"
    id="c15">
    <af:outputText value="#{row.Assignedto}" id="ot32"/>
    </af:column>
    <af:column sortProperty="Location" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Location.label}"
    id="c24">
    <af:outputText value="#{row.Location}" id="ot19"/>
    </af:column>
    <af:column sortProperty="Locationfullname" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Locationfullname.label}"
    id="c14">
    <af:outputText value="#{row.Locationfullname}" id="ot26"/>
    </af:column>
    <af:column sortProperty="Locationtype" filterable="true"
    sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Locationtype.label}"
    id="c13">
    <af:outputText value="#{row.Locationtype}" id="ot28"/>
    </af:column>
    <af:column sortProperty="Description" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Description.label}"
    id="c21">
    <af:outputText value="#{row.Description}" id="ot22"/>
    </af:column>
    <af:column sortProperty="Assignment" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Assignment.label}"
    id="c30">
    <af:outputText value="#{row.Assignment}" id="ot34">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.QcDeviceTrackingVO1.hints.Assignment.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Createddate" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Createddate.label}"
    id="c1">
    <af:outputText value="#{row.Createddate}" id="ot15">
    <af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Createddate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Lastid" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Lastid.label}"
    id="c33">
    <af:outputText value="#{row.Lastid}" id="ot9">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.QcDeviceTrackingVO1.hints.Lastid.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Lportfolioitemid" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Lportfolioitemid.label}"
    id="c23">
    <af:outputText value="#{row.Lportfolioitemid}" id="ot23">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.QcDeviceTrackingVO1.hints.Lportfolioitemid.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Lkeycontactid" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Lkeycontactid.label}"
    id="c4">
    <af:outputText value="#{row.Lkeycontactid}" id="ot11">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.QcDeviceTrackingVO1.hints.Lkeycontactid.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Fullname" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Fullname.label}"
    id="c22">
    <af:outputText value="#{row.Fullname}" id="ot6"/>
    </af:column>
    <af:column sortProperty="Status" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Status.label}"
    id="c16">
    <af:outputText value="#{row.Status}" id="ot21"/>
    </af:column>
    <af:column sortProperty="Qcemployeenumber" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Qcemployeenumber.label}"
    id="c6">
    <af:outputText value="#{row.Qcemployeenumber}" id="ot33">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.QcDeviceTrackingVO1.hints.Qcemployeenumber.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Field3" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Field3.label}"
    id="c12">
    <af:outputText value="#{row.Field3}" id="ot18"/>
    </af:column>
    <af:column sortProperty="Empdeptfullname" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Empdeptfullname.label}"
    id="c27">
    <af:outputText value="#{row.Empdeptfullname}" id="ot4"/>
    </af:column>
    <af:column sortProperty="Comments" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Comments.label}"
    id="c10">
    <af:outputText value="#{row.Comments}" id="ot16"/>
    </af:column>
    <af:column sortProperty="Builtby" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Builtby.label}"
    id="c19">
    <af:outputText value="#{row.Builtby}" id="ot20"/>
    </af:column>
    <af:column sortProperty="Mesbuild" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Mesbuild.label}"
    id="c31">
    <af:outputText value="#{row.Mesbuild}" id="ot2"/>
    </af:column>
    <af:column sortProperty="Esn" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Esn.label}"
    id="c26">
    <af:outputText value="#{row.Esn}" id="ot31"/>
    </af:column>
    <af:column sortProperty="Imei" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Imei.label}"
    id="c17">
    <af:outputText value="#{row.Imei}" id="ot29"/>
    </af:column>
    <af:column sortProperty="Macaddress" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Macaddress.label}"
    id="c32">
    <af:outputText value="#{row.Macaddress}" id="ot1"/>
    </af:column>
    <af:column sortProperty="Brf" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Brf.label}"
    id="c25">
    <af:outputText value="#{row.Brf}" id="ot8"/>
    </af:column>
    <af:column sortProperty="Brfrev" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Brfrev.label}"
    id="c3">
    <af:outputText value="#{row.Brfrev}" id="ot25"/>
    </af:column>
    <af:column sortProperty="Dacquisition" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Dacquisition.label}"
    id="c29">
    <af:outputText value="#{row.Dacquisition}" id="ot7">
    <af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Dacquisition.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Datqcmainttermdate" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Datqcmainttermdate.label}"
    id="c2">
    <af:outputText value="#{row.Datqcmainttermdate}"
    id="ot30">
    <af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Datqcmainttermdate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Datqcissueddate" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Datqcissueddate.label}"
    id="c5">
    <af:outputText value="#{row.Datqcissueddate}" id="ot5">
    <af:convertDateTime pattern="#{bindings.QcDeviceTrackingVO1.hints.Datqcissueddate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Itlqciteclass" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.Itlqciteclass.label}"
    id="c20">
    <af:outputText value="#{row.Itlqciteclass}" id="ot14"/>
    </af:column>
    <af:column sortProperty="RowID" sortable="true"
    headerText="#{bindings.QcDeviceTrackingVO1.hints.RowID.label}"
    id="c9">
    <af:outputText value="#{row.RowID}" id="ot12"/>
    </af:column>
    </af:table>
    </af:panelCollection>
    </f:facet>
    <f:facet name="second">
    <af:panelTabbed id="pt2">
    <af:showDetailItem text="Update Attributes" id="sdi3"
    stretchChildren="first"/>
    </af:panelTabbed>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:facet name="innerToolbar"/>
    <f:attribute name="brandingTitle" value="ITE Device Tracking System"/>
    <f:attribute name="navSplitterPosition" value="450"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • How to add a dynamic filter in query panel

    I want to display the data in recent week, is it possible to add a dynamic filter in query panel?
    eg. filter--> actionDate >= CurrentDate - 7
    BO version: BOX I 3.1

    We are still trying to get this filter to work. Can anybody give us an example of how it should look on the sensor?
    The sensor filter that we would like to create should “exclude” any source IP, any source port to specific destination hosts on all destination ports (icmp has none) from capturing events and storing them in the event store on the sensor.
    This is the filter that we have so far on the sensor. What’s the problem with it?
    service event-action-rules rules0
    filters edit icmp-w-echo-filter-sensor-sensor-0-D
    signature-id-range 2100
    subsignature-id-range 0-255
    attacker-address-range 0.0.0.0-255.255.255.255
    victim-address-range a.b.c.x,a.b.c.y
    attacker-port-range 0-65535
    victim-port-range 0-65535
    risk-rating-range 0-100
    no actions-to-remove
    deny-attacker-percentage 100
    filter-item-status Enabled
    stop-on-match False
    no user-comment
    exit
    filters move icmp-w-echo-filter-sensor-sensor-0-D begin
    exit

  • Cascading List of Values & Query Panel

    Hello all! ADF BC JDev 11
    I should use Cascading List of Values in Search Query Panel. I build CLOV like in this sample http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html .
    But when i use it in Search Query Panel it does not work. :(((
    I thik that i need to set partial triger on detail LOV field. How can i do that?
    Help!
    Edited by: Victor_V_S on 23.11.2009 7:45

    Hello,
    Thanks for a nice solution.
    I have a similar situation.
    I have a query panel with auto make name list of values returning make as name and make id into the hidden view attribute.
    Based on this, i have another list of values namely auto model which is also a name field returning a name and id(hidden).
    I tried choosing the auto model name field and editing dependencies as auto make id and later auto make name as well.
    But i get this error in the Weblogic Log every time i selected the auto make LOV or auto model LOV and auto model does not filter based on auto name .
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "SomeNameViewCriteria" in QueryRenderer$2[UIXEditableFacesBeanImpl, id=null]
    I have no clue how to handle this.
    Any help is greatly appreciated.
    Thanks.

  • Cascading List of values in Query Panel

    Hello,
    This is related to the thread
    Re: Cascading List of Values & Query Panel
    Hello,
    Thanks for a nice solution.
    I have a similar situation.
    I have a query panel with auto make name list of values returning make as name and make id into the hidden view attribute.
    Based on this, i have another list of values namely auto model which is also a name field returning a name and id(hidden).
    I tried choosing the auto model name field and editing dependencies as auto make id and later auto make name as well.
    But i get this error in the Weblogic Log every time i selected the auto make LOV or auto model LOV and auto model does not filter based on auto name .
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "SomeNameViewCriteria" in QueryRenderer$2UIXEditableFacesBeanImpl, id=null
    I have no clue how to handle this.
    Any help is greatly appreciated.
    Thanks.

    Hi,
    I have de same problem.
    I think that it could be a bug, cause if i check "show in list" option in the View criteria the messages are no prompted, and are prompted with that option unchecked.
    Although there's no problem during execution.
    Regards!

  • Lov defined on an attrbute of a vo crashes in a query panel

    When I define an lov like department on the attribute deptno of emp viewobject and queriable = true and you drag from the data panel and select a normal query panel then page crashes. When you set queriable on false then it works perfectly.
    thanks Edwin

    Hi, it seems it had something to do with input list with list of values
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$RowRef     at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.addSelectItems(SelectItemUtils.java:207)     at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.getSelectItems(SelectItemUtils.java:76)     at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer.getSelectItems(SimpleSelectBaseRenderer.java:235)     at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer._renderContent(SimpleSelectBaseRenderer.java:188)     at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer.renderElementContent(SimpleSelectBaseRenderer.java:109)     at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:87)     at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:130)     at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:830)     at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:146)     at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:127)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:263)     at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:485)     at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChildren(PanelGroupLayoutRenderer.java:437)     at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:234)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1288)     at org.apache.myfaces.trinidad.component.UIXSwitcher.encodeChildren(UIXSwitcher.java:123)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:250)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer$QueryItem.renderFieldCellContents(QueryCriteriaRenderer.java:778)     at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.renderFieldCell(LabelLayoutRenderer.java:413)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer$QueryItem.encodeAll(QueryCriteriaRenderer.java:736)     at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:859)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer._renderSingleRow(QueryCriteriaRenderer.java:589)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer.access$200(QueryCriteriaRenderer.java:45)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer$2.processRowImpl(QueryCriteriaRenderer.java:551)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer$RowLoop.loop(QueryCriteriaRenderer.java:864)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer$RowLoop.run(QueryCriteriaRenderer.java:841)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer._renderRows(QueryCriteriaRenderer.java:555)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer._encodeFormColumns(QueryCriteriaRenderer.java:417)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer._encodeChildren(QueryCriteriaRenderer.java:322)     at oracle.adfinternal.view.faces.renderkit.rich.QueryCriteriaRenderer.encodeAll(QueryCriteriaRenderer.java:225)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:526)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:263)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)     at oracle.adfinternal.view.faces.renderkit.rich.QueryRenderer.renderChildrenAfterHelpAndInfo(QueryRenderer.java:304)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:663)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:337)     at oracle.adfinternal.view.faces.renderkit.rich.QueryRenderer.renderContentRow(QueryRenderer.java:290)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:170)     at oracle.adfinternal.view.faces.renderkit.rich.QueryRenderer.encodeAll(QueryRenderer.java:198)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:263)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:353)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:663)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:337)     at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:170)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:258)     at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1096)     at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:872)     at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:790)     at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:151)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:69)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:258)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)     at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:147)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:263)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)     at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:369)     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:799)     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:742)     at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1288)     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:762)     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)     at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:247)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:171)     at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)     at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)     at com.evermind[Oracle Containers for Java EE (11.1.1.0.0) Technology Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)     at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)     at java.lang.Thread.run(Thread.java:595)
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.45.24" id="pages_lovbugPageDef"
    Package="nl.ordina.pageDefs" EnableTokenValidation="false">
    <parameters/>
    <executables>
    <page path="nl.ordina.pageDefs.templates_templateSimplePageDef"
    id="pageTemplateBinding"/>
    <iterator Binds="EmpView3" RangeSize="25"
    DataControl="ScottModuleDataControl" id="EmpView3Iterator"/>
    <searchRegion Criteria="__ImplicitViewCriteria__"
    Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
    Binds="EmpView3Iterator" id="__ImplicitViewCriteria__Query"/>
    </executables>
    <bindings/>
    </pageDefinition>
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <af:messages/>
    <af:form>
    <af:pageTemplate viewId="/templates/templateSimple.jspx"
    value="#{bindings.pageTemplateBinding}">
    <f:facet name="top"/>
    <f:facet name="work">
    <af:panelHeader text="Emp">
    <af:query id="__ImplicitViewCriteria__QueryId" headerText="Search"
    disclosed="true"
    resultComponentId="__ImplicitViewCriteria__QueryResultId"
    systemQueries="#{bindings['__ImplicitViewCriteria__Query'].systemQueries}"
    userQueries="#{bindings['__ImplicitViewCriteria__Query'].userQueries}"
    value="#{bindings['__ImplicitViewCriteria__Query'].queryDescriptor}"
    model="#{bindings['__ImplicitViewCriteria__Query'].queryModel}"
    queryListener="#{bindings['__ImplicitViewCriteria__Query'].processQuery}"
    queryOperationListener="#{bindings['__ImplicitViewCriteria__Query'].processQueryOperation}">
    <f:facet name="help">
    <af:outputText value="Help Text"/>
    </f:facet>
    <f:facet name="info">
    <af:outputText value="* Required fields"/>
    </f:facet>
    <f:facet name="footer">
    <af:commandToolbarButton id="__ImplicitViewCriteria__QueryAddFields"
    text="Add Fields"
    shortDesc="Add Fields"
    rendered="#{bindings['__ImplicitViewCriteria__Query'].advancedMode}">
    <f:facet name="popup">
    <af:menu>
    <c:forEach var="attr"
    items="#{bindings['__ImplicitViewCriteria__Query'].searchableAttrs}">
    <af:commandMenuItem text="#{attr}"
    actionListener="#{bindings['__ImplicitViewCriteria__Query'].addCriterion}"/>
    </c:forEach>
    </af:menu>
    </f:facet>
    </af:commandToolbarButton>
    </f:facet>
    <af:queryCriteria conjunction="#{bindings['__ImplicitViewCriteria__Query'].queryDescriptor.conjunction}"
    model="#{bindings['__ImplicitViewCriteria__Query'].queryModel}"
    value="#{bindings['__ImplicitViewCriteria__Query'].queryDescriptor}"
    queryOperationListener="#{bindings['__ImplicitViewCriteria__Query'].processQueryOperation}"
    partialTriggers="__ImplicitViewCriteria__QueryAddFields"
    var="criterion">
    <f:facet name="labelStamp">
    <af:outputLabel showRequired="#{criterion.Required}"
    value="#{criterion.Label}"/>
    </f:facet>
    <f:facet name="operatorStamp">
    <af:selectOneChoice simple="true" autoSubmit="true"
    shortDesc="operators"
    value="#{criterion.Operator}"
    id="__ImplicitViewCriteria__QueryOperatorsId">
    <f:selectItems value="#{criterion.Operators}"/>
    </af:selectOneChoice>
    </f:facet>
    <f:facet name="valueStamp">
    <af:switcher facetName="#{criterion.Attribute}"
    defaultFacet="default">
    <f:facet name="Empno">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Empno'}">
    <af:inputNumberSpinbox simple="true"
    shortDesc="EmpnoValue1"
    required="#{criterion.Required}"
    rendered="#{criterion.Visible}"
    value="#{criterion.Values[0]}"/>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:inputNumberSpinbox simple="true"
    shortDesc="EmpnoValue2"
    required="#{criterion.Required}"
    rendered="#{criterion.Between}"
    value="#{criterion.Values[1]}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="Mgr">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Mgr'}">
    <af:inputListOfValues popupTitle="Search and Result Dialog"
    value="#{criterion.lists[0].inputValue}"
    launchPopupListener="#{criterion.lists[0].processLaunch}"
    returnPopupListener="#{criterion.lists[0].processReturn}"
    simple="true"
    shortDesc="MgrLov1"
    required="#{criterion.Required}">
    <af:collectionReturnPopupDataListener from="mgr1TableId"/>
    <f:facet name="searchContent">
    <af:table rows="#{criterion.lists[0].tree.rangeSize}"
    fetchSize="#{criterion.lists[0].tree.rangeSize}"
    first="#{criterion.lists[0].tree.rangeStart}"
    emptyText="#{criterion.lists[0].tree.viewable ? 'No rows yet.' : 'Access Denied.'}"
    var="row"
    value="#{criterion.lists[0].tree.collectionModel}"
    rowSelection="single" id="mgr1TableId">
    <af:column headerText="#{criterion.lists[0].tree.labels.Ename}"
    sortProperty="Ename"
    sortable="false">
    <af:outputText value="#{row.Ename}"/>
    </af:column>
    <af:column headerText="#{criterion.lists[0].tree.labels.Deptno}"
    sortProperty="Deptno"
    sortable="false">
    <af:outputText value="#{row.Deptno}"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:inputListOfValues>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:inputListOfValues popupTitle="Search and Result Dialog"
    value="#{criterion.lists[1].inputValue}"
    launchPopupListener="#{criterion.lists[1].processLaunch}"
    returnPopupListener="#{criterion.lists[1].processReturn}"
    simple="true"
    shortDesc="MgrLov2"
    required="#{criterion.Required}"
    rendered="#{criterion.Between}">
    <af:collectionReturnPopupDataListener from="mgr2TableId"/>
    <f:facet name="searchContent">
    <af:table rows="#{criterion.lists[1].tree.rangeSize}"
    fetchSize="#{criterion.lists[1].tree.rangeSize}"
    first="#{criterion.lists[1].tree.rangeStart}"
    emptyText="#{criterion.lists[1].tree.viewable ? 'No rows yet.' : 'Access Denied.'}"
    var="row"
    value="#{criterion.lists[1].tree.collectionModel}"
    rowSelection="single" id="mgr2TableId">
    <af:column headerText="#{criterion.lists[1].tree.labels.Ename}"
    sortProperty="Ename"
    sortable="false">
    <af:outputText value="#{row.Ename}"/>
    </af:column>
    <af:column headerText="#{criterion.lists[1].tree.labels.Deptno}"
    sortProperty="Deptno"
    sortable="false">
    <af:outputText value="#{row.Deptno}"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:inputListOfValues>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="Hiredate">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Hiredate'}">
    <af:inputDate simple="true" shortDesc="HiredateValue1"
    required="#{criterion.Required}"
    rendered="#{criterion.Visible}"
    value="#{criterion.Values[0]}"/>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:inputDate simple="true" shortDesc="HiredateValue2"
    required="#{criterion.Required}"
    rendered="#{criterion.Between}"
    value="#{criterion.Values[1]}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="Sal">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Sal'}">
    <af:inputNumberSpinbox simple="true"
    shortDesc="SalValue1"
    required="#{criterion.Required}"
    rendered="#{criterion.Visible}"
    value="#{criterion.Values[0]}"/>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:inputNumberSpinbox simple="true"
    shortDesc="SalValue2"
    required="#{criterion.Required}"
    rendered="#{criterion.Between}"
    value="#{criterion.Values[1]}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="Comm">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Comm'}">
    <af:inputNumberSpinbox simple="true"
    shortDesc="CommValue1"
    required="#{criterion.Required}"
    rendered="#{criterion.Visible}"
    value="#{criterion.Values[0]}"/>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:inputNumberSpinbox simple="true"
    shortDesc="CommValue2"
    required="#{criterion.Required}"
    rendered="#{criterion.Between}"
    value="#{criterion.Values[1]}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="Deptno">
    <af:panelGroupLayout layout="horizontal"
    partialTriggers="__ImplicitViewCriteria__QueryOperatorsId"
    rendered="#{criterion.Attribute == 'Deptno'}">
    <af:selectOneChoice simple="true"
    shortDesc="DeptnoValue1"
    required="#{criterion.Required}"
    value="#{criterion.lists[0].inputValue}">
    <f:selectItems value="#{criterion.lists[0].items}"/>
    </af:selectOneChoice>
    <af:icon name="betweenSeparator"
    rendered="#{criterion.Between}"/>
    <af:selectOneChoice simple="true"
    shortDesc="DeptnoValue2"
    required="#{criterion.Required}"
    value="#{criterion.lists[1].inputValue}"
    rendered="#{criterion.between}">
    <f:selectItems value="#{criterion.lists[1].items}"/>
    </af:selectOneChoice>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="default">
    <af:inputText simple="true" shortDesc="defaultValue"
    required="#{criterion.Required}"
    rendered="#{criterion.Visible}"
    value="#{criterion.Value}"/>
    </f:facet>
    </af:switcher>
    </f:facet>
    </af:queryCriteria>
    </af:query>
    </af:panelHeader>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • ADF Faces Query Panel: How to display master data in detail table?

    Before stating the question, here is the background:
    I've a Fusion ADF (model/viewController) app that includes 2 tables with a master-detail relationship. The master table stores error numbers and associated levels of logging severity; the detail table stores the actual message text. These need to be separate, related tables because the requirement is that message text for a given error number can vary by product release.
    Messages are added in a bounded task flow; data for the master table entered in 1 fragment, data for the detail table in a 2nd page fragment. In the app, the Entity Objects for these tables are related with a foreign key association and have a composition association. This was done because the error numbers are generated in an Oracle DB sequence, and from what i have read that is a way in a task flow to have ADF put the number generated for the master table into the related key of the child table.
    The question is this:
    I need to create an ADF query panel with a table that searches on the detail DB table. However, i also need to use a couple of fields from the master DB table in both the query and in the ADF table. In addition, I need to add the ability for the user to edit either the master or detail record for the row he/she selects in the ADF table. I know how to create a view that would display the info i need; however, i have not been able to figure out how to obtain the keys for the selected ADF table row and pass them to the task flows that would edit.
    The master table has a numeric primary key. The detail table primary key consists of a foreign key to the master key and also a release number.
    I'm new to ADF and have been struggling with how to do this: i've a workaround that is functional but too klunky to be a permanent solution. So, could someone point me to some information on how to accomplish this?
    Versions: JDeveloper 11.1.1.4, ADF Business Components 11.1.1.59.23
    Thanks for your help!

    Thanks. I tried this out, but ran into an issue in that the detail table has 2 keys - a foreign key to the master primary key, and a 2nd key that uniquely distinguishes the detail. So i tried various things centered around using the SetCurrentRowWithKey operation and trying to obtain the selected ADF table row using an EL OF #{data.<pageDef>.<Iterator>.currentRowKeyString}; however i could not get the detail record for the selected row to display.
    I did find another approach that worked - I am wondering, is there anything problematic with this approach?:
    1. Create a VO joining the Master and Detail tables, with the Detail table being updatable.
    2. Made sure the applicable attributes were defined as keys.
    3. Add a query panel w/table using this VO.
    4. Create an ADF form based on the VO, showing the updatable fields.
    5. Create a bounded task flow with the following set on the Behavior tab:
    a. Share data controls with calling task flow
    b. Always Begin Transaction
    I specifically am wondering whether "Share data controls with calling task flow" has any negative implications or gotchas to handle. The doc at http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/taskflows_parameters.htm#ADFFD1693 doesn't suggest so, but just wanted to double-check before I go down this path.

  • How can I use a single query panel with two view criteria?

    Hi all,
    I have a requirement to allow users to change the "display mode" on a search results tree table for an advanced search page. What this will do is change the structure of how the data is laid out. In one case the tree table is 3 levels deep, in the other case it's only 2 with different data being at the root node.
    What I've done so far:
    1) I exposed the data relationship for these two ways of viewing the data in the application module's data model.
    2)  I created a view criteria in the two view objects that are at the root of the relationships, where (for simplicity sake) I'm only comparing a single field.
    This is in one view object:
    <ViewCriteria
        Name="PartsVOCriteria"
        ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartsVO"
        Conjunction="AND">
        <Properties>... </Properties>
        <ViewCriteriaRow
          Name="vcrow23"
          UpperColumns="1">
          <ViewCriteriaItem
            Name="PartDiscrepantItemsWithIRVO"
            ViewAttribute="PartDiscrepantItemsWithIRVO"
            Operator="EXISTS"
            Conjunction="AND"
            IsNestedCriteria="true"
            Required="Optional">
            <ViewCriteria
              Name="PartDiscrepantItemsWithIRVONestedCriteria"
              ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartDiscrepantItemsWithIRVO"
              Conjunction="AND">
              <ViewCriteriaRow
                Name="vcrow26"
                UpperColumns="1">
                <ViewCriteriaItem
                  Name="InspectionRecordNumber"
                  ViewAttribute="InspectionRecordNumber"
                  Operator="="
                  Conjunction="AND"
                  Value=""
                  Required="Optional"/>
              </ViewCriteriaRow>
            </ViewCriteria>
          </ViewCriteriaItem>
        </ViewCriteriaRow>
      </ViewCriteria>
    and this is in the other view object:
    <ViewCriteria
          Name="IRSearchCriteria"
          ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.InspectionRecordVO"
          Conjunction="AND">
          <Properties>... </Properties>
          <ViewCriteriaRow
             Name="vcrow7"
             UpperColumns="1">
             <ViewCriteriaItem
                Name="InspectionRecordNumber"
                ViewAttribute="InspectionRecordNumber"
                Operator="="
                Conjunction="AND"
                Required="Optional"/>
          </ViewCriteriaRow>
       </ViewCriteria>
    3) I had a query panel and tree table auto-generated by dragging the data control for ONE of the view object data relationship that's exposed in the app module. Then I created a second query panel and tree table the same way but using the data control for the other. I'm hiding one of the query panels permanently and toggling the visibility of the tree tables based on the display mode the user chooses. Both tables have separate bindings and iterators.
    This is a portion of the page definition:
    <executables>
        <variableIterator id="variables"/>
        <searchRegion Criteria="IRSearchCriteria"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      Binds="InspectionRecordVOIterator"
                      id="IRSearchCriteriaQuery"/>
        <iterator Binds="InspectionRecordVO" RangeSize="25"
                  DataControl="QARS_AppModuleDataControl"
                  id="InspectionRecordVOIterator" ChangeEventPolicy="ppr"/>
        <iterator Binds="Root.QARS_AppModule.PartsVO1"
                  DataControl="QarsMasterAppModuleDataControl" RangeSize="25"
                  id="PartsVO1Iterator"/>
        <searchRegion Criteria="PartsVOCriteria"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      Binds="PartsVO1Iterator" id="PartsVOCriteriaQuery"/>
      </executables>
    4) I've created a custom queryListener to delegate the query event.
    This is in my advanced search jsp page:
    <af:query id="qryId1" headerText="Search" disclosed="true"
                      value="#{bindings.IRSearchCriteriaQuery.queryDescriptor}"
                      model="#{bindings.IRSearchCriteriaQuery.queryModel}"
                      queryListener="#{pageFlowScope.SearchBean.doSearch}"
                      queryOperationListener="#{bindings.IRSearchCriteriaQuery.processQueryOperation}"
                      resultComponentId="::resId2" maxColumns="1"
                      displayMode="compact" type="stretch"/>
    This is in my backing bean:
    public void doSearch(QueryEvent queryEvent) {
          String bindingName = flag
             ? "#{bindings.IRSearchCriteriaQuery.processQuery}"
             : "#{bindings.PartsVOCriteriaQuery.processQuery}";
          invokeMethodExpression(bindingName, queryEvent);
       private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
          FacesContext fctx = FacesContext.getCurrentInstance();
          ELContext elContext = fctx.getELContext();
          ExpressionFactory eFactory = fctx.getApplication().getExpressionFactory();
          MethodExpression mexpr =
             eFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
          mexpr.invoke(elContext, new Object[] { queryEvent });
    When no inspection record number (the only search field so far)  is supplied in the query panel, then it behaves correctly. Namely, the tree tables shows all search results. However, when an inspection record number is supplied the tree table that was created with the query panel in use (remember there are two query panels, one of them is hidden) shows a single result (this is correct) while the other tree table (the one with the hidden query panel that isn't in use) shows all results (this is NOT correct).
    Is what I'm trying to accomplish even doable? If so, what am I missing?
    I'm using JDeveloper 11.1.1.7
    Thanks,
    Bill

    I ended up keeping one query panel permanently visible and the other permanently hidden. When performing a search using the table that has the hidden query panel, I seed the query descriptor for the hidden query panel using the visible query panel's query descriptor and then delegate the request:
       public void doSearch(QueryEvent queryEvent) {
          String bindingName = null;
          if(isIrTableRendered()) {
             bindingName = "#{bindings.IRSearchCriteriaQuery.processQuery}";
          } else {
             seedPartsQueryDescriptor();
             bindingName = "#{bindings.PartsVOCriteriaQuery.processQuery}";
             queryEvent = new QueryEvent(partsQuery, partsQuery.getValue());
          invokeMethodExpression(bindingName, queryEvent);
       private void seedPartsQueryDescriptor() {
          ConjunctionCriterion criterion = irQuery.getValue().getConjunctionCriterion(); 
          for(Criterion criteria : criterion.getCriterionList()) {
             AttributeCriterion attributeCriteria = (AttributeCriterion)criteria;
             List values = attributeCriteria.getValues();
             String qualifiedName = attributeCriteria.getAttribute().getName();
             int indexOfDot = qualifiedName.lastIndexOf(".");
             String name = indexOfDot < 0
                ? qualifiedName
                : qualifiedName.substring(indexOfDot + 1);
             ConjunctionCriterion partsCriterion =
                partsQuery.getValue().getConjunctionCriterion();
             for (Criterion partsCriteria : partsCriterion.getCriterionList()) {
                AttributeCriterion partsAttributeCriteria =
                   (AttributeCriterion) partsCriteria;
                String partsQualifiedName =
                   partsAttributeCriteria.getAttribute().getName();
                if (partsQualifiedName.endsWith(name)) {
                   partsAttributeCriteria.setOperator(attributeCriteria.getOperator());
                   List partsValues = partsAttributeCriteria.getValues();
                   partsValues.clear();
                   for (int i = 0, count = values.size(); i < count; i++) {
                      partsValues.set(i, values.get(i));
       private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ELContext elContext = facesContext.getELContext();
          ExpressionFactory expressionFactory =
             facesContext.getApplication().getExpressionFactory();
          MethodExpression methodExpression =
             expressionFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
          methodExpression.invoke(elContext, new Object[] { queryEvent });
    Then when the advanced/basic button is pressed for the visible query panel, I programmatically set the same mode for the hidden query panel:
       public void handleQueryModeChange(QueryOperationEvent queryOperationEvent) {
          if(queryOperationEvent.getOperation() == QueryOperationEvent.Operation.MODE_CHANGE) {
             QueryMode queryMode = (QueryMode) irQuery.getValue().getUIHints().get(QueryDescriptor.UIHINT_MODE);
             QueryDescriptor queryDescriptor = partsQuery.getValue();
             queryDescriptor.changeMode(queryMode);
             AdfFacesContext.getCurrentInstance().addPartialTarget(partsQuery);

  • Issue in query panel LOV order by

    Hi All,
    I am using Jdev 11.1.1.6 version and Weblogic 10.3.6 version. I am facing an issue which is explained below. I have a screen with query panel and results table.
    For Ex. Say i have Name in the results table and search paramater as well. Created Name with the help of a view object with search parameter as view criteria with Order by Name. Name search paramater is created as SelectOneChoice(LOV) . Also from my first page Add button can be clicked. On clicking the button new Name value can be added. On successfully saving the New value it is getting refreshed in the table results and displaying in the correct order. But in LOV the latest value is getting added at the Last. Rest of the values are Ordered by Name.
    Is it possible to display the values in the correct order in LOV after new values are getting added?
    I have tried the following.
         1. Refreshing the View Object with Search Criteria.
         2. Refreshing the LOV View Object.
         3. Refreshing the Whole Page.
    4. Order by in View Accessor.
    5. Refreshing the View Accessor.
    Note: When i totally reload the page again then it is getting refelected correctly.
    Thanks.
    Regards,
    Deena.

    Maybe you can try to reset QueryModel, something like this:
    QueryModel queryModel = queryComponent.getModel(); 
    QueryDescriptor queryDescriptor = queryComponent.getValue(); 
    queryModel.reset(queryDescriptor); 
    queryComponent.refresh(FacesContext.getCurrentInstance());
    AdfFacesContext.getCurrentInstance().addPartialTarget(queryComponent);Sorry, I don't have any more ideas :(
    Dario

  • View Criteria in ADF Query Panel with Table-Class Cast Exception

    Hi,
    I am getting Class Cast Exception when using view criteria for ADF Query Panel with Table. The version I am using is 11g Release 1(11.1.1.2.0)
    Here is what I did:
    1. created a view criteria on a view object
    2. all are optional
    3. all are Strings
    3. Dragged the view criteria as a query component (ADF Query panel with Query table) on to the design layout
    and the error when I clicked the Search button is:
    javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
    at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1289)
    at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at sni.foundation.facesextensions.filters.FoundationFilter.doFilter(FoundationFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._clearFilterCriteriaRows(FacesCtrlSearchBinding.java:4549)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._addFilterCriteria(FacesCtrlSearchBinding.java:4603)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:423)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    Thanks
    Venkatesh

    Hi Frank.
    I'm using JDev 11.1.1.3.0 as you suggest the error is no longer present in the latest version.
    I can pick my query from the "Saved Search" pick list on the QueryPanel list of queries just fine, and it sets up the filter properly, but when I press the "Search" button, I get the same reported error...
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
         at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303)
         at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._clearFilterCriteriaRows(FacesCtrlSearchBinding.java:4588)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._addFilterCriteria(FacesCtrlSearchBinding.java:4642)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:424)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         ... 42 more

  • Date & Time in Query Panel.

    Dear All,
    I have created a named criteria for View Object and used it for creating query panel. The problem is that it contains Date field i.e From-Date and To-Date.
    Both are Bind Variables the search is executing properly but i want the search to happen on Date as well as Time(hr and min) by default it is creating Date Field in search panel to perform search with date only.
    So how can solve this problem.
    -Thanks.

    Go to the VO where you defined the view criteria and the bind variable, select and edit the bind variable (the pencil icon on the right), select the 'Control Hints' tab, in the drop down box of 'Format Type' select 'Simple Date' and for 'Format' type 'yyyY-MM-dd hh:mm:ss'.
    Recompile the model project and run the app again. In the query panel the date input should show the time as well now.
    Timo

  • Can you reorder items in the reading list?

    Simple question
    Can you reorder items that are saved in your Safari Reading list?  For example, move some items to the top or rearrange them so the ones on the same topic or from the same website are next to each other?  I would think this would be something simple to do but I cant seem to do it.  I just see how you can show the ones youve read (which usually just means youve clicked on them) but had no luck when trying to drag to rearrange them

    Yes you can with a little forethought. Select from the Reading List the page you want at the top. You will now see this as the usual Safari view. Use the normal procedure for adding a new page to the Reading List. The desired page will now be at the top. Try this for one item. You can then organise on paper the order you want remembering that the most recent action will appear at the top. Longwinded but it works.

Maybe you are looking for

  • Attachment count for item in SRM SC

    Hi I added attachment file to SRM SC PR document and stored in SAP content server. when i create RFX, observed that for an item file attach count is set '0', however 2 attachment file is available and displayed in Notes and Attachment tab. I think de

  • Wanted: A contact manager/address book with a sense of time

    There is one feature which I didn't find in any contact management application out there, and which keeps me using paper-based solutions: A way to see how old old any specific piece of information is. Use case: „This phone number of X I wrote down/sa

  • What do you use to manage daily\weekly\monthly tasks?

    I use Tasks (a clone of Astrid based on the source code) on Android which is synced to Google Tasks. Haven't really ever found anything that's a real replacement to Astrid since Yahoo killed it for no reason.

  • Completed Workflow Still in Inbox

    Hi, i am working on incoming invoice Ledger Workflow ,in this the workflow is showing the status 'Completed', but the user still has the workitem in the inbox. how can i remove the workitem from the user Inbox? Thanks in Advance . Abhi

  • Re: I need a vi to write an email, including password

    On Sat, 29 Nov 2003 12:11:46 -0600 (CST), Ed Dickens wrote on Re: I need a vi to write an email, including password: >Unfortuately, all of the VI's in this library are for receiving mail >only. SMTP, not POP3, is what you need to send email: http://w