-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I found out that in the composer methods: doBeforeCompose() and doBeforeComposeChildren() , the "session" member variable is always null. It is not set until doAfterCompose() is called. Any practical reasons that the session is not set earlier? I need to do some preparation work before the component is composed, but it requires access to the session.
Thanks.
-JJ
You can access the current session with Sessions.getCurrent().
Asked: 2012-07-19 20:27:36 +0800
Seen: 118 times
Last updated: Jul 20 '12