I have a problem with session var in sj:head:
<sj:head locale="%{#session.language}" jqueryui="true" jquerytheme="%{#session.viewTheme}" />
Doesn't set either locale or theme. Variables are set properly, line below displays correct values:
selected locale: <s:property value="%{#session.language}"/><br>
selected theme: <s:property value="%{#session.viewTheme}"/>
I played with #session.var %{#session.var} and similar and none of them works. How can I use session vars in sj:head?