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
def cat1S = Sessions.getCurrent().getAttribute("cat1S") and
Sessions.getCurrent().setAttribute("cat1S",Categorie1.get(cat1Search.selectedItem.value))