Package com.cosmo.ui.controls

Examples of com.cosmo.ui.controls.Control


   /**
    * Renderiza el contenido proncipal (columna central)
    */
   private void renderContents(StringBuilder xhtml, PageContext page) throws TemplateUnavailableException
   {
      Control control;
      Iterator<Control> it = page.getPageContent(PageContext.ContentColumns.MAIN);
      StringBuilder ctrl = new StringBuilder();

      while (it.hasNext())
      {
         control = it.next();
         ctrl.append(control.render()).append("\n");
      }

      int index = xhtml.indexOf(PageRenderer.TAG_WIDGET_CONTENT);
      xhtml.replace(index, index + PageRenderer.TAG_WIDGET_CONTENT.length(), ctrl.toString());
   }
View Full Code Here

TOP

Related Classes of com.cosmo.ui.controls.Control

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.