Martin Maidhof wrote:
Hi,

is there a way to clear the render parameters (set in the action
method) in the RENDER method of the portlet ?

Scenario:
- the action method sets render parameters for all sub-sequent
render calls (ActionResponse.setRenderParameter() )
- the doView() method receives this parameters and renders the
right state, so far so good
- but now the portlet gets a message in its RENDER method
(via portlet messaging -> see AbstractVelocityMessagingPortlet)
that it should clear its state (meaning clear the RenderParameters)

How to do that if the action method isn't called ???
I can't find this in the spec ! (it would be nice if you could clear
the parameters in the RenderResponse BUT THIS FUNCTIONALITY IS
MISSING ... or am i missing something ?)

thx for every reply,
   Martin
You can't clear the parameters in the render phase, only in the action phase. In fact the portlet-container must not propagate parameters received in an action request to subsequent render requests of he portlet. If a portlet wants to do that, it must set those in the ActionResponse.

Our portlet messaging implementation is not standardized, so there is no direct interaction between the two. Hopefully the next standard will address these kind of issues

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

Reply via email to