You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Stavrinides <P....@albourne.com> on 2008/12/17 12:35:54 UTC

How to retrieve a list of ASO's from Tapestry

Hi!

For a single object I use ApplicationStateManager.get(Class<T> asoClass), I am looking for something similar... but a collection. is the possible?

Thanks
Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to retrieve a list of ASO's from Tapestry

Posted by Peter Stavrinides <P....@albourne.com>.
Thanks Geoff not pretty but it works.


----- Original Message -----
From: "Geoff Callender" <ge...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Wednesday, 17 December, 2008 2:00:08 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Re: How to retrieve a list of ASO's from Tapestry

There may be a better way, but one technique would be to get the  
attributes from the Session.  You're looking for the attributes whose  
name starts with "aso:"

   @Inject
   private Session session;

This may help you: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/displaysessioncontents

Cheers,
Geoff

On 17/12/2008, at 10:35 PM, Peter Stavrinides wrote:

> Hi!
>
> For a single object I use ApplicationStateManager.get(Class<T>  
> asoClass), I am looking for something similar... but a collection.  
> is the possible?
>
> Thanks
> Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to retrieve a list of ASO's from Tapestry

Posted by Geoff Callender <ge...@gmail.com>.
There may be a better way, but one technique would be to get the  
attributes from the Session.  You're looking for the attributes whose  
name starts with "aso:"

   @Inject
   private Session session;

This may help you: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/displaysessioncontents

Cheers,
Geoff

On 17/12/2008, at 10:35 PM, Peter Stavrinides wrote:

> Hi!
>
> For a single object I use ApplicationStateManager.get(Class<T>  
> asoClass), I am looking for something similar... but a collection.  
> is the possible?
>
> Thanks
> Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>