// ------------------------------------------------------------------------------ // Generated by WebLogic Workshop // // Created on: Fri May 09 14:33:27 MDT 2003 // By: dolander // ----------------------------------------------------------------------------- package controlTests.callingPageFlow; import org.apache.beehive.netui.pageflow.Forward; import org.apache.beehive.netui.pageflow.PageFlowController; import org.apache.beehive.netui.pageflow.annotations.Jpf; /** * @jpf:controller * @jpf:view-properties view-properties:: * * * * * * * * * * * :: */ @Jpf.Controller( ) @Jpf.ViewProperties( value = { "", " ", " ", " ", " ", " ", " ", " ", " ", "" }) public class Controller extends PageFlowController { public String callableMethod(String str) { return "Calling callableMethod(String) '" + str + "'"; } public String callableMethod(int i) { return "Calling callableMethod(int) '" + i + "'"; } // Uncomment this declaration to access Global.app. // // protected global.Global globalApp; // // For an example of page flow exception handling see the example "catch" and "exception-handler" // annotations in {project}/WEB-INF/src/global/Global.app /** * This method represents the point of entry into the pageflow * @jpf:action * @jpf:forward name="success" path="index.jsp" */ @Jpf.Action( forwards = { @Jpf.Forward( name = "success", path = "index.jsp") }) protected Forward begin() { return new Forward( "success" ); } }