Пример #1
0
 @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());
 }
Пример #2
0
 @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());
   }
 }
Пример #3
0
 @Override
 public Html decorate(RenderingContext renderingContext) {
   Html body = ThemeHelper.decorateChildren(this, renderingContext);
   return paragraph.render(this, body, this.getAttributes());
 }
Пример #4
0
 @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());
 }