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>

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

  • How to define a BW/BI system in Portal using BI SAP Query Connector.

    Hi,
      How to define a BW/BI system in Portal using BI SAP Query Connector.
    Portal>System Administration>System Configuration-->Portal Content >New System (from PAR)>com.sap.portal.systems.bi-->
    How to retrive the parameters required from a BI 7.0 System.
    Thanks

    Hi,
    You can refer to this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/c9/b0c8ce704d40fbb18312f8e65b4b0b/content.htm
    Hope it will be helpful.
    Best Regards,
    Assaf Klieger

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

  • 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

  • Use Of LOV In Query Panel

    Hi All,
    I would like to have LOV in query panel one which is created using view critiria.
    Kindly let me know the best way to implement this one...............
    Regards
    Anandkumar S.M.

    Check this:
    http://blogs.oracle.com/shay/2009/12/adf_query_with_parameters_and_1.html
    Thanks,
    Navaneeth

  • LOV in the Query Panel is not Working

    Hi Everyone,
    I dont see the LOV working in the Query Panel but it works in the table region, I am able to open the LOV and search some value and when i say ok it wont return any value... Do anyone have idea on that?
    Thanks

    Can anyone help me on this? Am really confused....
    Thanks..

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

  • LOV in Query Panel not refreshing

    Following is the requirement ---
    There is a search page which binds to a particular person say XYZ.
    Author LOV is there in the query panel which contains a list of person names who have written a note for XYZ.
    Now, the LOV field should refresh when we create or delete a note.
    Implementation -- I have a VVO which has person id, authorid and authorName and its been ensured that personId and authorId are unique.
    I am using this VVO as a view accessor and then fetching in the list of authors for a particular person in the query panel.
    But, I am unable to refresh this drop down after creation and deletion of a note.
    Steps taken to achieve this :
    Row Level Bind Values for the view accessors have been made true.
    Refreshing the VO iterator,view criteria used in the query panel and the query panel after creation and deletion of a note.
    Any suggestions to resolve the issue would be of a great help.
    Thanks,
    Projjal

    Do you see the same behaviour in the AM Tester , if yes then just setting the right ppr's of the delete button on the LOV should help.
    Else try to re-execute the ViewAccessor programmatically.

  • Show lov in query panel for an attribute using = = or between operators

    When we use between, greater than, less than, greater than or equal to , less than or equal to in the view criteria
    On an attribute which has lov
    in query panel of UI the lov does not show up for that particular attribute
    How to show lov for an attribute in query panel when i am using the above operators

    Does the LOV show up in basic query state?
    http://blogs.oracle.com/shay/2011/01/dependent_lovs_in_an_afquery_c.html

  • LOV defined in the @prompt not displaying harded valuesafter refresh

    We upgraded from XI 3.1 fp 1.8 to XI3.2fp2.5 and our Webi reports that contain harded LOVs using the @prompt variable are not refreshing. Has anyone come across this?

    Hi Ingo,
    I have a customer trying to do the same thing,but I'm not sure I understand the instructions.  In this example using country as the filter with the following definitions
    L01 Country                      [Z_COUNTRY].[LEVEL01]
    L01 Country Key               [Z_COUNRTRY].[LEVEL01.[[1Z_COUNTRY]].[Value]
    L01 Country Long Name    [Z_COUNRTRY].[LEVEL01.[[4Z_COUNTRY]].[Value]
    L01Country Medium name  [Z_COUNRTRY].[LEVEL01.[[5Z_COUNTRY]].[Value]
    L01 Country Name              [Z_COUNRTRY].[LEVEL01.[[2Z_COUNTRY]].[Value]
    If I wanted to use Country as a promt in a Web Intelligence filter and display
    Argentina     1
    Aruba          2
    Zimbabwe   71
    in the LOV
    Which objects would I copy ?

  • 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

  • How to link bindvariable with ViewAccessor to make it ADF Input with LOV

    I have create a view object by sql query in which i have two bind variables. I want to create a search form by these two bind variables as search criteria so i drag "Execute with Params" operation from Viewobject Data Control to a jspx page as a ADF Search Form. Now i want to create these two parameters as a ADF Input LOV so i changed control type in view Object for these two bind variables but i am not able to fine how to attach viewaccessor with it for data source. Kindly help me.

    Hi,
    in this case - if th ebind variables are not based on an attribute that has a LOV defined - you replace the components in the input form. To do this, remove the input text field and drag the attribute (the argument) onto the form again. Choose select one choice to create a drop down and then map it to the VO that providesthe values. Note that this doesn't create a LOV binding so you use lists for this.
    Frank

  • How to make use of a static or dynamic LOV in Desktop Instelligence reports

    I want to use static LOV as well as dynamic LOV as a prompt for one of my report.
    I have created a dynamic LOV but I dont know how to include it as a prompt to my reports. Please teach me the same.
    For example I have two classes called COMPANY and EMPLOYEE in my universe. Each entry in the company class will have n number of employees in the employee class. My requirement is when I run the report it should prompt the user to select the company name which is a object in the COMPANY class. Based on the users's input the report should pull the employee data.
    For this I have to create a COMPANY name LOV and this should be used in the 'Conditions' section of the Desktop Intellegence.
    Please guide me for the same.

    Hi,
    LEt me know where u need the prompt object to be created in UNV or in report level.
    In Unv:
    Select Company name object-> double click it and in Select clause define as below
    @variable('1. Enter Company Name'')
    In Report level: Go to Query panel select Company class object in where clause and select required operator as LIKE OR IN LIST OR NOT IN LIST OR DIFFERENT FROM and select prompt and give some prompt message.
    Cheers,
    Suresh Aluri.

Maybe you are looking for