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). <P> * @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). <P> * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOnerror(); }