Home >Database >Mysql Tutorial >oracle.jbo.InvalidParamException: JBO

oracle.jbo.InvalidParamException: JBO

WBOY
WBOYOriginal
2016-06-07 15:36:521871browse

问题: SEVERE: Server Exception during PPR, #1 oracle.jbo.InvalidParamException: JBO-34009: List binding definition if((ObjectTypeCode != null)ObjectTypeCode =="RETAILER"){ return 'LOV_ObjectRetailer' } else return 'LOV_ObjectDistributor' i

问题:

 

SEVERE: Server Exception during PPR, #1
oracle.jbo.InvalidParamException: JBO-34009: List binding definition if((ObjectTypeCode != null)&&ObjectTypeCode =="RETAILER"){  return 'LOV_ObjectRetailer' } else    return 'LOV_ObjectDistributor' is not found.
 at oracle.jbo.uicli.binding.JUCtrlListDef.initListBindingDef(JUCtrlListDef.java:281)
 at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2614)
 at oracle.jbo.uicli.binding.JUCtrlListBinding.getAttributeDefs(JUCtrlListBinding.java:2569)
 at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:499)
 at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:2588)
 at oracle.adfinternal.view.faces.model.AdfELResolver.getType(AdfELResolver.java:73)
 at javax.el.CompositeELResolver.getType(CompositeELResolver.java:215)
 at com.sun.faces.el.FacesCompositeELResolver.getType(FacesCompositeELResolver.java:86)
 at com.sun.el.parser.AstValue.getType(AstValue.java:58)
 at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
 at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
 at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderContentStyleAttributes(SimpleInputTextRenderer.java:409)
 at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderNonElementContent(SimpleInputTextRenderer.java:330)
 at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsNonElement(FormInputRenderer.java:291)
 at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:131)
 at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1223)
 at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:177)

 

原因:

lov的切换属性的值使用了表达式if((ObjectTypeCode != null)&&ObjectTypeCode =="RETAILER"){  return 'LOV_ObjectRetailer' } else    return 'LOV_ObjectDistributor' ,但是并没有相应的把值类型改成Expression,即保留了Literal类型导致出错。

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn