Portlet Factory, Version 6.1.2


 

About using the WebApp object

To add a Page builder call with the WebApp object:

 com.bowstreet.webapp.Page page2 = webApp.addPage("Page2"); try {
 page2.addContents(XmlUtil.parseHtml("<html><body><form><span name=\"bar\"/></form></body></html>"));
catch (java.io.IOException ioe) { System.out.println("Error: " + ioe.toString());
catch (com.bowstreet.util.parser.ParserException pe) { System.out.println("Error: " + pe.toString());
}

Parent topic: Using other builders in the generation class


Library | Support |