The system function J2EELib.setRequestAttr uses a specified key to place a specified argument in the request object. This function is useful in PageHandlers and in programs that run in Web applications. You can retrieve the argument later by using the system function J2EELib.getRequestAttr.
J2EELib.setRequestAttr( key STRING in, argument attribute in)
In the generated Java™ output, item arguments are passed as primitive Java objects (String, Integer, Decimal, and so on). Record arguments are passed as record beans. Arrays are passed as an array list of the associated type. The argument object is placed in the servlet's request collection and is available for access as long as the servlet request is valid. Submitting a form from a page causes the creation of a new request.
Related concepts
Syntax diagram for EGL functions
PageHandler
Related reference
EGL library J2EELib
getRequestAttr()