Navigate to next page based on lov selection

hi i have a situation where i have to select department name as lov and click button to navigate to next page and display information of that selected department in he next jsff page am in jdeveloper 11.1.1.6.0 how can i do that

ok timo is working now ,but my problem is now am not able to display child records of a child records when i try to navigate for second time.and another thing if i don't refresh the page after i make selection in lov and try to navigate i get this error
the situation is
1.on page load i select organisationname in lov and navigate to next page,and able to display organisation details and child records details and child records details without a problem,
2.if i click back and navigate back to lov selection,i make another selection ,i must click refresh and able to navigate to next page,but this time it only display child records,but anything link to child records is not display this time
3.the link is like organisation->org_address->address .in the second navigating am not able to display address but am able to display org_address
java.lang.NullPointerException
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2
but if i refresh the page there is not problem
my log error is
javax.servlet.ServletException: java.lang.NullPointerException
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
     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)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
     at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
     at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     ... 38 more
Caused by: java.lang.NullPointerException
     at OrgDetails.showSelectedOrg(OrgDetails.java:1693)
     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 org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
     ... 45 more
when i locate the error is in this line  Row lFromList = (Row)list.getValueFromList(selid); but when i refresh the page am able to navigate to next pageEdited by: adf009 on 2013/02/13 10:36 AM
Edited by: adf009 on 2013/02/13 1:23 PM

