Purpose
This exit is called by ExtraView after an Update and Continue operation on an edit screen, allowing the user to perform actions that are specific to continuing operation after an update to the database. For example, the user may want to change some field values after the update and before the user continues to enter or update data through the user information.
Applies To
Edit Issue screen
Signature
public void ucRefreshOnContinue( Connection dbconn,
SesameSession session,
HashMap values,
ArrayList refreshList) {
}
Notes
Note that you may alter the contents of the values
within the HashMap or the contents of the refreshList
. The refreshList
is the list of fields that will be refreshed with an Ajax call at the appropriate time(s) when editing the issue.
Example
This example simply adds an extra field to the refreshList. Note that custom fields are not automatically refreshed, therefore this example demonstrates how you can force a refresh of a custom field.
public void ucRefreshOnContinue( Connection dbconn,
SesameSession session,
HashMap values,
ArrayList refreshList) {
refreshList.add("CUSTOM_FIELD");
return;
}