protected void contributeInternal(JQHeaderContributionTarget target) {
if (!Form.class.isAssignableFrom(this.component.getClass()))
throw new IllegalStateException(
"ValidationEngineFormBehavior can only be added to the Form or its subclasses!");
JQContributionConfig config = JQContributionConfig.get();
CharSequence prefix = Utils.isNotBlank(config.getNonConflictAlias()) ? config
.getNonConflictAlias() : "$";
final StringBuffer buf = new StringBuffer();
if (options.hasValidationRules()) {