Products Downloads


French version


 

 

      

      

      

WADELIA

      

 

 

 

(I) (C)

 

 

Section for use

SFTKY_PROCESS

 

Syntax

SFTKY AdeliaWebObject SftkyType

 

SftkyType

*AJAX | None

 

Description

This instruction triggers generation of a "softkey" button just after the Adelia Web object in question.

When the user clicks on this button, it runs the sequence of WADELIA instructions placed between SFTKY and END_SFTKY.

 

When SftkyType is *AJAX, the WADELIA instruction sequence placed between SFTKY and END_SFTKY is run in AJAX mode.

 

Should the instruction relate to a graphic object included in a list, then the system takes care of initializing the context with the values of the current line in the list, for the SFTKY instruction. Likewise, for the END_SFTKY instruction, it updates the fields in the current line with the context values.

 

To replace the image for all of the page's softkey buttons, either:

- replace the AWSSoftkey.gif file (located in the site's AWSResources subdirectory),

- or define a CSS class named AWSImgSftky and set a value for the background-image attribute.

Example:

<style type="text/css">

.AWSImgSftky {background-image: URL("../images/softkey.gif");}

</style>

 

To replace the image for one prompt button on the page, define a CSS class named <Field name>SOFTKY, where <Field name> is the name of the input field that has a softkey, and set a value for the background-image attribute.

Example: Changing the image for the EF_1 input fields softkey button,

<style type="text/css">

#EF_1SFTKY {background-image: URL("../images/softkeyEF_1.gif");}

</style>

 

Note: When the program is created with browser Previous / Next button support enabled, the event which triggers the SFTKY is reversible.

 

Example

SFTKY  ZCLIENT_CODE

   PROCESS_PGM  CLIENT_PGM  *BACK  ZCLIENT_CODE

END_SFTKY

 

See also the list of 4GL instructions by topic

↑ Top of page


  • Aucune étiquette