[Trinidad] Showing images stored in pageflowscope

View: New views
2 Messages — Rating Filter:   Alert me  

[Trinidad] Showing images stored in pageflowscope

by Walter Mourão-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,
I would like to show images stored in the page flow scope. I could not get the page flow scope reference in the servlet request. Is there a way to do that ? Is there a pattern or example about this kind of thing ?

Thanks in advance,

--
Walter Mourão
http://waltermourao.com.br
http://waltermourao.blogspot.com
http://arcadian.com.br

Re: [Trinidad] [Solved] Showing images stored in pageflowscope

by Walter Mourão-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,
My steps:
1 - created a servlet to show the images
2 - added the flow scope token to the servlet url, using getRequestContext().getPageFlowScopeProvider().encodeCurrentPageFlowScopeURL(getFacesContext(), url);
3 - added the the servlet url-pattern to the trinidad filter, so the servlet has access to the request context and the flow scope

Cheers,

On Thu, May 8, 2008 at 5:05 PM, Walter Mourão <walter.mourao@...> wrote:
Hi folks,
I would like to show images stored in the page flow scope. I could not get the page flow scope reference in the servlet request. Is there a way to do that ? Is there a pattern or example about this kind of thing ?

Thanks in advance,

--
Walter Mourão
http://waltermourao.com.br
http://waltermourao.blogspot.com
http://arcadian.com.br



--
Walter Mourão
http://waltermourao.com.br
http://waltermourao.blogspot.com
http://arcadian.com.br