Similar Messages

  • NPE error when navigating to next page based on lov selection

    hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
    {code}
    <DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
    <DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
    <DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
    <DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
    <DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: java.lang.NullPointerException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
        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)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
        at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        ... 38 more
    Caused by: java.lang.NullPointerException
        at showSelectedOrg(OrgDetails.java:2455)
        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 org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
        ... 45 more
    THIS IS THE LINE AM GETING THE ERROR
    method.getParamsMap().put("rowKey", newVal);
    <af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
                                  required="true"
                                  id="soc1" autoSubmit="true" valuePassThru="true"
                                  contentStyle="width:145px">
                <f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
              </af:selectOneChoice>
    <af:commandButton text="UpdateOrganisation"
                                id="cb1"
                                action="#{pageFlowScope.addMember.showSelectedOrg}"/>
    public String showSelectedOrg() {
    /* if(getorgids() == null ||getorgids().equals(null)){
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
    BindingContext lBindingContext = BindingContext.getCurrent();
    BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
    // get the list binding for the Organisation lov
    JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
    // get the selected index from the list which is stored in the Orgidd1 attribute
    AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
    Integer selid = (Integer)attr.getInputValue();
    // load the listdata
    Object row = list.getDisplayData();
    // get the selected row from the list
    Row lFromList = (Row)list.getValueFromList(selid);
    // from the row we get the PK the orgnasationId
    Object lAttribute = lFromList.getAttribute("Organisationid");
    Object orgname = lFromList.getAttribute("Organisationname");
    Number newVal = (Number)lAttribute;
    String neworg = (String)orgname;
    _logger.info("Information: selected Organisation = " + newVal);
    System.out.println("neworg " + newVal);
    System.out.println("testorg " + neworg);
    selectedState = neworg;
    // get the MethodAction for setCurrentRowWithKeyValue
    OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
    // set hte needed parameter as the organisation id
    method.getParamsMap().put("rowKey", newVal);
    method.execute();
    // after execution check for errors
    List errors = method.getErrors();
    Exception ex = (Exception)errors.get(0);
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
    FacesContext.getCurrentInstance().addMessage(null, msg);
    // keep on page in case of an error
    // navigate to the next page
    return "show";
    {code}
    am in jdeveloper 11.1.1.6.0

    adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
    Still the same error. The stack trace still points to it, you only need to read it carefulle
    javax.faces.el.EvaluationException: java.lang.NullPointerException
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    Caused by: java.lang.NullPointerException
        OrgDetails.showSelectedOrg(OrgDetails.java:2456)
    The origin is
    method.execute();
    and the real reason is
    MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
    What does it tell you?
    Timo

  • Navigate to next page based on inputtext input

    hi i have a situation where i have to enter value in inputtext and navigate to next page and display values in lov in next page based on the value entered in inputtext,and able to make selection in lov and navigate to next page and display value on lov selection for example i have inputtext where i have to enter department name and when i navigate i must have lov in next page which list employees belong to that department and make selection of one employee and navigate to next page and display that employee information in next page,am in jdeveloper 11.1.1.6.0 have anybody done that
    Edited by: adf009 on 2013/03/16 4:18 PM

    hi am not able to navigate based on the lov selection am geting this error ,this happen after i enter my departmentname and able to navigate to next page,but when i make selection in my lov next page to navigate to another page i get below error
    JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    Error     
    View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    i re-upload the sample http://www.datafilehost.com/download-023d31b6.html
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    neworg 105
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         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 org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         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.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)
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         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 org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         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.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)hi did you able to undestand my problem
    Edited by: adf009 on 2013/03/26 4:52 PM

  • Dynamic bar chart based on LOV selected

    Apex 2.1 with XE : running on windows xp.
    I am trying to create charts based on selected criteria such as level 1, level 2 and level 3. If the user selects level 1 chart is expected to group level 2 and level 3 parameters else if the user selects level 2 criteria on top of level 1 then it should filter to the next category and so on. To make it simple I created three different queries which would generate the required graphs.
    To achieve this I decided to use PL/SQL function that would return three different chart queries based on the LOV selection. Although the function works well for each of the queries they dont work with a if else condition based on LOV selection. So what is the problem with creating such as dynamic query. Can I use the "%" values of LOV in my if else condition if not why ?
    Any alternatives ?

    Well. The queries for the charts run independently well. I guess I might be using the if else condition in an improper fashion.
    If the second LOV filter is not used.. I am matching the :LOV2 value with "%" and execute appropriate chart query based on single selection criteria and for the else case I use the other query and so on.
    I wish to show the code but since I upgraded to 3.0.1 today my application page views don't render properly. The images are missing ..and whole page is missing for editing.

  • How to display value based on LOV selection

    Hi,
    I have an editable table. On create operation one of the field is LOV, based on LOV selection the next field should be auto populated, please help me how to achive this.
    Thanks,

    Thanks for your reply........
    I did all these to get value based on LOV selection, but my problem is when i am trying to create a new record then everthing is working fine but normal search i am not getting the value of that attribute.
    below is my code
    Page:
    <af:column sortProperty="ProcessType" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    id="c36" width="340px;">
    <af:inputComboboxListOfValues id="processTypeId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    value="#{row.bindings.ProcessType.inputValue}"
    model="#{row.bindings.ProcessType.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.ProcessType.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.ProcessType.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.ProcessType.tooltip}" inlineStyle="width:800px;"
    valueChangeListener="#{backingBeanScope.backing_app_CalcSchedules.weeklyDescription}"
    autoSubmit="true" >
    <!-- <f:validator binding="#{row.bindings.ProcessType.validator}"/>-->
    </af:inputComboboxListOfValues>
    </af:column>
    <!--value="#{row.bindings.Description.inputValue}" backingBeanScope.backing_app_CalcSchedules.description-->//If i use this value in the below property line then i am not getting value while creating time but if i done blind search then i am not getting any value in this field.
    <af:column sortProperty="Description" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.Description.label}"
    id="c35" width="390px;">
    <af:inputComboboxListOfValues id="descriptionId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.Description.label}"
    value="#{row.bindings.Description.inputValue}"
    model="#{row.bindings.Description.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.Description.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.Description.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.Description.tooltip}" inlineStyle="width:1000px;"
    readOnly="true" partialTriggers="processTypeId">
    <f:validator binding="#{row.bindings.Description.validator}"/>
    </af:inputComboboxListOfValues>
    </af:column>

  • Branch to different page based on the selection of select list

    Hi All,
    I have to create an application in which i have a form containing a field with static lov's ...
    now i want that whenever i click on a save button it branches to some page based on the selected value of lov of that field...
    like if i select marketing from lov and press save button then it will branch me to marketing page...
    so how can i achieve that in my apex application
    please help if anyone knows the answer

    in the page branch, change the page to *&PX_LOV_NAME.*
    change X to page number and the LOV_NAME to the name of your select list
    Don't forget to add the . on the end
    Hope this helps

  • Popup based on lov selection

    hi i have a situation where i what a popup based on  lov selection,for example i have lov which got list of user role when i change user role i what popup which will have inputtext where i can type the reason what the user role has change,am in jdeveloper 11.1.1.6.0
    my lov is
    i did this but i don't see any popup when i make selection in my lov
    <af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
                                    required="#{bindings.Roleaccesscode.hints.mandatory}"
                                    shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
                                    id="soc5" simple="true"
                                    contentStyle="width:140px;"
                                    partialTriggers="soc3"
                                    valueChangeListener="#{pageFlowScope.InternalUserBean.InternalTypeupd}"
                                    visible="true"
                                    value="#{pageFlowScope.InternalBean.selectType}"
                                    autoSubmit="true">
                  <af:forEach var="item"
                              items="#{pageFlowScope.InternalBean.childRolesupd}">
                    <af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
                    <af:showPopupBehavior popupId="popupMessage"
                                          triggerType="action"/>
                  </af:forEach>
                </af:selectOneChoice>
    <af:popup id="popupMessage" contentDelivery="lazyUncached">
                  <af:dialog id="d109" type="ok">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>

    ok thanks,but now am geting this error
    <af:panelGroupLayout id="pgl4">
                <af:popup id="popupMessage" contentDelivery="lazyUncached"
                          binding="#{pageFlowScope.InternalBean.radioPopupLov}">
                  <af:dialog id="d109">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>
                <af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
                                    required="#{bindings.Roleaccesscode.hints.mandatory}"
                                    shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
                                    id="soc5" simple="true"
                                    contentStyle="width:140px;"
                                    partialTriggers="soc3"
                                    valueChangeListener="#{pageFlowScope.InternalUserBean.activationChangedListenerLov}"
                                    visible="true"
                                    value="#{pageFlowScope.InternalBean.selectType}"
                                    autoSubmit="true">
                  <af:forEach var="item"
                              items="#{pageFlowScope.InternalBean.childRolesupd}">
                    <af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
                  </af:forEach>
                </af:selectOneChoice>
                <af:outputText value="Role Changed: #{pageFlowScope.InternalBean.selectType}" id="ot31"
                               partialTriggers="d109"/>
              </af:panelGroupLayout>
    <af:popup id="popupMessage" contentDelivery="lazyUncached"
                          binding="#{pageFlowScope.InternalBean.radioPopupLov}">
                  <af:dialog id="d109">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>
    private ComponentReference radioPopupLov;
    public void activationChangedListenerLov(ValueChangeEvent valueChangeEvent) {
    // process updates to get the selected value inside the popup
    FacesContext contxt = FacesContext.getCurrentInstance();
    valueChangeEvent.getComponent().processUpdates(contxt);
    //show the popup
    RichPopup.PopupHints hint = new  RichPopup.PopupHints();
    getRadioPopupLov().show(hint);
    public void setRadioPopupLov(RichPopup radioPopupLov) {
    this.radioPopupLov = ComponentReference.newUIComponentReference(radioPopupLov);
    public RichPopup  getRadioPopupLov() {
    if  (radioPopupLov != null)
    return (RichPopup)radioPopupLov.getComponent();
    return null;
    but am geting this error
    javax.servlet.ServletException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
        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.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
        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.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
        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)
    Caused by: java.lang.NullPointerException
        at view.InternalBean.activationChangedListenerLov(InternalBean.java:1918)
        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 org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:430)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        ... 48 more
    in this line  getRadioPopupLov().show(hint);

  • To get the value in a field based on lov selection of another field.......

    Hi all,
    I have a requirement where
    i need to select a LOV value
    and based on that value the field next to it should be generated......
    in brief suppose i have a field name EMPLOYEE NO as lov........
    as i select the employee number the field next to it assume EMPLOYEE NAME should be retrieved based on the employee number selected..
    hope i am clear
    waiting for ur responce.....
    DEV......

    Hi,
    Assuming you are having two fields on the page. One LOV for empID (ID: empIDV) and messageTextInput for emp Name (ID: empNameV)
    1) Create a VO for your LOV having a query like SELECT emp_num, emp_name FROM employees;
    2) Create region for LOV using table using wizard based on the VO created above (choose emp_num as messageStyledText and emp_name as formValue). Also make search allowed true for emp_num.
    3) Create a LOV map1:
    LOV region item: empId
    Return item: empIDV
    Criteria item: empIDV
    4) Create lovMap2:
    LOV region item: empName
    Return item: empNameV
    Also try to implement dependent LOVs : http://sushantsharmaa.blogspot.in/2012/12/10-dependent-lov-in-oaf.html
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Form Personalization - Make field required based on LOV selection

    Newbie here.
    I am trying to make a field required based on the selection of the LOV that is next to it. Having a heck of a time with it.
    The form i am working on is the Sub Invenntory form that you get to via Organization Items. We want the subinvnetory field to be manditory when subinv is selected from the LOV in the sources tab.
    here is what i have so far:
    CONDITION
    Trigger Event: WHEN-VALIDATE-RECORD
    Trigger Obj: ITEM_SUBINVENTORIES
    Condition: ${item.item_subinventories.SOURCE_TYPE.value} = 3
    Action
    Type: Property
    Object Type: Item
    Target Object: ITEM_SUBINVENTORIES.SOURCE_SUBINVENTORY
    Property Name: REQUIRED
    Value: TRUE
    The problem seems to be that i can't get the field to be required. It shows up yellow but still allows me to save w/ the field being blank.

    I do not know about the particular form that you are trying to personalize, but whenever I have created a condition, it has usually been in the following syntax:
    :BLOCK_NAME.FIELD_NAME = 'VALUE'
    For example, :MTL_SYSTEM_ITEMS.PRIMARY_UNIT_OF_MEASURE_MIR = 'SEAT'
    Yours seems to be very much different from mine, but then again, I am not technical so I cannot comment intelligently on that aspect.
    May be that is the problem.
    Also, once you get it to work, you might want to also add a condition where the field is turned to un-required when the SOURCE_TYPE is NOT 3.

  • Populate field on form based on LOV selection

    I have a form that I created on Portal 3.0.7. On the form is a LOV which has a list of employees. I want to populate another
    field on the form which is office and it is based on the employee LOV selection. I also want the field to be filled immediately,
    not after a button is pressed or any other user intervention. I have been able to do this with a dependent LOV, but it does not look
    appealing. Both of the fields are coming from the same table. It seems like this should be easy to do, but I am not
    having much luck. Can someone please tell me the best way to accomplish this.

    Hi,
    Yes, you can do it using Dynamic Actions.
    See this thread as well. APEX4: Populating fields from database based on the SelectList value
    In Radio Group you will need to identify the button clicked from its ID and / or value. Thats because the Radio Group Item creates as many IDs / Items as there are options P1_ITEM_0, P1_ITEM1_1, etc.
    Regards,

  • Setting column values based on LOV selection

    Hi All,
    I am using JDeveloper 11.1.2.2.0. I have a table eg: Department table, in Dept Id, I have defined LOV for that field. My requirement is, based on the LOV selection, I want to set the other column values. I am using InputTextwithLOV in list type. How to achieve this?
    I tried mentioning that in the List return values. But it is not setting the values.
    Regards,
    Infy

    Hi,
    if you use a model driven LOV then when configuring the LOV you can map additional attributes. When you build a model driven LOV you at least once tell it which LOV attribute should be used to update the DeptId field. You can do the same for additional attributes
    Frank

  • Display af:outputLabel based on lov selection

    hi i have a situation where i have lov which got two option GOVT,PRIV when the lov selection is GOVT,i what to display Responsible person(s)” in
    af:outputLabel and when lov selection is PRIV i what to display Ownership in af:outputLabel am in jdeveloper 11.1.1.6.0

    yes i figure it out
    <af:selectOneChoice value="#{bindings.Organisationtypecode.inputValue}"
                                            label="#{bindings.Organisationtypecode.label}"
                                            shortDesc="#{bindings.Organisationtypecode.hints.tooltip}"
                                            id="soc1" simple="true"
                                            autoSubmit="true" required="true"
                                            valueChangeListener="#{pageFlowScope.orgDetailsBean.valueChangedorgtype}"
                                            contentStyle="width:145px;">
                          <f:selectItems value="#{bindings.Organisationtypecode.items}"
                                         id="si1"/>
                        </af:selectOneChoice>
    <af:outputLabel value="Responsible person(s)" id="ol19"
                                        inlineStyle="color:Black; font-weight:bolder;"
                                        partialTriggers="soc1"
                                        visible="#{bindings.Organisationtypecode.inputValue eq '1'}"/>
    <af:outputLabel value="Ownership" id="ol20"
                                        inlineStyle="color:Black; font-weight:bold;"
                                        partialTriggers="soc1"
                                        visible="#{bindings.Organisationtypecode.inputValue eq '2'}"/>

  • Hide/Show Pages Based On Dropdown Selection

    Hello,
    This one is driving me crazy. In this form (attached) I have 3 checkboxes and based on what is checked, I want to hide the first page and navigate to the 1st checked box. It works for the Web Chat option, but all others do not. Also, on the next button from the Web Chat page, when I click next, I have an alert pop that should only show if Web Chat is the only selection chosen, but it shows no matter how many selections are made from the checkboxes.
    As always, any help is appreciated!

    Hello,
    That took care of the popup issue, but the navigation is still a problem. For some reason choosing any option from the checkboxes and any option from the Type of setup dropdown always brings me to either a blank page or the Web Chat page.
    Thanks for looking into this, hopefully you (or another member) can assist with this issue as well.

  • Dynamic query table for report based on LOV selected

    Hi,
    Need some suggestion and guidance how to dynamically query table via lov for report .
    Scenario:
    Table, TABLE_LIST, has tablename (table in DB) and filter (for where clause) column. The TABLENAME_LOVE is derived from table TABLE_LIST.
    SELECT TABLENAME D, TABLENAME R FROM TABLE_LIST
    In Page 2,a page select list item,P2_TABLENAME to use TABLENAME_LOV
    All data in tables in the table_list have identical structure (columns, triggers, primary key, and so on).
    I want to have the report region query from the table based on selected LOV.
    Example,
    Tablename Filter
    TB1
    CD2 ACTIVE='Y'
    When select TB1, the report regin will query based on TB1.
    When select CD2, the report regin will query based on CD2 WHERE ACTIVE='Y'
    Question:
    How can I query based on &P2_TABLENAME. WHERE &P2_FILTER.
    Like
    select col1, col2 from &P2_TABLENAME WHERE &P2FILTER
    Greatly appreciate any suggestion and some guidance.
    Tigerwapa

    Hi,
    You should always post your Apex version, DB version and other information as suggested in the FAQ.
    And the moment you talk report you should state whether it is IR or Classic.
    As for your query, have you explored the Report type "SQL Query (PL/SQL function body returning SQL query)" ?
    That might be a good fit for what you are trying to achieve.
    Regards,

  • Getting text to show as hyperlink to navigate to next page

    Im making a website ( first time in visual studios) and its an online library. I have a book info page which shows more information about the book. The problem is that when i search for books how can i make it possible for the book to have a hyperlink
    to navigate towards the book info page. What i am doing right now is using a drop down list and i have a value assigned to each book(1-n) and have the person choose the number of the book and then click enter which navigates to the books more info page. I
    just want to be able to click on the title and navigate straight to it. 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    namespace BookStoreOnline
    public partial class WebForm2 : System.Web.UI.Page
    private static string test;
    private static string testInfo;
    private static List<Book> resultList;
    private static List<Image> imageList;
    protected void Page_Load(object sender, EventArgs e)
    User.Text += (Session["UserName"]+"");
    protected void Button1_Click(object sender, EventArgs e)
    // if box is filled
    // check criteria selected
    // initiate search based on criteria
    // display results
    if (SearchBox.Text != "")
    resultList = new List<Book>();
    test = SearchCriteria.SelectedItem.Text;
    testInfo = SearchBox.Text;
    switch (test)
    case "ISBN":
    resultList = ((Database)Session["Database"]).SearchISBN(testInfo);
    break;
    case "Title":
    resultList = ((Database)Session["Database"]).SearchTitle(testInfo);
    break;
    case "Author":
    resultList = ((Database)Session["Database"]).SearchAuthor(testInfo);
    break;
    case "Semester":
    resultList = ((Database)Session["Database"]).SearchSemester(testInfo);
    break;
    case "Course":
    resultList = ((Database)Session["Database"]).SearchCourse(testInfo);
    break;
    case "Section":
    resultList = ((Database)Session["Database"]).SearchSection(testInfo);
    break;
    case "Professor":
    resultList = ((Database)Session["Database"]).SearchProfessor(testInfo);
    break;
    case "CRN":
    resultList = ((Database)Session["Database"]).SearchCRN(testInfo);
    break;
    if (resultList.Count == 0)
    NoResults.Text = "No results were found.";
    else
    Results.Text = "";
    for (int i = 0; i < resultList.Count; i++)
    int j = i + 1;
    ListItem bookIndex = new ListItem(j.ToString());
    Results.Text += "<pre>" + j + ". Title: " + resultList[i].Title + "<br>" + "Author: " + resultList[i].Author + "<br><br>" + "</pre>";
    MoreInfoIndex.Items.Add(bookIndex);
    //MoreInfoIndex.Items.Add(bookIndex); is what i am using to navigate to the book info page
    protected void MoreInfoButton_Click(object sender, EventArgs e)
    int k = Convert.ToInt32(MoreInfoIndex.SelectedItem.Text) - 1;
    Session.Add("Book", resultList[k]);
    //Session["Book"] = resultList[k];
    Response.Redirect("BookInfo.aspx");

    Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).

Maybe you are looking for

  • Audigy 2 zs stops working sudde

    Hi all,?It's probably been posted before, but I couldn't seem to find it... My Audigy 2?ZS platinum has a tendency to stop working every once in a while. Every few days, weeks, or sometimes hours, when I turn on my pc I get no sound. The card is stil

  • Where are my elements in Project panel ?

    I'm working on a (first) project since a few weeks, and suddently discover that most of the elements (shots, audio, still pics, bins) that were captured or imported in the project panel are no longer there... However, as long as I don't need them, ev

  • ./crsctl check status error...

    Hi, i have installed 10gR2 CRS(10.2.0.1).i am getting following error when issue the command root@rac1$./olsnodes -n rac1 1 rac2 2 root@rac1$./crsctl start crs Attempting to start CRS stack The CRS stack will be started shortly root@rac1$./crsctl che

  • Cant create subordinate under a supervisor

    hi all, I have a doubt regarding OM- and I can create an HR Manager position & assign a task to him. But I 'm unable to create a subordinate under the manager as a position & cant assign any task Please any one guide me on this. Let me know is there

  • Generated Report using two rows for headers

    I have generated an .rpt report to be emailed and turned into an excel spreadsheet. The problem I have encountered is the characters in the header were cutting off at about 8-9 characters. I have correct this but now all the characters in the header