Home > ApEx > BRANCH_TO_PAGE_ACCEPT

BRANCH_TO_PAGE_ACCEPT

There is a special REQUEST value you can use in ApEx which I remember seeing some time ago in the forum but have never found a particular use for… until today.

The REQUEST value is: BRANCH_TO_PAGE_ACCEPT. Setting this as the request value causes the page to skip rendering and move straight on to Page Processing (exactly as if the page you are calling had itself been submitted).

So, for example, clicking a link with a URL of: f?p=100:10:12345678:BRANCH_TO_PAGE_ACCEPT

Would be exactly the same as pressing a submit button with no REQUEST value on page 10.

You can, if you wish, also specify a REQUEST value by appending a | and the request value to the end of the URL. So:

f?p=100:10:12345678:BRANCH_TO_PAGE_PROCESSING|MY_REQUEST_VALUE

… is the same as clicking a button called MY_REQUEST_VALUE on page 10.

“Magic! – But what use is that?”

In my next blog entry I’ll write about using this to implement a search available on every page of an application.

About these ads
Categories: ApEx
  1. Nasser
    September 3, 2007 at 7:45 am

    I am stiil waiting too.

  2. May 18, 2007 at 7:28 pm

    Still waiting on your next blog entry ;-)

    Patrick

  1. September 15, 2007 at 3:48 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: