Monday, July 2, 2018
Forcefully Executing a View Accessor
Forcefully Executing a View Accessor
To execute view accessor brutally whenever frameworks refers view accessor row set, add the following in your parent view object implementation class.
@Override
protected ViewRowSetImpl createViewLinkAccessorRS(AssociationDefImpl
assocDef, ViewObjectImpl accessorVO, Row masterRow, Object[] values){
if ("<viewlink accessor attribute name>".equals(assocDef.getName())) {
accessorVO.clearCache();
}
return super.createViewLinkAccessorRS(assocDef, accessorVO, masterRow,
values);
}
Learn More ...
There are a lot more points like this. If you are curious to learn the internals of the ADF Business Components and ADF Binding Layer, the following book is for you - Oracle ADF Real World Developer�s Guide.
More details about this book can be found in this post- http://jobinesh.blogspot.in/2012/07/pre-order-your-copy-of-oracle-adf-real.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment