@Override public void bind(Component component) { super.bind(component); this.component = component; }
@Override public void bind(Component component) { super.bind(component); this.component = component; }
@Override public void bind(Component component) { super.bind(component); component.add(new ProbeFlashBehavior() { @Override protected void handleFlash(FlashVersion flash) { WebAppBehavior.this.flash = flash; } }); }
/** * {@inheritDoc} */ @Override public void bind(final Component component) { super.bind(component); component.setOutputMarkupId(true); }
@Override public void bind(Component component) { super.bind(component); component.add(new ProbeFlashBehavior() { @Override protected void handleFlash(FlashVersion flash) { WebAppBehavior.this.flash = flash; } }); }
/** * Binds the component to this behavior. * * @see IBehavior#bind(Component) */ @Override public void bind(final Component component) { super.bind(component); component.setOutputMarkupId(true); components.add(component); }
/** * override bind so that the component you add this behavior to becomes the component the tooltip applies to * */ @Override public void bind(Component component) { super.bind(component); this.source = component; source.setOutputMarkupId(true); }
public void bind(Component component) { if (this.component != null) throw new IllegalStateException("TinyMceBehavior can not bind to more than one component"); super.bind(component); if (isMarkupIdRequired()) component.setOutputMarkupId(true); this.component = component; }
@Override public void bind(final Component component) { super.bind(component);
@Override public void bind(final Component component) { super.bind(component);
@SuppressWarnings("serial") @Override public void bind(Component component) { super.bind(component); component.setOutputMarkupId(true); targetId = component.getMarkupId(); component.add(YuiLoaderContributor.addModule(new YuiLoaderModule(MODULE_NAME, YuiLoaderModule.ModuleType.js, MODULE_REF_JS, MODULE_REQUIRES) { @Override public String onSuccessJS() { return YuiDDTarget.this.getInitJS(); } })); }
@Override public void bind(Component component) { super.bind(component); component.setOutputMarkupId(true); this.componentId = component.getMarkupId(); component.add(YuiLoaderContributor.addModule(new YuiLoaderModule(WICKET_YUI_RESIZE, YuiLoaderModule.ModuleType.js, WICKET_YUI_RESIZE_JS, REQUIRE_YUI_MODULES) { private static final long serialVersionUID = 1L; @Override public String onSuccessJS() { return initJS(); } })); }
@Override public void bind(final Component component) { super.bind(component); this.component = component; this.component.setOutputMarkupId(true); if (addTitle && !isAjax()) component.add(new AttributeModifier("title", true, new Model<String>(title + "::" + content))); if (isAjax()) { this.component.add(new MootipAjaxListener(panel)); component.add(new AttributeModifier("title", true, new Model<String>( "CALLBACK:mootipAjax" + getEscapedComponentMarkupId() + "()"))); } component.add(new AttributeModifier("class", true, new Model<String>("toolTipImg" + getEscapedComponentMarkupId()))); component.setOutputMarkupId(true); }