cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Acessing request within a avalon component?
Date Wed, 13 Oct 2004 14:53:56 GMT
Stephan Coboos wrote:
> Hello,
> 
> is it possible to access the current request within a avalon component 
> without passing it as parameter?
> 
> Thank you!
> 
> Regards
> Stephan
> 
Make your component contextualizable and then:
Map objectModel = ContextHelper.getObjectModel(this.context);
Request request = ObjectModelHelper.getRequest(objectModel);

my regards

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message