Hi,

I've searched high and low for a definitive answer to this, but so far no luck.

I have a java class, a service class, that needs to retrieve a Tapestry
Component.  This service class is 'outside' of Tapestry in that it's not a page,
not a component, nor does it extend any Tapestry base classes.

My question is: how can my service class retrieve a tapestry component?

If we change things slightly and make my Tapestry component a Page instead, then
this problem has an easy solution: simply pass the IRequestCycle to the service
method and use IRequestCycle.getPage(<pagename>), but it seems not possible to
retrieve a Component in this way, or am I missing something?!

Short of injecting the component into some page, retrieving that page in my
service then using IPage.getComponent(), I can't see another way.  (And I really
don't want to do it that way!)

Any help would be greatly appreciated.
Thanks,
Dan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to