com.sdm.quasar.client.jsf.dialog
Interface DialogParameterHandlerCallback


public interface DialogParameterHandlerCallback

Callback for the DialogParameterHandler to tell the caller ofe a concrete DialogParameterHandler how to process further. This callback provides two possibilities:

Author:
Martin Haft

Method Summary
 boolean performBypass()
          Handle the request as a bypass for the quasar client: the request will be handled like a normal JSF request, no quasar specific processing will be done.
 boolean performRedirect()
          Perform a redirect to the currently activated dialog.
 

Method Detail

performBypass

public boolean performBypass()
Handle the request as a bypass for the quasar client: the request will be handled like a normal JSF request, no quasar specific processing will be done.

Returns:
true if the response is completed e.g. due to a redirect to a determined dialog. The servlet filter chain will not be processed further, but the redirect will be performed immediately.

performRedirect

public boolean performRedirect()
Perform a redirect to the currently activated dialog. E.g. use this if you created and activated a new dialog.

Returns:
true if the response is completed e.g. due to a redirect to a determined dialog. The servlet filter chain will not be processed further, but the redirect will be performed immediately.