| 1 |
package test0041; |
| 2 |
|
| 3 |
class PageFlowController {} |
| 4 |
|
| 5 |
class T { |
| 6 |
T(String s) {} |
| 7 |
} |
| 8 |
/** |
| 9 |
* This is the default controller for a blank web application. |
| 10 |
*/ |
| 11 |
@test0041.Controller |
| 12 |
@test0041.ViewProperties( |
| 13 |
val = { |
| 14 |
"<!-- This data is auto-generated. Hand-editing this section is not recommended. -->", |
| 15 |
"<view-properties>", |
| 16 |
"<pageflow-object id='action:begin.do'>", |
| 17 |
" <property value='60' name='x'/>", |
| 18 |
" <property value='80' name='y'/>", |
| 19 |
"</pageflow-object>", |
| 20 |
"<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>", |
| 21 |
" <property value='96,130,130,164' name='elbowsX'/>", |
| 22 |
" <property value='72,72,72,72' name='elbowsY'/>", |
| 23 |
" <property value='East_1' name='fromPort'/>", |
| 24 |
" <property value='West_1' name='toPort'/>", |
| 25 |
" <property value='index' name='label'/>", |
| 26 |
"</pageflow-object>", |
| 27 |
"<pageflow-object id='page:index.jsp'>", |
| 28 |
" <property value='200' name='x'/>", |
| 29 |
" <property value='80' name='y'/>", |
| 30 |
"</pageflow-object>", |
| 31 |
"<pageflow-object id='page:error.jsp'>", |
| 32 |
" <property value='60' name='x'/>", |
| 33 |
" <property value='180' name='y'/>", |
| 34 |
"</pageflow-object>", |
| 35 |
"</view-properties>" |
| 36 |
} |
| 37 |
) |
| 38 |
public class X |
| 39 |
extends PageFlowController |
| 40 |
{ |
| 41 |
@test0041.Action( |
| 42 |
forwards={ |
| 43 |
@test0041.Forward(name="success", path="index.jsp") |
| 44 |
} |
| 45 |
) |
| 46 |
protected T begin() |
| 47 |
{ |
| 48 |
return new T("success"); |
| 49 |
} |
| 50 |
} |