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:
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
|