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

Search blog with Google:
 

Search BC4J JavaDoc:
 

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

Get Firefox!

Friday, February 11, 2005

I'm often asked whether it's possible to customize the controls that appear in the ADF Data Control Palette and what they add to your page when you drop them. The answer is yes, but it's not documented (primarily since we intend to replace the templating in the future with a more generic mechanism across the IDE).

At the moment I don't have the time to write up the details of how the templates work today, but hopefully by looking into the files you can understand the basic idea. Of course, make a backup copy before doing any fiddling!

Inside your JDeveloper system directory, which would typically be named something like:

JDEVHOME/jdev/system10.1.2.0.0.1811

you will find some files named:

  • adfjclient_binding.xml
  • adf_jsp_model_one_templates.xml
  • adf_jsp_struts_templates.xml

These contain the entries that define what will populate the Data Control Palette control types for JClient, Model One JSP, and Struts-based JSP ADF-based applications.

DISCLAIMER: While I cannot guarantee that anything you try would necessarily work in a future major version of JDeveloper, it might be fun to experiment with adding your own constructs to these files now to perhaps save some time in the current 9.0.5.2 or 10.1.2 release.


3:46:56 PM    



© Copyright 2008 Steve Muench.