# BundleController.jpf Sample

This topic inludes the source code for the BundleController.jpf Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/databinding/bundle/

## Sample Source Code

`01 package handlingData.databinding.bundle; 02 import com.bea.wlw.netui.pageflow.Forward; 03 import com.bea.wlw.netui.pageflow.PageFlowController; 04 05 /** 06 * @jpf:controller 07 * @jpf:message-resources resources="labels.Messages" 08 * @jpf:view-properties view-properties:: 09 * <!-- This data is auto-generated. Hand-editing this section is not recommended. --> 10 * <view-properties> 11 * <pageflow-object id="pageflow:/handlingData/databinding/bundle/bundleController.jpf"/> 12 * <pageflow-object id="action:begin.do"> 13 * <property value="80" name="x"/> 14 * <property value="100" name="y"/> 15 * </pageflow-object> 16 * <pageflow-object id="page:index.jsp"> 17 * <property value="240" name="x"/> 18 * <property value="100" name="y"/> 19 * </pageflow-object> 20 * <pageflow-object id="page:bundle.jsp"> 21 * <property value="60" name="x"/> 22 * <property value="40" name="y"/> 23 * </pageflow-object> 24 * <pageflow-object id="forward:path#success#bundle.jsp#@action:begin.do@"> 25 * <property value="44,29,29,60" name="elbowsX"/> 26 * <property value="92,92,-4,-4" name="elbowsY"/> 27 * <property value="West_1" name="fromPort"/> 28 * <property value="North_1" name="toPort"/> 29 * <property value="success" name="label"/> 30 * </pageflow-object> 31 * </view-properties> 32 * :: 33 */ 34 public class bundleController extends PageFlowController 35 { 36 /** 37 * @jpf:action 38 * @jpf:forward name="success" path="bundle.jsp" 39 */ 40 protected Forward begin() 41 { 42 return new Forward("success"); 43 } 44 }`