Products Downloads


French version


 

 

      

      

      

WADELIA

      

 

 

 

(I/B) (C)

 

 

Section for use

WORK_WITH_EVENTS, INIT_PGM, SFTKYS_PROCESS and BACK

 

Syntax

PROCESS_URL Url ProcessType CallType

Url

Þ

'AlphaConstant' | &AlphaVarId

ProcessType

Þ

*FORWARD | *REDIRECT

CallType

Þ

*STAY_ACTIVE | None

 

Description

This instruction stops the current process and triggers processing of the Url URL.

 

We do not recommend using this instruction in an AJAX event processing block, if this instruction is systematically executed. This is because it loads a complete new page, as for a non-AJAX event.

 

Instructions placed after PROCESS_URL will not be executed.

 

In the event of a *FORWARD, the requested URL is directly forwarded (this one must be located in the same Web application as the program; if not, there is an error at runtime).

 

For a *REDIRECT, a request is sent directly to the client Web browser so that it connects (automatically) to the requested URL.

 

If the *REDIRECT parameter is used, the 'Request' context cannot be sent to the URL called.

The 'Session' or 'Application' level context cannot be sent to the URL called unless this URL concerns the same Web application as the current program.

 

The *STAY_ACTIVE parameter lets you specify that the current page must remain active and consequently, Adelia keeps the context of the loaded current program.

 

Example

PROCESS_URL  'myjsp.jsp'  *FORWARD

HARDIS_SITE = 'http://www.hardis.com'

PROCESS_URL  &HARDIS_SITE  *REDIRECT

 

See also the list of 4GL instructions by topic

↑ Top of page

  • Aucune étiquette