Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:16:17 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

March 2005
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Feb   Apr

Get Firefox!

Tuesday, March 15, 2005

At the recent Zagreb partner seminar I did on JDeveloper, ADF and JHeadstart, during the break someone presented a problem to me that they were having. Transforming their example into the equivalent Dept and Emp scenario, they were trying to allow the user -- while creating a new employee -- to go off and create a new department if they just realized that it was missing, and then come back and finish entering the employee in that new department. Trouble was, they would get database constraint violations for their EMP row because it was getting posted to the database before the DEPT row that got created later in time in the transaction.

Had their Dept and Emp been marked as a composition, it would have worked automatically, but since the relationship was optional between the two, it wasn't really correct to model it as a composition. So, I mentioned to him the same coding tip that I just published in this new HowTo on OTN:

Forcing a New Dept to Post Before a New Emp Without Composition

And that solved his problem. Hope it might come in handy for you, too, sometime...


10:32:29 PM    



Fresh back from Zagreb, where I participated last Thursday in Oracle Croatia's annual partner education week, I've uploaded the slides for the two presentations I gave there to my ADF Related Presentations I've Done Recently page here on the blog.

The first presentation is an overview of basic ADF Business Components concepts from the point of view of an Oracle Forms developer. It compares a basic master/detail Oracle Forms application side-by-side with an equivalent master/detail ADF JClient application and highlights how you do the same things in Forms and ADF. At the end of the talk, I demoed how the same concepts apply to web-based development as well.

The second presentation accompanied a 90-minute demo of Oracle JHeadstart that I did for the attendees to show off what kinds of additional developer-productivity tools we make available for JDeveloper/ADF that can really help iteratively generate the bulk of the (JSP or UIX) web pages you need in a typical back-office style web application. I demoed UIX at the seminar since it has many cool features that plain JSP pages don't support easily like hide/show disclosure of detail information in a table, Oracle Forms-style LOV's with validation, pluggable "skins" for modify the overall look and feel of the application without changing the page structure, and other things.


4:07:19 PM    


On an internal mailing list, a colleague asked for a code example of how to let user to filter a view object's set of rows, then provide the user a way to download that filtered row set as a file in CSV format. I've added example #27 (Serving a Filtered View Object Result as a Comma-Separated Values CSV File) to my Not Yet Documented Examples page with a tiny example illustrating how to accomplish this. For the filtering part, it borrows one of the techinques illustrated in my Creating Search Pages with Both Fixed and Dynamic Criteria article on OTN to use a separate iterator binding that is forced to always stay in "Find" mode.


1:40:01 AM    


© Copyright 2008 Steve Muench.