Re: Getting a page context in a embedded component

2015-01-25 Thread Ilya Obshadko
you may @Inject ComponentEventLinkEncoder and then PageRenderRequestParameters requestParams = componentLinkEncoder.decodePageRenderRequest(request) requestParams.getActivationContext() will give you what you want On Sun, Jan 25, 2015 at 6:45 PM, Boris Horvat wrote: > Hi all, > > What is the

Getting a page context in a embedded component

2015-01-25 Thread Boris Horvat
Hi all, What is the best way to let the component on same page know what was the context used on that page? I have a Header like component that should mark the page that is selected, As not all pages have context I would like to avoid passing context to the component directly if possible. I cou