I am trying to access the user information, after login,
in a JXTemplate Generator page, which is *not* called
by any flow...
I have tried:
#{cocoon/session/context/authentication/authentication/ID}
and
#{cocoon/session-context/authentication/authentication/ID}
I have also tried passing the info, from within the sitemap,
as parameters:
<map:generate type="jx" src="docs/mypage.jx">
<map:parameter name="userID"
value="{session-context:authentication/authentication/ID}"/>
</map:generate>
And then accessing the parameter as follows:
#{cocoon/parameters/userID}
and
${cocoon.parameters.getAttribute('userID')}
But without any success... if anyone can point me
to the right syntax, or appropriate method, I would
appreciate it!
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]