-
Book Overview & Buying
-
Table Of Contents
Oracle Application Express 4.0 with Ext JS
By :
In this chapter, we have covered the development process for creating an item type plug-in, showing how to define the plug-in and its parameters in APEX.
We initially created a "stub" PL/SQL package for the Plug-in, allowing us to create a test page for our Plug-in and start using it as a standard APEX text item. Once the stub was working, we then were able to add in the enhanced JavaScript functionality progressively on the web page, before completing the Plug-in by adding the server-side validation.
Since the NumberField is just enhancing a standard HTML input field and does not add additional HTML elements, the standard Dynamic Actions will work quite happily without change. We haven't implemented any AJAX functionality because there hasn't been any requirement.
Chapter 8 implements a much more sophisticated component, the Ext.form.ComboBox, as a Plug-in, and deals with both AJAX functionality and Dynamic Actions, so we will have a look at that next.
Change the font size
Change margin width
Change background colour