English

Problem: Java ADF applications show empty tables

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>