[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-user
Subject:    Re: User Session
From:       Bojan Smojver <bojan () binarix ! com>
Date:       2001-09-26 5:06:02
[Download RAW message or body]

Anthony Eden wrote:
> 
> If I have some sort of business logic which populates the context and I know
> that there is an object which is currently in the session but which will be
> used in the presentation layer is it better to add the object to the context
> or to add the session to the context and let the presentation developer use
> the #set directive?

I don't think you should expose session to designers (presentation)
unless absolutely necessary. Give them the object(s) they need would be
my go.

Bojan

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic