Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
WebSpeed API Reference : set-attribute-list
 

set-attribute-list

This procedure accepts the value of the complete object attribute list and runs procedures to set individual attributes.

Location

web2\admweb.p

Parameters

INPUT p-attr-list AS CHARACTER
A comma-delimited attribute list with the format name=value. Typical attributes are web-timeout, web-state, and web-timeout-handler. Other names can be used provided the getAttribute procedure exists in the target procedure to handle them.

Notes

Not all attributes are settable. Those which are a part of an event such as enable\disable (which set ENABLED on\off) or hide\view (which set HIDDEN on\off) can be queried through getAttribute, but are read-only.

Examples

RUN set-attribute-list ("web-state=persistent, web-timeout=60").

See also

available-messages