Some more questions here.
I need to know when rendering is done, because i want to remove some session
attribute.
I can't do this in my action, because a servlet is used to render some content
based on this session attribute.
After rendering i can remove it safely, but how to know this?
Spring
Why do you need to remove it? If you have to remove it, can the
servlet remove it after it has been used? I'm not sure a safe way
exists to synchronize the rendering of the portlet and the servlet. I
guess in most cases you could probably assume that the rendering is
complete when the result has
Torsten, did you ever solve this? We're having the same problem.
I think it's worth mentioning that the action phase and render phase are
distinct concepts that come directly from the Portlet API, with or without
Struts.
So Torsten's original confusion is ours as well - Struts2 portlet support
I think it's worth mentioning that the action phase and render phase are
distinct concepts that come directly from the Portlet API, with or without
Struts.
So Torsten's original confusion is ours as well - Struts2 portlet support
doesn't seem to separate the two, but rather lump them
I guess that depends on what you're trying to achieve. Interceptors
are typically used for before/after functionality.
Nils-H
On Thu, Aug 14, 2008 at 2:41 PM, Torsten Krah
[EMAIL PROTECTED] wrote:
Hi.
I am wondering if it is possible to hook into the render and action phase of
the portlet
Am Freitag, 15. August 2008 08:11:42 schrieb Nils-Helge Garli Hegvik:
I guess that depends on what you're trying to achieve. Interceptors
are typically used for before/after functionality.
I want to intercept the dispatching of the Render and Action phase of the
portlet, to inject
I think you should be able to write an interceptor to do this. Take a
look at [1] and [2] for some information about how it works and how to
write custom interceptors. All the information you need to access
should be available in the invocation context. You should also take a
look at the
Hi.
I am wondering if it is possible to hook into the render and action phase of
the portlet execution?
If there is not yet such a possibility, where to look for to do this
(something like extending dispatcher portlet ... anything else).
--
Bitte senden Sie mir keine Word- oder
8 matches
Mail list logo