BindingUpdateErrorsController.jpf Sample
This topic inludes the source code for the BindingUpdateErrorsController.jpf Sample.
Sample Location
This sample is located in the following directory in your WebLogic Workshop installation:
BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/bindingUpdateErrors/
Sample Source Code
01 package tagSamples.netui.bindingUpdateErrors;
02 import com.bea.wlw.netui.pageflow.Forward;
03 import com.bea.wlw.netui.pageflow.PageFlowController;
04
05 /**
06 * @jpf:controller
07 * @jpf:view-properties view-properties::
08 * <view-properties>
09
10 * <pageflow-object id="action:begin.do">
11
12 * <property value="80" name="x"/>
13
14 * <property value="100" name="y"/>
15
16 * </pageflow-object>
17
18 * <pageflow-object id="page:index.jsp">
19
20 * <property value="240" name="x"/>
21
22 * <property value="100" name="y"/>
23
24 * </pageflow-object>
25
26 * </view-properties>
27 * ::
28 */
29 public class BindingUpdateErrorsController extends PageFlowController
30 {
31
32
33 // Uncomment this declaration to access Global.app.
34 //
35 // protected global.Global globalApp;
36 //
37
38 // For an example of page flow exception handling see the example "catch" and "exception-handler"
39 // annotations in {project}/WEB-INF/src/global/Global.app
40
41 /**
42 * This method represents the point of entry into the pageflow
43 * @jpf:action
44 * @jpf:forward name="success" path="index.jsp"
45 */
46 protected Forward begin()
47 {
48 return new Forward("success");
49 }
50 }
|