PROBLEM

Java ADF applications show empty tables

Last Published: April 25, 2020

Description

ArcGIS Server Java ADF applications that use tables, such as the Search and Geocode Templates, show empty lists instead of the expected list of results.

Cause

This problem occurs in applications that were built with ArcGIS Server Java ADF 9.0 and migrated to ArcGIS Server Java ADF 9.1.

Solution or Workaround

The value attribute must be added to the dataTable tag in the Java ADF application.

Old:
<jsfh:dataTable id="findTable"
binding="#{sessionScope['searchContext'].attributes['esriAGSFindResults'].dataComponent}"
...
</jsfh:dataTable>

New:
<jsfh:dataTable id="findTable"
binding="#{sessionScope['searchContext'].attributes['esriAGSFindResults'].dataComponent}"
value="#{sessionScope['searchContext'].attributes['esriAGSFindResults'].resultRows}"
...
</jsfh:dataTable>

Article ID:000007499

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic