tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Using the ViewPreparer - question on migration to Tiles2
Date Sun, 13 Jan 2008 22:30:31 GMT
2008/1/13, Vernon <vwu725@yahoo.com>:
> A problem of the Tiles migration is that I need to
> access a session
> attribute inside of the execute method. I can't see a
> way of accessing a
> Http session inside of the method. How can I solve
> this problem?

TilesRequestContext has the "getSessionScope" method, that is
connected to the session attributes:
http://tiles.apache.org/framework/apidocs/org/apache/tiles/context/TilesRequestContext.html

HTH
Antonio

Mime
View raw message