Progress
ADM 2 Reference


enableFields (html-map.p)

Enables object and field form buffer widgets by setting their SENSITIVE attribute to TRUE.

Parameters: None

Returns: Nothing (procedure)

Notes: Commonly used in process–web–request procedure.

Examples:

PROCEDURE process-web-request: 
   IF REQUEST_METHOD = "POST":U THEN DO: 
    /* Copy HTML input field values to the form buffer fields. */ 
    RUN inputFields. 
    /* Find the datasource record that needs to be assigned. */ 
    RUN findRecords. 
    /* Assign form buffer field values to the datasource. */ 
    RUN assignFields. 
    /* Display datasource field values to the form buffer fields. */ 
    RUN displayFields. 
    /* Enable form buffer fields. */ 
    RUN enableFields. 
    /* Output the static HTML page and form buffer field values to the  
web stream. */ 
    RUN outputFields. 
  END. 
END. 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095