Exemplo n.º 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());
 }
Exemplo n.º 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());
   }
 }
Exemplo n.º 3
0
 @Override
 public Html decorate(RenderingContext renderingContext) {
   Html body = ThemeHelper.decorateChildren(this, renderingContext);
   return paragraph.render(this, body, this.getAttributes());
 }
Exemplo n.º 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());
 }