How to create inputtext cascanding LOV

hi how can one refresh cascanding lov my use case is i have <af:selectOneChoice which list the name of provience and i have <af:inputText which list city using <af:autoSuggestBehavior base on the provience i selected and i have subub in <af:inputText listing surbub using <af:autoSuggestBehavior it list based on the city i have select ,at the moment when i select provience and go to city it list only one value in the list but if i type 2 letters of exisisting cityit list, even if there is more than one values in database,the subub also list the same values ,and another thing is if i change the selection of provience and go and select another province and what to select another city and anothe subub it list the previous city name and previous suburb name it does not change according to new provience selection.the first city i choose when the page load its the only one displaying all the time,even if i restart the application,my problem is my <af:inputText does not list more than one values it always list one value if is city it only list one city if its subub it only list one subub,how can i refresh two inputtext so it can display values according to currently provience selected lov and display all values not only the first one selected .am in jdeveloper 11.1.1.6.0
Here's the scenario
1. i have 3 views witch are ProvienceVO,CityVo,SububVo they where created from theire entity
2. ProvienceVO it list the provience name
3. CityVo it list cityname and citycode,it got view criteria which got cityname and provience they all use operator start with,i did not use parameter in the query,i only use parameter in my view criteria
4. i got sububVO it list subub name it releate to cityvo using citycode,i also have view criteria which pass parameter subub and use operator startwith
5.in my application module i got two method which list the two views cityvo,subub based on the provience selected
6 in my bean class i got a method which listen which city,subub is selected it also pass the currently selected provience to city
7. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
for example where it does not work
1 select provience in the list,but when i go to my inputtext it does not list values according to first lov selection.
2 select provience in the first list, but when i what to make selection in second lov i only get one values even if there is more values from database,this happen in city lov
3. select provience in the first list,select city,but when i come to select subub inputtext it only list one values it does not change even if i try to search other surbub it always return same surbubname value
4.if i type n in the inputtext it does not list available name Which start with n e.g for new york it only find new york if i type new than it will display new york ,after i type atleast 3 letters
Here's the code snippet of jspx:
<td width="53%" height="26">
                      <af:selectOneChoice
                                          label="#{bindings.ProvinceViewVO1.label}"
                                          required="#{bindings.ProvinceViewVO1.hints.mandatory}"
                                          shortDesc="#{bindings.ProvinceViewVO1.hints.tooltip}"
                                          id="soc4" simple="true"
                                          value="#{pageFlowScope.orgDetailsBean.addressBean.province}"
                                          autoSubmit="true">
                                        <af:forEach items="#{bindings.ProvinceViewVO1.iteratorBinding.allRowsInRange}"
                                  var="row">
                        <af:selectItem id="tipltco2" label="#{row.provincename}"
                                       value="#{row.provincecode}"/>
                      </af:forEach>
                      </af:selectOneChoice>
                    </td>
                  </tr><tr>
                    <td width="47%" height="19">
                      <af:outputLabel value="City" id="ol11"
                                      showRequired="true"/>
                    </td>
                    <td width="53%" height="19">
                        <af:inputText label="#{bindings.Cityname.hints.label}" columns="20"
                                        maximumLength="#{bindings.Cityname.hints.precision}"
                                        shortDesc="#{bindings.Cityname.hints.tooltip}"
                                        id="itc4" simple="true"
                                      value="#{pageFlowScope.orgDetailsBean.addressBean.city}"
                                      partialTriggers="soc4"
                                      valueChangeListener="#{pageFlowScope.addressbean.subValue}"
                                      autoSubmit="true">
                            <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.addressbean.getSuggestedCities}"/>
                      </af:inputText>
                    </td>
                  </tr><tr>
                    <td width="47%">
                      <af:outputLabel value="Suburb" id="ol14"
                                      showRequired="true"/>
                    </td>
                    <td width="53%">
                       <af:inputText label="#{bindings.Suburb.hints.label}" columns="20"
                                        maximumLength="#{bindings.Suburb.hints.precision}"
                                        shortDesc="#{bindings.Suburb.hints.tooltip}"
                                        id="itcs4" simple="true"
                                     value="#{pageFlowScope.orgDetailsBean.addressBean.suburb}"
                                     valueChangeListener="#{pageFlowScope.addressbean.sububValue}"
                                     partialTriggers="itc4" autoSubmit="true">
                            <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.addressbean.getSuggestedsbub}"/>
                          </af:inputText>
                    </td>I hope I have explained this well. If it's not clear please let me know.
