Quantcast
Channel: APEX – Jeff Kemp on Oracle
Browsing all 101 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Build your Apex application better – do less in Apex

I recently saw this approach used in a complex Apex application built for my current client, and I liked what I saw – so I used a similar one in another project of mine, with good results. Pages load...

View Article


Image may be NSFW.
Clik here to view.

APEX_UTIL.set_session_state may or may not commit

When should you commit or rollback a transaction? As late as possible, I would have thought, based on most of the advice in the Oracle world. You certainly want this to be predictable and consistent,...

View Article


Image may be NSFW.
Clik here to view.

Proposed wrapper for APEX_UTIL.set_session_state

I decided to try using a wrapper procedure to isolate calls to APEX_UTIL.set_session_state in an autonomous transaction. I’m currently using it in a project and seeing how it goes in terms of...

View Article

Image may be NSFW.
Clik here to view.

Don’t (always) call v()

Instead of calling a function, when you can get the same effect by accessing a documented PL/SQL variable, you should. For example: v('APP_USER') = APEX_APPLICATION.g_user v('REQUEST') =...

View Article

Image may be NSFW.
Clik here to view.

Don’t mess with my page, bro

One of my clients reported an issue – they were seeing ”Waiting for 1.2.3.4″ and a blank screen when they tried to access the Apex web site I’d built for them. They were using Mozilla on a Windows PC,...

View Article


Image may be NSFW.
Clik here to view.

APEX: Save a user’s checkbox selection on local PC

You want a checkbox item on a page which is a preference, you want it to be remembered for the user across login sessions, but you don’t want the overhead of storing it in a database table. You might...

View Article

Image may be NSFW.
Clik here to view.

Autoformat ANY amount item, anywhere

If you’re building a “finance-ey” application you probably have plenty of fields that should show and accept monetary amounts – and quite possibly these items may be implemented in a variety of ways –...

View Article

Image may be NSFW.
Clik here to view.

Show/Hide Multi-row Delete button for a Tabular Report

I have a standard tabular report with checkboxes on each row, and a multi-record delete button called MULTI_ROW_DELETE. If the user clicks the button before selecting any records (or if there are no...

View Article


Image may be NSFW.
Clik here to view.

Add a Dynamic Total to a Tabular Report

I have a Tabular Report with an editable Amount item. When the page loads, the total amount should be shown below the report; and if the user updates any amount on any row, the total amount should be...

View Article


Image may be NSFW.
Clik here to view.

Show an animated “Please wait” indicator after page submit

My application normally responds to button clicks with sub-second performance, but there were a few operations where users can initiate quite long-running transactions (e.g. up to 15 seconds long in...

View Article

Image may be NSFW.
Clik here to view.

Submit from jQuery modal causing session state protection violation

Don’t you hate those nagging issues where you attempt a few fixes in vain, waste hours of your life, and then suddenly the issue just resolves itself? What’s worse than an issue that won’t go away is...

View Article

Image may be NSFW.
Clik here to view.

Next/Previous buttons from Interactive Report results

What could be simpler than a set of “Next” and “Previous” buttons? I love Interactive Reports, they make it easy to deliver a lot of power to users for very little development effort. However, with...

View Article

Image may be NSFW.
Clik here to view.

Help for your keyboard users

Apex’s Blue Responsive Theme 25 is a great theme for building a user-friendly website, and unlike many other themes which make the item labels clickable to get help, it renders little question-mark...

View Article


Image may be NSFW.
Clik here to view.

Sample TAPI Apex Application

If you attended my presentation at AUSOUG Perth earlier this month, or if you’ve had a peek at the slides, you may be interested in a more concrete demonstration of the ideas presented. So if you’d...

View Article

Image may be NSFW.
Clik here to view.

Calculate Age in Javascript

I had a registration form in Apex which asks the applicant to enter their Date of Birth in a date item; I then needed to calculate how old they would be at the start of the event, which determines a...

View Article


Image may be NSFW.
Clik here to view.

Custom html for an Apex generated item? jQuery to the rescue

The apex application I’m working on has a search filter on a report page that looks like this: The list of values is based on a user-defined “ref codes” table, which includes an option “Show By...

View Article

Image may be NSFW.
Clik here to view.

Review all item help texts

The business analyst or QA wants to check all the help texts for all items in your apex application – don’t force them to navigate to each page and click on the labels, one by one; instead, give them a...

View Article


Image may be NSFW.
Clik here to view.

Static File not updating in runtime Apex environment

The UAT environment is a runtime Apex installation (4.2.4.00.08) and all deployments are done via SQL scripts. My application uses a small number of static files that for convenience we are serving...

View Article

Image may be NSFW.
Clik here to view.

Remove punctuation from string using Javascript

I’m a morning person, and my mind is usually sharpest on Monday or Tuesday mornings, so these are the best times for me to work on fiddly javascript stuff. Today was one of those mornings and here are...

View Article

Image may be NSFW.
Clik here to view.

Tabular Form – set default values with jQuery

I have a simple tabular form with a numeric “sort order” column. I want the value of this column to be defaulted automatically, based on the maximum value of the rest of the records on the screen....

View Article
Browsing all 101 articles
Browse latest View live


Latest Images