LPS-32066 do preference switching operation in the Configuration code transparent to the portlet being configured, old behaviour still works, but is unnecessary and potentially dangerous
LPS-32066 SF
LPS-32066 portlets no longer need to do this dirty work on their own, both in JSPs or in configuration actions, the switch is transparent
LPS-32066 replace reference with already in context variable (not for backport)