Has anyone come across this scenario or know how to resolve this
Edited by: adf0994 on 2013/01/17 2:56 PM
Edited by: adf0994 on 2013/01/17 3:12 PM
Edited by: adf0994 on 2013/01/17 3:20 PM
Edited by: adf0994 on 2013/01/17 3:38 PM
Edited by: adf0994 on 2013/01/17 3:48 PM

ok now i can list my provience but when i select the value it return provicecode not provience name it does list provicename but but when i select it show provincecode in inputtext .but when i select city list am geting this error
Caused by: java.lang.NullPointerException
     atoncitySuggest(AddressBean.java:363)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
which is on line
for (JUCtrlValueBindingRef displayData : displayDataList){
and i also see this in my log error
DCBindingContainer> <cacheException> [2708] * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
<DCBindingContainer> <cacheException> [2709] groovy.lang.MissingMethodException: No signature of method: AppModuleImpl.getCurrentProvienceId() is applicable for argument types: () values: []
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
     at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
     at bc4j.provience.gs.run(bc4j.provience.gs.groovy:1)
     at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1380)
     at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1448)
     at oracle.jbo.ExprEval.evaluate(ExprEval.java:1191)
     at oracle.jbo.ExprEval.evaluate(ExprEval.java:1168)
     at oracle.jbo.common.VariableImpl.evaluateTransientExpression(VariableImpl.java:1687)
     at oracle.jbo.common.VariableValueManagerImpl.accessValue(VariableValueManagerImpl.java:152)
     at oracle.jbo.common.VariableManagerImpl.getValueRaw(VariableManagerImpl.java:508)
     at oracle.jbo.common.VariableValueManagerImpl.getVariableValueRaw(VariableValueManagerImpl.java:254)
     at oracle.jbo.server.ViewRowSetImpl.getWhereClauseParamsFromVars(ViewRowSetImpl.java:4699)
     at oracle.jbo.server.ViewRowSetImpl.getParameters(ViewRowSetImpl.java:6375)
     at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:629)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1111)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1060)
     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2810)
     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2787)
     at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRangeInternal(ViewRowSetIteratorImpl.java:2173)
     at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRange(ViewRowSetIteratorImpl.java:2220)
     at oracle.jbo.server.ViewRowSetImpl.getAllRowsInRange(ViewRowSetImpl.java:3062)
     at oracle.jbo.server.ViewObjectImpl.getAllRowsInRange(ViewObjectImpl.java:11202)
     at oracle.adf.model.binding.DCIteratorBinding.getAllRowsInRange(DCIteratorBinding.java:2345)
     at oracle.adf.model.binding.DCControlBinding.getAllRowsInRange(DCControlBinding.java:446)
     at oracle.jbo.uicli.binding.JUCtrlRangeBinding.getRangeSet(JUCtrlRangeBinding.java:300)
     at uam.cadastre.gov.za.AddressBean.oncitySuggest(AddressBean.java:361)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sun.el.parser.AstValue.invoke(Unknown Source)
     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
     at oracle.adfinternal.view.faces.el.InternalELObject.autoSuggest(InternalELObject.java:173)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sun.el.parser.AstValue.invoke(Unknown Source)
     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
     at oracle.adf.view.rich.event.ClientListenerSet.invokeCustomEventListeners(ClientListenerSet.java:176)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$DeliverClientEvent.invokeContextCallback(LifecycleImpl.java:1621)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:194)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:147)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
     at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
     at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:582)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:456)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
but i have added <Method
      Name="getCurrentcitycode">
      <Return
        Type="java.lang.String"/>
    </Method> in my client interface
<Method
      Name="getCurrentProvienceCode">
      <Return
        Type="java.lang.String"/>
    </Method>
and this is my added view in AM
<ViewUsage
    Name="CityViewLOV1"
    ViewObjectName="model.lov.views.CityViewLOV">
    <ViewCriteriaUsage
      Name="CityViewLOVCriteria"
      FullName="lov.views.CityViewLOV.CityViewLOVCriteria"/>
    <ParameterMap>
      <PIMap Variable="provience">
        <TransientExpression><![CDATA[adf.object.applicationModule.getCurrentProvienceId()]]></TransientExpression>
      </PIMap>
    </ParameterMap>
  </ViewUsage>Edited by: adf009 on 2013/01/21 2:20 PM
