com.tibco.forms.client
Interface FormLoaderCallbackHandler

All Known Implementing Classes:
DefaultFormLoaderCallbackHandler

public interface FormLoaderCallbackHandler

Interface for the handler that can be passed to the FormRunner#loadFormWithInlineData() and FormRunner#loadFormWithRemoteData() to receive callbacks when the GWT Form runtime is loaded or when an error occurred while loading the form.

Since:
2.2.2

Method Summary
 void onError(java.lang.Throwable exception)
          This method is called when there encounters an error that prevents loading of the form.
 void onLoad(Form form)
          This method is called when the form loading is complete.
 

Method Detail

onError

void onError(java.lang.Throwable exception)
This method is called when there encounters an error that prevents loading of the form.

Parameters:
exception - The error encountered by the FormRunner.

onLoad

void onLoad(Form form)
This method is called when the form loading is complete. The client applications can invoke additional operations on the form like registering a submit handler.

Parameters:
form - The form runtime instance.


Copyright © 2015 Cloud Software Group, Inc. All Rights Reserved.