Portlet Factory, Version 6.1.2
About adding elements to the web application
The IBM® WebSphere Portlet Factory servlet passes the web application structure to the builder call with the webApp argument. To add elements to the WebApp structure, add calls similar to the following in the doBuilderCall() method to add the desired elements to the web application:
//Add linked object to the Web application webApp.addLinkedObjectVariable("runtimeLO", "com.acme.methods.SiteBuilderMethods"); //Add an ActionList to the Web application ActionList initPages = webApp.addActionList("initPages"); // Add a counter variable. Variable counter = webApp.addVariable(varName, Variable.TYPE_INTEGER); counter.setValue(new Integer(0));Parent topic: About adding elements to pages in the web application
Library | Support |