Databases Reference
In-Depth Information
How It Works
Plug-ins are a way to extend the existing control toolset in APEX. The anatomy of a plug-in is quite
straightforward. You supply a PL/SQL function for the plug-in, and that function is used to render the
HTML (and accompanying JavaScript) for the control.
If you take a closer look at the PL/SQL function you specified earlier, you can see a statement that
looks like the following:
htp.p('<a href=" http://www.google.com" >Jump to Google</a>');
Note that htp is a package that allows you to write HTML output from your plug-in. Using this function,
you can render any HTML or JavaScript necessary to achieve the functionality you wish in your plug-in.
Using the plug-in framework in APEX, you can build an extensive set of functionality-rich and
reusable plug-ins that you can share among your colleagues (or even sell online!).
 
Search WWH ::




Custom Search