My Oracle Support Banner

Error - Name rangeSize Not Found In Data Type Shown when using the af:setPropertyListener tag (Doc ID 2975880.1)

Last updated on SEPTEMBER 23, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

There is an ADF page with a table displaying data from a Placeholder data control. There is a button with a af:setPropertyListener tag that references the "rangeSize" of the view object in the data control. When running the page and clicking the button, the error "oracle.jbo.expr.JIEvalException: JBO-25077: Name rangeSize not found in the given object: <VIEWOBJECTDATATYPE>." appears.

The stack trace indicates that the error is thrown by the setPropertyListener. The setPropertyListener and the table both use this exact EL expression: "#{bindings.<VIEWOBJECTDATATYPE>.rangeSize}".

Here's the button JSPX code:

<af:button text="button 1" id="b1">
    <af:setPropertyListener from="<NUMERICVALUE>" to="#{bindings.<VIEWOBJECTDATATYPE>.rangeSize}" type="action"/>
</af:button>
  
replacing <NUMERICVALUE> and <VIEWOBJECTDATATYPE> with the appropriate references to the expected numeric reference and view object data type of the placeholder data control.

What is being performed incorrectly causing the error to occur?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.