@Override public Html decorate(RenderingContext renderingContext) { Html body = ElementHelper.getHtmlFromBody(this); if (this.hasChildren()) { body = ThemeHelper.decorateChildren(this, renderingContext); } return anchor.render(this, body, this.getAttributes()); }
@Override public Html decorate(RenderingContext renderingContext) { if (this.hasChildren()) { return textarea.render( this, ThemeHelper.decorateChildren(this, renderingContext), this.getAttributes()); } else { return textarea.render(this, ElementHelper.getHtmlFromBody(this), this.getAttributes()); } }
@Override public Html decorate(RenderingContext renderingContext) { Html body = ThemeHelper.decorateChildren(this, renderingContext); return paragraph.render(this, body, this.getAttributes()); }
@Override public Html decorate(RenderingContext renderingContext) { Html body = ThemeHelper.decorateChildren(this, renderingContext); return views.html.origo.core.decorators.forms.form.render(this, body, this.getAttributes()); }