send portlet message every time
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > send portlet message every time




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    send portlet message every time  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register