net.bootsfaces.component.ajax.IAJAXComponent2 Maven / Gradle / Ivy
package net.bootsfaces.component.ajax;
public interface IAJAXComponent2 {
/**
* JavaScript to be executed when ajax completes with success (i.e. there's neither a network error nor a Java exception).
* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file.
*/
public String getOnsuccess();
/**
* JavaScript to be executed when ajax results on an error (including both network errors and Java exceptions).
* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file.
*/
public String getOnerror();
}