The deferred possible values feature allows you to build a possible values drop down list within say a form HTML element after the entire form has been rendered. The advantage of this is in cases where performance takes a hit due to a lot of PV’s doing a ton of server-side processing just to build the PV list.
How To:
In your Display Component within your Field Descriptor, set it to Ajax PV Deferred.
Technical Details:
There are 2 primary files responsible for the logic that handles this Deferred PV:
AjaxPVFieldDisplayComponent.java
AjaxPVFieldDisplayComponent.Field.html
AjaxPVFieldDisplayComponent.java
This class primarily handles the AJAX magic request call and PV drop down menu construction.
AjaxPVFieldDisplayComponent.Field.html
This file contains the jQuery, CSS and HTML involved in the Deferred PV. For example, it has click, change and focus out event handlers to manage the UI features.
Other files that have been updated:
HTMLComponentManager.java
UserDefinedHTMLComponent.java
DisplayComponentPV.java
HTMLSelect.java
Tags: drop-down, pick lists, performance