Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 6/25/2009; 10:59:45 AM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE
Useful Resources
Other ADF Bloggers

Search blog with Google:
 

Search BC4J JavaDoc:
 

June 2009
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        
Apr   Jul

Get Firefox!

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Thursday, June 25, 2009

Jan Vervecken wrote me to let me know of a new effort to create screencast movies of interesting ADF "how to" articles over at http://wiki.oracle.com/page/Watch+It+ADF

The first two screencasts produced follow along with a couple of recent Oracle Magazine Developer Frameworks articles I wrote.

Thanks for the tip, Jan.


10:59:44 AM    



Saturday, June 06, 2009

The July/August 2009 issue of Oracle Magazine is now live, and along with it the latest installment of my Developer Frameworks column:

Enjoy.


3:23:01 AM    


Tuesday, April 14, 2009

Grant blogs about a new whitepaper he's written on Groovy support in Oracle JDeveloper / ADF. I reviewed a draft of it and think it will be useful to everyone using Oracle ADF 11g.


11:44:25 PM    


The May/June 2009 Oracle Magazine issue is now available, and along with it the next installment of my Frameworks column:

Extending a Helping Hand
Add custom features to improve team productivity.

Enjoy.


9:23:30 PM    


Friday, April 10, 2009

Due to lack of bandwidth, I don't get much of a chance to experiment with the finer points of our ADF Rich Client framework, but I always wondered how you'd implement the kind of auto-suggest (reduce-the-choices-as-the-user-types) type of functionality. As usual, Frank takes the time not only to figure out the implementation but to write it up nicely. Check it out if you've been wondering how to achieve this type of functionality in ADF 11g.

http://www.oracle.com/technology/products/jdev/tips/fnimphius/suggest/autosuggest.html

It's just one of many great article's on Frank's Code Corner on OTN...


12:42:09 AM    


Monday, April 06, 2009

We've released JDeveloper 11g Update 2 on OTN:

http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html

The release notes are here. List of bug fixes should follow shortly on the page above.


7:52:13 AM    


Friday, March 20, 2009

I've added example #144 to illustrate how to customize the application-level error handler to support informational messages (in addition to the default support we provide for warnings and errors).


3:06:06 PM    


Sunday, March 01, 2009

The March/April 2009 Oracle Magazine issue is now available, and along with it the latest installment of my Developer Frameworks series:

A Ride at the OK (or Cancel) Corral
Configure nested transactions using Oracle ADF task flows.

Enjoy.


10:56:54 AM    


Sunday, February 01, 2009

In response to a question asked on the dBforums website, I created a little screencast to show the simple steps to go from a SQL query that you've got working in SQL Developer to a JSF page that display its results and allows the user to enter values for its bind variables.

 


11:27:05 AM    


Friday, January 30, 2009

I wanted to call your attention to a fairly new section on OTN about ADF Patterns and Best Practices. Just yesterday I found David Giammona's January 2009 document there on:

 to be very helpful to something I was working on.


3:02:07 PM    


I often find it handy to use JDeveloper 11g's SQL worksheet toolbar menu to quickly pop open a window where I can play with SQL statements. As shown in the screen shot below, the toolbar button pops down to show you all your IDE-level database connections, as well as application resources database connections for open workspaces. After you pick which connection you want to work with, a SQL Developer worksheet window opens for you to experiment with.

One frustrating thing, if you happen to use the SQL worksheet for quick SQL testing like I do, is that when you're done with your experiments and close the window JDeveloper prompts you to save the file. In my usage pattern, I almost never want to save the contents, so this always meant more clicks that I wished I didn't have to make.

I wanted to share a tip I learned recently about an IDE-level tools preference below that comes to the rescue if you happen to use the SQL worksheet this way. After choosing {Tools | Preferences...} select the Database > Worksheet Parameters section and uncheck the Prompt for Save file on Close checkbox. Voila! No more nagging when you close the worksheet.


3:00:15 PM    


Tuesday, January 27, 2009

I've added Example# 143 that illustrates a technique for simplifying the referencing the "UserData" map from the ADFBC session in Groovy bind variable expressions.


7:52:55 PM    


Tuesday, January 20, 2009

I've added example# 142 that illustrates the correct way to pass the RowIterator of the selected tree node in order to programmatically manipulate the rows in it for that "branch" of the tree.


5:08:11 PM    


Thursday, January 15, 2009

Chris Muir posts a summary of research he carried out (with assistance of some peers in the forum and other Oracle colleagues) about Configuring a JDev 11g ADF Security app on standalone WLS against MS Active Directory.


12:47:19 PM    


Wednesday, January 07, 2009

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"


6:50:04 PM    


Sunday, December 21, 2008

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).


12:02:07 AM    


Saturday, December 20, 2008

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.


11:59:20 PM    


The January/February 2009 Oracle Magazine issue is out, and along with it the latest installment in my Frameworks series:

Enjoy.


7:50:51 PM    


Friday, December 12, 2008

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.


10:26:05 AM    


Wednesday, December 10, 2008

I've posted example #138 that shows how to make and end-user's value change in an editable table in a 10.1.3 ADF Faces page cause the Commit / Rollback buttons to enable.


10:55:27 PM    


Tuesday, December 09, 2008

I've posted example# 137 that illustrates how to customize the view row hints mechanism in order to override the default handling of a default attribute hint like "label" or to add custom view row attribute specific hints (like a mindate and maxdate hint, in the example) which return dates three days before and three days after the value of the Hiredate in the current row.


3:30:29 PM    


Thursday, November 20, 2008

Don't miss David Giammona's blog-opening post about the new ADF Declarative Debugger that we added to JDeveloper/ADF 11g just in time for the production release.


4:18:08 PM    


Wednesday, November 19, 2008

I've added example #136 that illustrates a technique for adding a custom item (checkbox, in this case) to a declaratively-defined LOV search form. The checkbox toggles whether or not a custom SQL predicate gets applied to the view object's query which is providing the list of valid values to pick in the LOV.


6:36:34 PM    


© Copyright 2009 Steve Muench.