use of de.agilecoders.wicket.core.markup.html.bootstrap.components.PopoverBehavior in project syncope by apache.
the class FieldPanel method setTitle.
public FieldPanel<T> setTitle(final String title, final boolean html) {
this.title = title;
field.add(new PopoverBehavior(Model.<String>of(), title == null ? Model.<String>of() : Model.of(title), new PopoverConfig().withHtml(html).withHoverTrigger().withPlacement(index.getObject() != null && index.getObject() == 0 ? TooltipConfig.Placement.bottom : this instanceof AjaxCheckBoxPanel ? TooltipConfig.Placement.right : TooltipConfig.Placement.top)));
return this;
}
Aggregations