Edited by: adf009 on 2013/01/21 2:21 PM

Similar Messages

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All,
    Thanks in advance ..
    I am new to APEX , Currently working in APEX 3.2
    Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX
    So that I can create dynamic Multi column LOV in APEX
    Cheers
    Sachin

    Sachin,
    I think you are en-quiring about 'Custom pop-up page'. See this link. You will get all required info there.
    Regards,
    Hari

  • How to create Form with LOV in JDeveloer9i?

    Forms Builder 9i use Data Block Wizard and Layout Wizard to define a form and LOV Wizard to define List of Values from master table.
    How can I define LOV for foreign key of a Base Table using JDeveloper9i?

    Check out the JClient demos at:
    http://otn.oracle.com/products/jdev/viewlets/viewlet.html
    There is one for JClient LOVs which may be useful.
    regards
    Grant Ronald
    JDeveloper Product Management

  • LOV How to create a static list

    Hi, I need to create a static LOV in Compensation Workbench in the Employee Allocations table. The static LOV will contain only 4 values.
    Can someone help me by providing detailed instructions on how to create the static LOV.
    Thanks.

    What is the data source for the 4 static values you are looking to use in LOV?
    If you are looking to add this LOV on a seeded page, then I will suggest to go through personalization and customization section of OAF dev guide. Searching through the threads will also give you enough idea to proceed.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Detailed Steps to create a new LOV in AK Regions

    Hi,
    Can any one give the information on how to create a new LOV using AK Developer responsibility?
    Thanks

    Hi,
    Can any one give the information on how to create a new LOV using AK Developer responsibility?
    Thanks

  • How to create a LOV based on a stored procedure returning a cursor

    Hello,
    I've tried to search the forum, but did not find much. We are facing a problem of large LOVs and creating large TMP files on the app server. Our whole application is drived by store procedures. LOVs are built manually by fetching data from cursors returned from stored procedures. That creates the issue when whole LOV needs to be stored in the memory and thus the TMP files.
    Is there anyway how to create LOV based on a procedure returning cursor ?
    Thank you,
    Radovan

    Hello,
    As of now we populate the record group by looping through the ref cursor and adding rows into it. Is there a better way? That forces the whole record group to be stored in a memory on the app server.
    Thank you,
    Radovan

  • How to create dynamic LOV in a page

    Hi,
    I am trying to create a cascading selection feature in a page.
    That is:
    Suppose I have a data in Oct. Nov. DEC. in 1998, May, June, July, August in 1999, and Sep. Oct, Nov. in 2000, Jan., Feb., Mar., in 2001.
    If I choose 2000 in the first selection box then in the second selection box(month box) will show only Sep., Oct., Nov.,. I could create this feature with select and redirect with selection box.
    However I want to create one with Multi_selection box.
    Does anyone knows how to create one with multi selection box or check box?
    Thanks,
    Message was edited by:
    user459223

    Hi
    Sorry Could not understand ur problem exactly.
    Anyhow a solution for ur problem is to use a select list with submit option for the first select list.
    for second select list in the LOV part write the query with the where clause:
    where a = :b(where b is the first select list)
    try it
    regards
    ameya

  • How to create an LOV based on a dynamic query

    Hi,
    Can someone tell me how to query a dynamic query for LOV. On my base page I have a dropdown-box (that will show the table names for searching) and is dynamically populated based on users access e.g. if user A logs in he may see 5 values (these values are basically table names) in a drop down if user B logs in he may see 10 values. I also have two input fields one field a user can enter value and the other field is read only and a torch icon for LOV so the user can search and select values that are populated in the input fields on the base page.
    How can I have my LOV that takes in a value selected in the dropdown and anyvalue entered in one of the input fields and search in the table selected in the dropdown box.
    Basically my LOV should do a search on the table and some search value passed when clicking on the torch icon. So a user can select any table-name in the drop down and my LOV should do a search only on the selected table. Once on the LOV Popup want to have a search field there but it only searched on the table selected in the dropdown on the based page. And the selected value on the LOV Popup page gets populated in fields on the base page.
    Any help is appreciated.
    Thanks

    Hi,
    I have created 4 SQL Based VO's with the following sqls
    SELECT header_id AS ID, to_char(order_number) AS NAME
      FROM oe_order_headers_all
    SELECT party_id AS ID, party_name AS NAME
      FROM hz_parties
    SELECT quote_header_id AS ID,
           (quote_number || CHR (45) || quote_version) AS NAME
      FROM aso_quote_headers
    SELECT sales_lead_id AS ID, to_char(lead_number) AS NAME
      FROM as_sales_leadsI created on LOVRegin and have the following 2 messagestyle items now what do I set in the ViewInstance and View Attribute fields
    srcid
    srcname
    Can you provide some sample code to set ViewUsage and whereclause that I need to put in the controller of LOVRegion.
    Thanks

  • Can anyone explain how to create lov programatically?

    Hi to all,
    Can anyone explain to me how to create lov programatically?.
    Actually i created a region and items usig code and i want to know how to create lov and mapping also.
    Suppose anyone knows plz let me know. its urgent one.
    Thanks in Advance.
    by
    senthur

    Hi,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean); OAMessageLovInputBean lovInput =
    (OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,"inputTest");
    webBean.addIndexedChild(lovInput);
    // Specify the path to the base page.
    lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
    // Specify the application id of the base page.
    lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
    // Specify the LOV region definition.
    lovInput.setLovRegion("/oracle/apps/fnd/framework/toolbox/tutorial/webui/EmployeesLovRN", 0);
    // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
    lovInput.setUnvalidated(false);
    // Configure the LOV mappings.
    // Note that you must call this method after you add the messageLovInput item
    // to the web bean hierarchy.
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO);
    Read more in Dev Guide. Chapter List of Values & Search forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to create dependent LOV in Advanced Table.

    Hi,
    How to create dependent LOV in Advanced Table. Pls help send me the steps.
    Thanks in Advance,
    Hanimi....

    Hi,
    Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
    http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
    and for Dependent Poplist refer the below link:
    http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
    Regards,
    Sudhakar Mani
    http://oraclearea51.com/sudhakarmani

  • How to create LOV not based on a View Object attribute?

    Hi,
    I am creating a handed-made search form and I want to create an af:inputListOfValues.
    I have :
    - a read-only-view-object to get the LOV values from BD.
    - af:inputListOfValues tag (droped from Component Palette).
    How can I create the listOfValuesModel in Bindings layer? (the inputListOfValues is not based on a View Object attribute).

    Sorry, I think I am not very clear in my posts.
    My requirement is to create a LOV but I have no ViewObject. I just want an input (not based on a view object attribute), alone, but with a LOV (where lov's datas are get from a view object).
    In a "normal" LOV I would have something like this :
    in jsff :
    <af:inputListOfValues id="departmentIdId"
                                popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
                                value="#{bindings.DepartmentId.inputValue}"
                                label="#{bindings.DepartmentId.hints.label}"
                                model="#{bindings.DepartmentId.listOfValuesModel}"
                                required="#{bindings.DepartmentId.hints.mandatory}"
                                columns="#{bindings.DepartmentId.hints.displayWidth}"
                                shortDesc="#{bindings.DepartmentId.hints.tooltip}">
            <f:validator binding="#{bindings.DepartmentId.validator}"/>
            <af:convertNumber groupingUsed="false"
                              pattern="#{bindings.DepartmentId.format}"/>
          </af:inputListOfValues>in pageDef :
    <listOfValues StaticList="false" IterBinding="EmployeesView1Iterator"
                      Uses="LOV_DepartmentId" id="DepartmentId"/>in model layer : a view object (EmployeeView) with view accessor and LOV based attribute, and a read only view object (DepartmentRVO) to get datas for the LOV.
    But in my case I have no ViewObject, so I don't know how to create the listOfValuesModel in fragment pageDef.
    I have :
    <af:inputListOfValues label="Label 1"
                                    popupTitle="Search and Result Dialog"
                                    id="ilov1" model="here I want to point to a listOfValuesModel but I don't know how to create it"/>in pageDef : the listOfValuesModel but I don't know how to create it.
    in model layer : just a read only view object (like DepartmentRVO), to get the datas for the LOV.
    Edited by: h0s on 29 févr. 2012 00:31

  • OAF:How to create a lov

    Hi friends ,help me to learn OAF
    Iam new to oaf i hav started leatning one by one in OAF
    I hav created a QueryPG with 3 field (PersonId,FirstName,PhoneNO)...and i can able to query the data from the DB
    And i hav created a CreatePG with fields (PersonId,FirstName,PhoneNO,LastName,Email,Address) and i can able to insert a new row into my DB
    Now i want to create LOV in this .jpr for the PhoneNo field..... FOR that wat i hav to do ?
    Do i want to create a new Package for the LOV?
    And one doubt were cani see my classfile ? and to ftp the class file to the server ?And how to bounse the apache?
    Adv thanks
    thiliban
    Edited by: user13307444 on Aug 30, 2010 1:47 AM

    Do i want to create a new Package for the LOV?Yes create BC4J component structure like xx.oracle.apps.xx.xx.lov.server and xx.oracle.apps.xx.xx.lov.webui.
    For creating a LOV.
    1. Create a item of Type MessageLovInputBean.
    2. Create a LOV VO
    3. Create a table Region inside it
    4. Create LOV Mapping
    Follow exercise : Search in below link to see how to create LOV.
    JDEV_INSTALL_DIR/jdevdoc/WebHelp/fwkdevguide.htm
    So many question in single thread :)
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to create Dependent lov  in OAF Page

    Hi,
    How to create Dependent lov in OAF Page. pls can any body help.
    Regards,
    Hanimi.

    Hi,
    Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
    http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
    and for Dependent Poplist refer the below link:
    http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
    Regards,
    Sudhakar Mani
    http://oraclearea51.com/sudhakarmani

  • How to create dynamic LOV

    Hi All.
    I have requirement like
    In advance table I have a pick list (Type) which contains 3 values.
    1) Item
    2) category
    3) All
    If I select Type as "Item" My Item LOV should display Items and Description else If I select "Category" It should display Category and description else If I select All It should Display All.
    How can i Implement this.
    Please any one suggest.
    Thanks,

    Hi,
    Create three different LOVs as per the requirement. By default renderend property of all the LOVS will be false. Now depending on the value selected in the poplist you make the redered the true for the appropriate LOV.
    HTH,
    Syed.

  • How to create dependent LOVs

    Hi all,
    Does anyone know how I can create a LOV with values dependent on the LOV value selected from the one above when defining a custom item?
    For example, I have defined a custom item which has 2 attributes with 2 LOVs:
    attribute1 - LOV1
    attribute2 - LOV2
    I would like to populate LOV2 depending on what value the user selects in LOV1, is this possible?
    Please advise.
    Thanks.

    Hi,
    You can create dependant lovs and use them only in the forms component. Here is how you create dependant lovs
    lov1
    select empno,ename
    where deptno = :dept
    Creating a LOV with a bind variable makes it a dependant lov. In forms you should map the bind variable to one of the form columns.
    Thanks,
    Sharmila

Maybe you are looking for

  • HELP!!!! Trying to transfer my HOME videos to my Mac!

    These videos are movies that I had downloaded on my iPod. These videos are NOT in my photo gallery. They are in my videos -> Home Videos. How can I transfer these videos to my Macbook?

  • How does the print gamut compare with mobile devices?

    I need to design a document for 4 color process printing, using only colors that will reproduce correctly on other platforms, such as computer monitors, smart phones, and tablets. I know how the print gamut compares with the RGB gamut of monitors. Bu

  • File name question

    I want to add the copyright symbol to the filenema. How do I do that?

  • OHS installation on Xen servers.

    Has any one tried this. I am installaing OHS 10.1.3 on Xen server and its hanging at the last stage. Any idea and solutions are helpful. Thanks, Starting install Install Phase 2 of component Oracle Client Required Support Files Patch Starting install

  • IPod 2G 16GB broken, browsed and haven't found this scenario

    Here's the details of what's going on with my iPod if anyone can help: Yesterday at 3:00 pm: Downloaded free version of Solitaire onto my iPod. Played game of Solitaire. Turned off iPod. 6:00 pm: Turned on iPod, white screen. Turned off iPod. Turned