Query Panel LOV Selecting first value

Hi all,
I created a LOV to use for one of my VOs. I created it as an Input Text with List of Values. I updated the AF Table using this view to use the new list of values and it works correctly. However in the query panel for the table when you try and select a value from the LOV it always chooses the first record in the LOV no matter which one you select. The query panel is implemented as a separate pop-up/dialog for the AF table.
I'm not sure why it is working fine on the actual table but not working correctly in the query panel.
Any help is appreciated.
Thanks
Jdev 11.1.2.2.0

Found the solution to this one.. I did not specified which were the key columns in the VOs that I created to reference in the LOV.
Once I specified the key column in the VO, the LOV returned the correct value in the Query Panel too.

Similar Messages

  • 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

  • Dashboard having same query with different selection screen values

    Hi,
    I want to create a dashboard by including different versions (different selection screen values, like yesterday, last week, last month) of same query. Is it possible to achieve it by without creating separate queries? We are in BI 7.
    Thanks in advance
    Nisha

    Hi,
    I want to create a dashboard by including different versions (different selection screen values, like yesterday, last week, last month) of same query. Is it possible to achieve it by without creating separate queries? We are in BI 7.
    Thanks in advance
    Nisha

  • How can I make the Dependant Dashboard Prompt to auto select first value

    Hi all,
    I have an City prompt and creating a presentation variable with another prompt which is limited with the City prompt. But I want the second prompt to select the very first value whenever the city prompt changes.
    How can I achive this to make a prompt to auto select the first value?
    OR, is there a way to create a presentation variable as a result of an SQL using the value of the prompt?
    Thank you so much.
    Ganim

    You can definitely have a prompt with SQL referring to the presentation variable as @{pv} where pv is the Presentation Variable. Also, you could assign a default value to the prompt in question.
    Please assign points if helpful/correct.

  • Query to pick only first value/day

    I have a table with Account, Complaint and Date columns. Each Account can log multiple complaints each day.
    Now i need a query to pick only the first complaint in a day from each account. If the same account logged in a complaint next day or any day after i want to show that as well.
    Help me with your ideas. Thanks in advance for your help.

    Maybe
    with
    first_complaints as
    (select account,
            date
       from (select account,
                    date,
                    row_number() over (partition by account order by date) rn
               from a_table
      where rn = 1
    select account,
           complaint,
           date
      from a_table t
    where account in (select account
                         from first_complaints
       and date >= (select date
                      from first_complaints
                     where account = t.account
    Regards
    Etbin
    Message was edited by: Etbin
    rereading: If the same account logged in a complaint next day or any day after i want to show that as well.
    The query above is just select * from a_table
    Now:
    if you want to show just the first complaints in a day for any following date, John answered that already (it's just the first_complaints of mine)
    if you want to show all the complaints in any following date, you have to exclude all the complaints logged the first day except the first one
    select account,
           complaint,
           date
      from (select account,
                   complaint,
                   date,
                   row_number() over (partition by account order by date) rn
              from a_table
           ) t
    where date != (select min(date)
                      from a_table
                     where account = t.account
       or rn = 1

  • In edit mode in gridview everytime ihave to select dropdownlist otherwise its store first value

    <asp:GridViewID="GVTrouserJobWork"runat="server"  
    AutoGenerateColumns="False"CssClass="Gridview"HeaderStyle-BackColor="#4B6D9D
    "DataKeyNames="TrouserJobID"
    OnRowCancelingEdit="GVTrouserJobWork_RowCancelingEdit"OnRowDeleting="GVTrouserJobWork_RowDeleting"
    OnRowEditing="GVTrouserJobWork_RowEditing"OnRowUpdating="GVTrouserJobWork_RowUpdating">
    <Columns>
    <asp:TemplateFieldHeaderText="StyleNo"
    <asp:LabelID="lblStyleNo"runat="server"Text='<%#Eval("StyleNo")
    %>'/>
    <asp:DropDownList Width="60px"  DataSource='<%# GetStyleNo() %>' DataTextField="StyleNo"
                                        DataValueField="StyleNo" ID="StyleNo"
    runat="server">
                                    </asp:DropDownList>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:LabelID="lblStyleNo1"runat="server"Text='<%#Eval("StyleNo")
    %>'/>
    </ItemTemplate>
    </asp:TemplateField>
    </Columns>
    </asp:GridView>
    public
    DataSetGetStyleNo() {
    SqlConnectionmyConnection =
    newSqlConnection(ConfigurationManager.ConnectionStrings["constring"].ToString());
    SqlCommandcmd =
    newSqlCommand();
                    cmd.Connection = con;
                    cmd.CommandText =
    "StleMasterList";
                    cmd.CommandType =
    CommandType.StoredProcedure;
    SqlDataAdapterad =
    newSqlDataAdapter("StleMasterList",
    myConnection);
    //SelectDDCompanyName
    DataSetds =
    newDataSet();
                    ad.Fill(ds,
    "StleMasterList");
    return
    ds;
    StleMasterList = Select StyleNo from Stylemaster
    protectedvoid
    GVTrouserJobWork_RowUpdating(objectsender,
    GridViewUpdateEventArgse)
    intTrouserOrderID =
    Convert.ToInt32(GVTrouserOrderDetail.DataKeys[e.RowIndex].Value.ToString());
    DropDownListStyleNo = (DropDownList)GVTrouserOrderDetail.Rows[e.RowIndex].FindControl("StyleNo");
    SqlCommandcmd =
    newSqlCommand("update
    TrouserOrders set StyleNo='"+
    StyleNo.SelectedValue.ToString() + "'where
    TrouserOrderID="+ TrouserOrderID, con);
     cmd.ExecuteNonQuery();
     con.Close();
    lblresult.ForeColor =Color.Green;
    lblresult.Text = " Details Updated successfully";
    GVTrouserOrderDetail.EditIndex = -1;
    BindTrouserOrderDetails();
    Actually I get dropdown in editmode but when without selecting dropdownlist if I update it it select first value of dropdown list.
    if have two dropdownlist in gridview and I want to update only one I cant do this every time I have to select both
    dropdownlist .

    Hello Fresherss,
    I think the ASP.NET forum will be more suitable for this thread:
    http://forums.asp.net/
    There are ASP.NET experts who will help you better.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • LOV depending on value of field in report

    I have a report on a query. In one of the fields I want to have a Radio Group, Based on query based LOV. The values in the LOV depends on the value in the field in the report. Is this possible, and how do I define the LOV for it?
    Would it be something like:
    select disp_val d, id r
    from my_table
    where field_x = [value_of_this_field_in_my_report]
    order by 1What do I fill in for [value_of_this_field_in_my_report]?

    Please refer to Metalink note 825603.1.

  • Values missing in Navigation block - Select filter value

    Hi Experts,
    I'm using navigation attribute in query. Query is built over multiprovider. Navigation attribute in query is ZCOMPAN01__ZSALES_RG. In multiprovider I use two cubes as sources and from first cube I assigned nav. attribute ZCOMPAN01__ZSALES_RG and from second cube I assigned SCUSTSAL1__ZSALES_RG.
    When I click in query on funnel to Select filter value I don't see all values which are displayed in query (I see only values from first cube). But when I write the value directly to filter, it is regulary selected. Also I can right click on value in query and set Select filter value, after that I see in filter block all values (from both cubes).
    I tried to change all possible Business Explorer setting of infoobject ZSALES_RG (eg. Only values in infoprovider/ only posted...etc.). I also tried to change setting of navigation attribute (right click on nav. attribute in multiprovider - Provider-Specific Properties), but without success. SID table of infoobject contains all values which I need.
    Do you have any hint how to see all used values in Select filter value?
    Thanks in advance
    David

    Hi Murali,
    Thank you for the response but we know how to set the value, the option is checked and the Select Filter Value still does not show on the context menu during execution. I think the issue is related to a default user exit variable that we use to pre-select a date but still want to be able to navigate and filter other characteristics during execution. There seems to be something to this combination that BW does not like.
    Thanks again,
    Rick

  • Failing to refresh LOV fields added in the query panel with table

    Hi.. Iam using Jdev 11.1.1.2.0
    I have a scenario like ..i need to add 2 cascaded lovs in search panel and clicking on search button, the result should be displayed in table form.
    For example..
    I have cascaded LOV fields departmentId and Firstname ,
    first name dropdown values depends on the selection of value in DepartmentIddropdown. I need to add only these 2 fields in search panel and clciking on search buton , the result should be displayed in emp table.
    I have achieved the same creating View criteria with 2 fields and dragging and dropping that as query panel with table. But my problem is First name lov is not populating based on department id. It is showing static dropdown list.
    Please help me how to achieve this ? thanks in advance.
    Regards
    Alekhya.

    Thanks for the reply.. actually if iam using those cascaded lovs in a form then we can set properties as u mentioned to refresh and display values correctly in the dropdown.
    My scenario is like i need to use those fields in query panel header
    code snippet
    <af:panelHeader text="Employees" id="ph1">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.EmployeesViewCriteria1Query1.queryDescriptor}"
    model="#{bindings.EmployeesViewCriteria1Query1.queryModel}"
    queryListener="#{bindings.EmployeesViewCriteria1Query1.processQuery}"
    queryOperationListener="#{bindings.EmployeesViewCriteria1Query1.processQueryOperation}"
    resultComponentId="::resId1"/>
    </af:panelHeader>
    Iam not having any field names to add properties.
    Regards
    Alekhya

  • 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>

  • Enabling disabling LOV in adf :query panel

    I have a requirement where i have 3 drop downs which are dependent LOV's .These drop downs are binded as bind variable parameters for search through view criteria.
    The first drop down needs to be enabled by default and rest will be enabled only when i select the first one, with values populating from the dependent LOV queries.
    I am using adf:query panel to do the search.
    Can someone please suggest me a way to fullfill this requirement.

    Hi all
    Even i have the same requirement.
    I have a view criteria with 3 attributes based on which am performing the search.
    These attributes are actually LOV's and are dependent.
    I have dropped the view critieria as a af:query panel componenet on my page.
    The dependent LOV's are refreshing properly on the UI also.
    However My requirement is that the dependent LOV's shud be disbaled until i select the parent LOV.
    Is there a way to achive this functionality?

  • Af:query LOV selection is not retained.

    I have created a programmatic View object and created a view criteria based on three attributes.
    In af:query panel these attributes are displayed as LOVs.  When I click the LOV search icon,
    a Search and Select popup window opens.  When I select one of the rows by double clicking on it the popup
    is closed and instead of the selected value, first value in the table is selected always.
    Also, popup window occupies the entire width of the browser and the table, inside the popup, displaying the LOV attribute value list is rendered with
    horizontal scroll bar because of which the table has to be scrolled all the way till the end and then only OK button is displayed.
    Is there a way to control LOV popup window dimensions?
    Version: JDEV 11g Release 1

    Check that you defined "Key Attributes" in you VO and also in LOV VO.
    To control the width of the input parameters, in VO definition, click on the bind variable and in UI hints tab set the "display width"

  • 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>

  • How to use input box LOV in query panel (search region)

    Hi,
    We are having JDeveloper version 11.1.2.4.0
    In one of the JSF page, we are showing some data (absences).
    Requirement is to add search region at the top so that user can filter the data, based on search parameters like Business Group, Job etc.
    The search parameters are inter-dependent e.g. Job is dependent on Business Group. So when user selects some particular Business Group, Job search field should show jobs for that Business Group only.
    This works fine we use Choice List for both Business Group and Job.
    However since there are huge number of jobs, Job choice list makes page rendering very slow.
    So we tried to use Input box with LOV for Job.
    But now when job is selected in the LOV popup and returned to main page, job search field shows job id instead of job name.
    Please note that our base VO (AbsencesVO) contains JobId attribute. We have added List of Values on JobId, which fetches Job Name through JobVO1 view accessor.
    How to make Job LOV field show selected Job Name instead of ID? Kindly advise.
    Thanks,
    Vivek

    Thanks Timo/Bangaram, for prompt replies
    Timo, the link mentioned by you talks about showing IDs (DepartmentId, ManagerId etc.) in the search region. I need to show names in the form of Input box LOV.
    Bangaram, as per your suggestion I tried using transient JobName attribute. However now when I select any value in the Job LOV popup and return to main page, it shows first Job Name in the Job Name search field.
    Also when I click 'Search' button in Search panel, it shows error - Attempt to set a parameter name that does not occur in the SQL: BindJobName
    Please note that I have added both JobName and JobId in the List configuration as you suggested.
    In View criteria, I have removed previous item (condition) on JobId and added condition on JobName.(This is required because JobId condition shows JobId search field)
    I also tried making JobName dependent on JobId..still same behaviour.
    Kindly advise.
    Thanks,
    Vivek

  • 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.

Maybe you are looking for

  • Crystal report merge module

    Hi Members, We have an application developed in Visual Basic6, MSAccess(Datastorage) and Crystal Reports11 (for reporting), and working fine since years. Now, we have developed the same application using Labview 7.1. We are using Crystal Reports Ver.

  • Create PDF while close the INDD

    Hi, Can you please some one suggest, how to create the pdf(export pdf) file while closing the indd file automatically. Also, please let me know any support file will create while the indd document opening and closing. Thanks in Advance Satish

  • How to disable wake on Lan on 865PE LS

    Both led on the lan is on all the time, even when computer is turned off, i disabled wake on PME setting in the bios, and i also disabled all the wake on setting in the network card properties in XP, but led's are still on all the time, is there a an

  • Trying to get used to the Mac

    Hey, I just got my Mac Pro in the mail today and am making the switch from a PC. I guess I have kind of a newbie question to ask. I downloaded Firefox for the mac and it downloaded as a .dmg file and when I open it the program does not really install

  • Ipad retina replaced unresponsive touchscreen

    I changed a retina ipad recently (broken screen), a few weeks ago. I am finding the touch screen stops responding.  Hard buttons work ok, rotate screen works, home button works, but touch screen does nothing. This is for a length of time (5 minutes +