4
Validation Application Modules (VAMs)........................................................................................... 125
Entity Experts .................................................................................................................................. 125
Reusing Business Objects ....................................................................................................126
Implementing the Model ...........................................................................................128
Implementing the View.............................................................................................128
Designing the User Interface.................................................................................................128
Pages ....................................................................................................................................129
Reusable Components..........................................................................................................130
Attribute Sets.........................................................................................................................133
URL Parameters: Tokens, Encryption, Encoding .................................................................135
Style Sheets ..........................................................................................................................136
Accessibility...........................................................................................................................137
Internationalization ................................................................................................................137
Model Interaction...................................................................................................................138
Menus and Page Security .....................................................................................................142
Implementing the Controller .....................................................................................146
Designing an OA Controller ..................................................................................................146
Creating an OA Controller.....................................................................................................148
Handling an HTTP GET ........................................................................................................149
Modifying Bean Properties .............................................................................................................. 151
Creating Beans Programmatically................................................................................................... 152
Handling an HTTP POST (Form Submit)..............................................................................153
Model Interaction...................................................................................................................155
Disabling Validation...............................................................................................................157
Javascript ..............................................................................................................................158
Error Handling..........................................................................................................160
Creating Attribute Set...............................................................................................171
Designing Attribute Sets........................................................................................................171
Creating Attribute Set Packages Manually............................................................................171
Creating Attribute Sets Manually...........................................................................................172
Generating Attribute Sets Automatically (Only on Linux)......................................................172
Internationalization ...................................................................................................176
User Preferences ..................................................................................................................176
Language ..............................................................................................................................176
Timezone...............................................................................................................................177
Date and Time.......................................................................................................................178
Numbers/Currency ................................................................................................................179
Text and Component Alignment............................................................................................180
Localized Layouts..................................................................................................................180
Files in a Typical OA Framework Application ...........................................................181
Java .........................................................................................................................181
XML .........................................................................................................................181
Seed Data................................................................................................................182
Images .....................................................................................................................182
JSPs ........................................................................................................................183