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:21:39 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

February 2007
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      
Jan   Mar

Get Firefox!

Thursday, February 08, 2007

I've added example# 106 to illustrate the correct way to further filter view link accessor rowsets at runtime, and in doing so, hopefully have helped clarify with a concrete example the important-to-understand topic explained in section  27.1.3 Understanding View Link Accessors Versus Data Model View Link Instances of the ADF Developer's Guide for Forms/4GL Developers.


11:40:49 AM    



Tug Grall blogs about a new JDeveloper 10.1.3 extension for Groovy, a popular agile dynamic scripting language for Java. After installing the extension in JDeveloper 10.1.3.x, you can create and run Groovy scripts.

The next major release of Oracle ADF Business Components (11g) integrates support for using dynamic scripting languages like Groovy to simplify validation rules, calculated field expressions, and more. If your curious to check out some of the nice features Groovy offers ahead of time, have a look at the Getting Starting Guide on the codehaus.org website. With Tug's JDeveloper extension, you should be able to try any of the examples in the Guide right from inside JDeveloper.

Imagine being able to add a validation rule to an PurchaseOrder entity object that says:

  • PromisedOrderDate > DateCreated

or adding a conditional expression on a PurchaseOrder validation rule that causes it to fire only when:

  • Customer.AccountType != 'Gold'

or defining a calculated attribute named LineTotal in a view object with the expression:

  • UnitPrice * QuantityOrdered

These are of course trivially simple examples, but they should already look a bit simpler to write then the equivalent Java code to achieve the same kind of thing today.


10:21:51 AM    


© Copyright 2008 Steve Muench.