ariba.ui.aribaweb.core
Interface AWErrorHandler

All Known Implementing Classes:
AWTDataTable.DataTableNavigationHandler

public interface AWErrorHandler

This interface allows the implementer to navigate to an error spot on another page. Handlers are registered with the error manager. Handler registration are clear out at the beginning of each append cycle and must be re-registered during append. No explicit un-registration is needed.


Method Summary
 boolean canGoToErrorImmediately(AWErrorInfo error, AWComponent pageComponent)
           
 boolean canGoToErrorWithLink(AWErrorInfo error, AWComponent pageComponent)
           
 AWComponent goToError(AWErrorInfo error, AWComponent pageComponent)
          Go to the error spot of the current error.
 AWErrorInfo selectFirstError(java.util.List errors)
           
 

Method Detail

goToError

AWComponent goToError(AWErrorInfo error,
                      AWComponent pageComponent)
Go to the error spot of the current error.

Parameters:
error - the error being navigated to
pageComponent - the current page
Returns:
Return null if don't you want to handle navigation for this error. Return pageComponent if you want to stay on the current page. Return a new page if you want to go to another page.

canGoToErrorImmediately

boolean canGoToErrorImmediately(AWErrorInfo error,
                                AWComponent pageComponent)

canGoToErrorWithLink

boolean canGoToErrorWithLink(AWErrorInfo error,
                             AWComponent pageComponent)

selectFirstError

AWErrorInfo selectFirstError(java.util.List errors)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.