收录于2007-08-04
认领
报错
推荐
Example #140 contains some interesting code that's not strictly related to the task flow transactions which are the primary focus of the workspace.
The list page displays modified rows in italics with each modified attribute value in a row in bold as well. This display is facilitated by the use of custom row-specific attribute hints named rowState and valueChanged that are enabled due to the use of the CustomViewRowImpl framework extension class in the FrameworkExtensions project.
The CustomViewObject in that project works around a couple of issues in the 11.1.1 release related to the quick query component (forcing the view criteria item operator to be "Starts With" instead of "Like", and working around bug# 7660871 which causes the quick query criteria to not be applied correctly in some situations).
The CustomEntityImpl in the project implements a generic solution for declarative control over the posting order of associated (but not composed) entities by allowing an entity to specify a custom PostAfterAccessors property whose value is a comma-separated list of association accessors which should be checked for a new referenced row that should be posted before the current entity. The Emp entity in the example is configured with that property in order to cause a new, referenced Dept entity instance to post first.
Might be worth your time to check out that example if you've ever wanted to accomplish any of the above "tricks"
I've published example #141 that illustrates how a view object used in 'Declarative' SQL mode formulates its query at runtime, informed by the set of attributes referenced by the page definition of a given page so that it can avoid querying data that's not related to the job at hand (including dropping out tables that are joined where none of the attributes are referenced).
I've posted example # 140 that illustrates how you can easily implement complex units of work that assemble multiple, transactional task flows with full support for (OK) or (Cancel) without writing any code.
The January/February 2009 Oracle Magazine issue is out, and along with it the latest installment in my Frameworks series:
- Easier Interactive Data Entry
Improving the User Experience with Declarative Popup LOVs and Auto-PPR
Enjoy.
I've added example #139 illustrating how to make the quick query search form work more like end users would expect it to for String attributes and default to using the 'StartsWith' operator.


