You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Pugh, Eric" <EP...@MuseumCompany.com> on 2001/11/13 22:50:13 UTC
Is there a page session object?
Hi,
I am building up a list of selected files on a page... Is there a session
object with something like "just this page"?
I know that I could store this data in the user object, or in the global
object.. How do people typically store data for just one page?
I know in JSP and stuff there are some ways, what is the Turbine preferred
way?
Eric
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Is there a page session object?
Posted by bp...@pacbell.net.
There are 2 ways: push the information into the context using a screen
class or pull the information into the context using a custom PullService
request scope tool. In your case, it sounds like using the push method
may be appropriate since the functionality sounds like it is specific to a
particular page and is a simple matter of putting a hashtable (or other
collection) into the context to accumulate the list. Pull is more
appropriate for tools (like $link) that are universally applicable on any
template.
-B
On Tue, 13 Nov 2001, Pugh, Eric wrote:
> Hi,
>
> I am building up a list of selected files on a page... Is there a session
> object with something like "just this page"?
>
> I know that I could store this data in the user object, or in the global
> object.. How do people typically store data for just one page?
>
> I know in JSP and stuff there are some ways, what is the Turbine preferred
> way?
>
> Eric
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
===========================
Brian Lawler
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>