*
* @see com.google.code.jqwicket.JQBehavior#contributeInternal(com.google.code.jqwicket.JQHeaderContributionTarget)
*/
@Override
public void contributeInternal(JQHeaderContributionTarget target) {
IJQFunction callback = this.callback();
if (isNotEmpty(this.events) && callback != null) {
IJQStatement stmt = $(this.component);
for (IJQEvent e : this.events) {
stmt.chain(e.getName(), callback);
}