Excellent.. Thanks Thiago. Ill give that a go.

-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] 
Sent: 18 January 2010 15:03
To: Tapestry users
Subject: Re: Passing Activation parameters to a page

On Mon, 18 Jan 2010 12:18:10 -0200, <aidan.oha...@bt.com> wrote:

> I have a large collection of lots of different Objects of varying 
> classes (all stemming from the one superclass) and have a view/edit 
> page for each of them.  Instead of a big switch I simply wanted to 
> redirect to page "viewthe"+selectedType and then pass the ID;

Use the ComponentSource service and its getPage(String name) method.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
instructor Owner, software architect and developer, Ars Machina Tecnologia da 
Informação Ltda.
http://www.arsmachina.com.br

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


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

Reply via email to