Professional Documents
Culture Documents
• Overview
• Initial Setup Flow
• Controller Event Flows
• Request Flow (GET)
• Submit Flow (POST)
Request
JSP OAPageBean OAPageContext
from Browser
YES MDS
Fetch metadata Repository
Validate Function
associated w/ page
(4)
Cache OA bean
hierarchy on root AM (5)
Request
JSP OAPage Bean OAPageContext
from Browser
PageLayout Bean
Header Bean
_namedChildren
_attributes
Hello World
getAttributeValue
setAttributeValue
viewAttr Attr1
RenderingContext
getAttributeValue text
(context, “text”)
VO1
UIX
Attribute-level validation:
• Within view row setAttribute, the view row
automatically calls the corresponding
set<AttributeName> in the underlying entity
object.
– This executes any associated attribute-level
validation in the entity object.
Row-level validation:
• Once all the attribute values have been set, the OA
Framework calls the VO validate for each row it
modified to execute any associated row-level
validation.
– Within validate, the view row
calls validateEntity for the underlying EO,
which executes any entity-level validation.
Debugging Tip: Any declarative BC4J validation
(such as Update While New specified in BC4J
wizards) fires after validation in your Impl.java
files.