首頁 >資料庫 >mysql教程 >oracle.jbo.InvalidParamException: JBO

oracle.jbo.InvalidParamException: JBO

WBOY
WBOY原創
2016-06-07 15:36:521871瀏覽

问题: 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类型导致出错。

 

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn