When a component uses a header to pass state data between the client and the server, the data is comprised of a map of key/value pairs that reconstruct the component on the next request. This encoded and signed data is keyed on the component name. The value is the child map of key/value pairs used to reconstruct the component. The header value is a string representation of this map. For example:
{ /atg/userprofiling/ProfileLoadableService = {securityStatus=0, activePromotions=, userId=1160002} }
To configure a component to pass state information within the headers, add the Nucleus component path to a request-scoped instance of LoadableService
to the loadableServicePaths
property in the RequestStateManager
:
loadableServicePaths=\ /atg/userprofiling/ProfileLoadableService