Henrik Schlanbusch <henrik <at> enovate.no> writes:

> 
> Hi all
> 
> Is it possible to get access to an instance 
> of a page without using the InjectPage 
> annotation? I know the logical name of the
> page - the string "groupEditor", and would
> like get an instance of the page, and run
> some getters on it. I have the logical names
> in a map, and do not have the option to 
> use annotations to get access  to a page
> instance.
> 
> Henrik
> 

Sorry for the double posting. The soloution 
was found thanks to Shing: 

 @Inject
  private ComponentSource compSource;

MyPage comp = (Mypage) compSource.getPage(pageId);

Henrik





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

Reply via email to