Package net.sf.jwan.servlet.gui.elements

Examples of net.sf.jwan.servlet.gui.elements.WanPage


      mainLayer.setLayerTitle("Home");
      mainLayer.setSubDiv(false);
      mainLayer.addContent(div);
      mainLayer.addContent(wmProgram);
   
    WanPage complexPage = new WanPage("jWAN Complex Example");
      complexPage.setMainLayer(mainLayer);
      complexPage.addSubLayer(exSub);
     
    JwanHtmlFormatter jhf = new JwanHtmlFormatter()
    try{logger.debug(jhf.format(complexPage.render()));}
    catch (WanRenderException e) {logger.error(e);}
  }
View Full Code Here


      WanContentLayer mainLayer = new WanContentLayer("Home");
      mainLayer.setLayerTitle("Home");
      mainLayer.setSubDiv(false);
      mainLayer.addContent(div);
   
    WanPage helloPage = new WanPage("jWAN Hello World");
      helloPage.setMainLayer(mainLayer);
       
    try {logger.debug(helloPage.render());}
    catch (WanRenderException e) {logger.error(e);
  }
View Full Code Here

TOP

Related Classes of net.sf.jwan.servlet.gui.elements.WanPage

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.