11.4. Using Sample Code

You have just seen how easy it is to import a packaged application and begin using its capabilities immediately. Once you download a packaged application, the application is entirely yours. You can limit or expand its functionality as you see fit.

You can use the code samples available on the page in the same way. The only real difference is that these samples are not complete in and of themselves. You can take the smaller chunks of functionality offered by these samples and integrate them into your applications, or simply grab the samples to get an insight into using a particular technique.

The code samples offered include:

  • Matrix Order Demo: Which demonstrates how to implement a wizard-type interface to the order entry process.

  • Shuttle Demo: Which demonstrates how to use two multiselect list boxes together, including user interface objects to move selections from one list box to the other. This sample code also allows you to specify that items are copied, rather than moved, and to turn sorting on and off.

  • Sticky Hide and Show: You have already seen that one of the APEX themes includes hide and show regions, which users can expand and contract as they wish. This sample code makes it possible to save the state of a hide and show region, so the region will be in the same state as when the user last used the page. The code sample implements this capability using AJAX and APEX Collections.

  • Master-Detail PDF Report: Includes a sample module for publishing a PDF ...

Get Beginning Oracle® Application Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.