Dive into BC4J and ADF

Send me a mail
 Dive into BC4J and ADF    Click to see the XML version of this web page.   (Updated: 6/3/2006; 11:49:53 AM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper 10g

Search blog with Google:
 

Search BC4J JavaDoc:
 

November 2003
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            
Oct   Dec

Get Firefox!

Wednesday, November 12, 2003

We posted a whitepaper explaining how our powerful Oracle UIX visual components and framework is evolving in its ADF UIX 3.0 release to be a premier set of JavaServer Faces compliant components. An interesting quote from the paper:

applications built using ADF UIX with Oracle JDeveloper 10g will be automatically and seamlessly upgraded to the JSF architecture without losing functionality.


10:00:05 AM    



In order to use findByKey() on a view object with no entity object usage backing it, you need to do two steps:

  1. Set one or more attributes in your view object as being a "Key Attribute"
  2. Overriding the create() method in your view object impl class, to enable view-object-level key management:

    public create() {
       setManageRowsByKey(true);
    }

Why do you have to programmatically enable this feature? It adds a little overhead to manage the keys at the view object level, so we figured doing it explicitly was the right thing to do.


12:06:47 AM    


© Copyright 2006 Steve Muench.