Alloy Showcase
f:ajax
Since JSF 2.0, includes the f:ajax Facelet TagHandler. This ClientBehavior adds AJAX features to any ClientBehaviorHolder that implementsaddClientBehavior
.
Listener Usage
Iflistener
is specified, then that method is executed when the default event (obtained from ClientBehaviorHolder and method getDefaultEventName
) occurs. This is a good practice for unifying AJAX calls and decoupling from the parent component.
Source Code
Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20