1 Reply Latest reply: Jan 10, 2013 3:35 AM by Steven Davelaar-Oracle RSS

    Jheadstart LOV Value

    887103
      Hello,

      Case:
      I have a group which contains 2 items: 1 LOV item(Period) and 1 Button(Report).
      There is a model method call(having 1 argument) which is being called from that button report. I want to pass the LOV item value in that argument.
      The EL expression which I am passing in the parameter on that button report is : bold#{bindings.<groupname>Period.inputValue}*bold*

      I tried with input text field and also with drop down list both are working fine.
      EL expression for both of them I used is :
      For Input Text Field : bold#{bindings.<groupname>Period.inputValue}*bold*
      For Drop Down List : bold#{bindings.<groupname>Period.attributeValue}*bold*

      Problem:
      When I am running the application then while opening that group I am getting following error:
      Caused by: oracle.adf.controller.ControllerException: ADFC-10004: cannot set managed bean property 'params'
           at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:184)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.setManagedProperties(ManagedBeanFactory.java:280)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:860)
           at oracle.adfinternal.controller.state.ScopeMap.get(ScopeMap.java:82)
           at javax.el.MapELResolver.getValue(MapELResolver.java:164)
           at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
           at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
           at com.sun.el.parser.AstValue.getValue(Unknown Source)
           at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
           at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:113)
           at oracle.jheadstart.controller.jsf.util.JsfUtils.getExpressionValue(JsfUtils.java:318)
           at oracle.jheadstart.controller.jsf.bean.TaskFlowConfigBean.getInstance(TaskFlowConfigBean.java:56)
           at oracle.jheadstart.controller.jsf.bean.DynamicRegionManager.initTaskFlow(DynamicRegionManager.java:211)
           at oracle.jheadstart.controller.jsf.bean.DynamicRegionManager.setCurrentTaskFlowName(DynamicRegionManager.java:148)
           at oracle.jheadstart.controller.jsf.application.JhsNavigationHandlerImpl.handleNavigation(JhsNavigationHandlerImpl.java:134)
           at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
           at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
           at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
           at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:232)
           at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
           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:879)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           ... 38 more
      Caused by: oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${pageFlowScope.BalanceSheetPeriodInFormTaskFlowManager.currentTaskFlowId}' is invalid.
           at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:838)
           at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:266)
           at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:160)
           at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:108)
           at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:197)
           at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
           at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3194)
           at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:2903)
           at oracle.jheadstart.controller.jsf.bean.PageDefAccessorBean.get(PageDefAccessorBean.java:55)
           at javax.el.MapELResolver.getValue(MapELResolver.java:164)
           at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
           at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
           at com.sun.el.parser.AstValue.getValue(Unknown Source)
           at com.sun.el.parser.AstEqual.getValue(Unknown Source)
           at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
           at oracle.adf.controller.internal.util.ELInterfaceImpl.getExpression(ELInterfaceImpl.java:67)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:608)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.getConvertedValue(ManagedBeanFactory.java:588)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.getConvertedValueOrNull(ManagedBeanFactory.java:575)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.copyMapEntries(ManagedBeanFactory.java:563)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.setMapProperty(ManagedBeanFactory.java:513)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.setManagedProperties(ManagedBeanFactory.java:268)
           ... 66 more


      I guess the EL expression which I am using is not able to send the value to the method.

      Can someone please suggest some solution.