[Building Sakai] Sakai session variables/passing parameters to the Web Content tool?
Seth Theriault
slt at columbia.edu
Thu Feb 24 08:09:09 PST 2011
Matthew Jones wrote:
> By default all of these except ${SESSION_ID} are included in
> this property. private static final String
> MACRO_DEFAULT_ALLOWED =
> "${USER_ID},${USER_EID},${USER_FIRST_NAME},${USER_LAST_NAME},${SITE_ID},${USER_ROLE}";
You can add ${SESSION_ID} to the allowed list with this
sakai.properties setting:
iframe.allowed.macros=${USER_ID},${USER_FIRST_NAME},${USER_LAST_NAME},${SITE_ID},${USER_ROLE},${SESSION_ID}
In addition, this setting accepts macros for site properties in
the form of:
${SITE_PROP:name-of-the-property}
See SAK-5464 for the work that was done on this.
Seth
More information about the sakai-dev
mailing list