EDU2BDBY
EDU2BDBY
Region Controller
User presses processFormRequest() calls
Go button initEmployeesQuery()
Application Module
View Object
initEmployeesQuery() initQuery()
– Finds and instantiates – Initializes the query
the view object – executes the query
– Calls the view object
initQuery()
pageContext.setForwardURL(
"OA.jsp?page=<page URL>", …
Request
JSP OAPageBean OAPageContext
from Browser
YES MDS
Fetch metadata Repository
Validate session
Root AM holds the
on root AM database connection
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.