Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Supporting APEX JavaScript and Cascading Style Sheets

Oracle Tips by Burleson Consulting

Supporting APEX JavaScript and Cascading Style Sheets

To set the look of the MList there is a supporting CSS file named mlist.css.  This file can either be stored in the CSS Repository (Shared Components), or can be stored in the file system on the Oracle HTTP Server.  For deployment this should be stored in the file system for performance reasons.

The mlist.js JavaScript file can either be stored in the Static File Repository or in the file system.  Same as before we will probably want to store this in the file system for performance. 

The text for both of these files is shown in the Appendix

Populating the MULTI_LEVEL_LIST table with list data

The following is an example of the code used to populate the MULTI_LEVEL_LIST table.  As you will see:

  • The first list item ‘Staff’ has NULL for the PARENT_SEQUENCE.
  • The next two items are children of the ‘Staff’ item.
  • The final item is a leaf node with values set for TARGET_PAGE_ID, SET_THESE_ITEMS, and WITH_THESE_VALUES.

 

insert into multi_level_list
      ( list, sequence, parent_sequence, list_entry_label, target_page_id )
values( 'STAFF', 10, null, 'Staff', null )
/
insert into multi_level_list
      ( list, sequence, parent_sequence, list_entry_label, target_page_id )
values( 'STAFF', 20, 10, 'New Staff', null )
/
insert into multi_level_list
      ( list, sequence, parent_sequence, list_entry_label, target_page_id )
values( 'STAFF', 30, 10, 'Old Staff', null )
/
insert into multi_level_list
      ( list, sequence, parent_sequence, list_entry_label, target_page_id,
        set_these_items, with_these_values )
values( 'STAFF', 21, 20, 'Michael', 14, 'P14_APP_USER', 'APP_USER' )
/

SEE CODE DEPOT FOR FULL SCRIPTS

The MList is produced with the use of a custom built PL/SQL package named MLIST.  As a special note you will want to know that the value passed in to the package for the WITH_THESE_VALUES is wrapped into the V function.  So, using the example above, the results in the PL/SQL package will be evaluated like this:

V( 'APP_USER' )

For more information on this topic, see the book "Easy Oracle HTML-DB Application Express ", the best book anywhere on expert APEX development:

Easy Oracle HTML-DB Application Express
By Michael Cunningham & Kent Crotty

Only $27.95

Buy it now and get the code depot download

 


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational