Пример #1
0
 protected void yield(View view, StringBuilder __body__) {
   if (view != null) {
     try {
       view.setRenderer(renderer);
       view.render(renderer.head, __body__);
     } catch (Exception e) {
       if (e instanceof RuntimeException) {
         throw (RuntimeException) e;
       } else {
         throw new RuntimeException("Exception thrown during render", e);
       }
     }
   }
 }
Пример #2
0
 protected void yield(View view) {
   if (view != null) {
     view.setRenderer(renderer);
     view.render();
   }
 }