Proposed new Consumer runtime rendering context
•Topic:  Missing rendering context and runtime environment identification
•Description: JSR 168 requires identification of runtime views of entities (see issue #124). Additional runtime information is also common and valuable. All these can be collected in a new Runtime(Render)Context structure:
•
•ProtocolStructure: RuntimeContext [R] {
[R] String portletId;  // Consumer rendering instance identification
[O] String layoutId;   // Consumer page aggregation / layout group identifier.
[R] Any environmentId; // Producer-side shared session tracking blob
[O] Any extensions; }
•
•ProtocolMethods affected:
–(environmentId, extensions) <-- initEnvironment(registrationContext, groupID);
–interactionResponse <-- performInteraction(refHandle, runtimeContext, ...);
–markupResponse <-- getMarkup(refHandle, runtimeContext, ...);
–possibly deleteRefHandle(>0.8) also
•