Author: rich Date: Fri Dec 10 01:05:05 2004 New Revision: 111487 URL: http://svn.apache.org/viewcvs?view=rev&rev=111487 Log: Missed these in my last checkin.
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/Controller.jpf (contents, props changed) incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/index.jsp (contents, props changed) Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/Controller.jpf Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/Controller.jpf?view=auto&rev=111487 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/Controller.jpf Fri Dec 10 01:05:05 2004 @@ -0,0 +1,29 @@ +package pageFlowCore.sharedFlowExceptions; + +import org.apache.beehive.netui.pageflow.PageFlowController; +import org.apache.beehive.netui.pageflow.Forward; +import org.apache.beehive.netui.pageflow.annotations.Jpf; + [EMAIL PROTECTED]( + simpleActions={ + @Jpf.SimpleAction(name="begin", path="index.jsp") + }, + sharedFlowRefs={ + @Jpf.SharedFlowRef(name="sf1", type=pageFlowCore.sharedFlowExceptions.sharedFlow1.SharedFlow.class), + @Jpf.SharedFlowRef(name="sf2", type=pageFlowCore.sharedFlowExceptions.sharedFlow2.SharedFlow.class) + } +) +public class Controller extends PageFlowController +{ + @Jpf.Action + public Forward throwSharedFlow1Exception() throws Exception + { + throw new pageFlowCore.sharedFlowExceptions.sharedFlow1.SharedFlow.Ex(); + } + + @Jpf.Action + public Forward throwSharedFlow2Exception() throws Exception + { + throw new NullPointerException(); + } +} Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/index.jsp?view=auto&rev=111487 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/pageFlowCore/sharedFlowExceptions/index.jsp Fri Dec 10 01:05:05 2004 @@ -0,0 +1,27 @@ +<%@ page language="java" contentType="text/html;charset=UTF-8"%> +<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> +<%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%> +<%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> + + +<netui:html> + <head> + <netui:base/> + </head> + <netui:body> + Message: <b><netui:span value="${pageInput.message}"/></b> + <br/> + <br/> + <netui:anchor action="throwSharedFlow1Exception">throwSharedFlow1Exception</netui:anchor> + <br/> + <netui:anchor action="throwSharedFlow2Exception">throwSharedFlow2Exception</netui:anchor> + <br/> + <br/> + <i>sharedFlow1 is </i><b><netui:span value="${sharedFlow.sf1.displayName}"/></b> + <br/> + <i>sharedFlow2 is </i><b><netui:span value="${sharedFlow.sf2.displayName}"/></b> + </netui:body> +</netui:html> + + +
