11-17-05 11:20 PM
I want to send portlet message every time before rendering the JSP. Regardle
ss actionPerformed() and messageReceived() are executed, portlet should send
msg.
i.e call -
getPortletConfig().getContext().send(null,new DefaultPortletMessage(hmMessag
e));
before :
getPortletConfig().getContext().include(VIEW_JSP + getJspExtension(request),
request,response);
Theoritically, as rendering JSP is from doView() and sending PortletMsg code
is in actionPerformed(). I tried invoking "send()" in doView() and/or calli
ng actionPerformed(null) from doView(), but seems Portlet container has rest
rictions to "send" portletm
sg, none other than -actionPerformed().
As after actionPerformed() or messageReceived() , doView() is called, so was
forcing .send() in doView(). But no luck.
Is there a way to "send portlet message every time before rendering the JSP"
.
[ Post a follow-up to this message ]
|