Hi!
Inside portlet I define a class variable, for example to track error
messages. If something goes wrong on processAction I put a value inside that
variable. After processAction a doView is invoked, so inside doView I check
if that variable ha a value, and if it's so I put it on RenderRequest
attributes, so I can render it on the jsp (I prefer dispatch visualization
to a jsp). Obviously I clear the variable.
I don't know if this is the right way to propagate attributes or values from
a processAction to a doView.

On 10/31/06, Keshavan, Rango <[EMAIL PROTECTED]> wrote:

Hi,

Was wondering if anyone has done anything like this?  It seems that if
we set an attribute on the ActionRequest, it's not transferred to the
RenderRequst.  I looked at the JSR168 spec, and it doesn't mention
anything about this.

Also, some thoughts...  Wouldn't it make sense for an attribute that's
set in the ActionRequest to propogate forward to the RenderRequest?
What would be the point in setting an attribute on the ActionRequest,
otherwise???

Thanks.

Rango

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


Reply via email to