there is no way to know unless the page was loaded 
and processed by a ComponentClassTransformWorker

as a quick fix you could get all pages from the view 
ComponentClassResolver#getPageNames;  iterate through 
the page names and load them eg. using the PagePool service

g,
kris




chakra <chakri.tut...@gmail.com> 
30.08.2009 17:14
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
Getting list of Pages containing a specific annotation








Hi,
Is there anyway of getting list of all pages containing a specific
annotation.
for example , if I want to get all tapestry page class names containing 
one
annotation @TestPage.

I tried by writing a ComponentClassTransformWorker, but this is working 
only
when the page is invoked.

I tried writing ApplicationInitializerFilter also and using
ComponentClassResolver I can get page names and classes. But I think I 
need
to use some library like javaassit to get only pages with specific
annotation.

Is there any elegant way of doing this?

Chakra
-- 
View this message in context: 
http://www.nabble.com/Getting-list-of-Pages-containing-a-specific-annotation-tp25212402p25212402.html

Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Reply via email to