Closed velo6raptor closed 12 years ago
Please could you give me an answer ? Thanks in advance
i found no need
Use org.zkoss.zk.ui.Executions.current.session
to get a session which was dynamic injection in zkui composer,so you can direct access to the session by getSession()
mothod in composer.
Thanks
Hi all,
I'd like to recover the user session in a Composer, i don't know how to do ? I put the user in session in the authenticate function of the grails controller with session.util = util I'd like to recover it in a ZK page based on a Composer What is the line code, what api is called ? import org.zkoss.zk.ui.http.SimpleSession ? import org.zkoss.zk.ui.Sessions ?
Thanks