Announcement Announcement Module
Collapse
No announcement yet.
Spring portlet mvc set event in resource handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring portlet mvc set event in resource handling

    I am working on spring mvc portlet with flex integration.
    While integrating flex and spring portlet we found out the only way to send data to flex from portlet is through resource handling .Coz
    1.The flex is sending the request not the portlet-- can be resource or action req
    2.The data to be sent back to flex cannot be sent through ModelAndView obj or request or session coz flex is unaware of these objects as the flex obj itself is placed inside the portlet.
    3.So we are sending data through PrintWriter obj ( any other solution is welcomed).Action response dosent have getWriter() method to get this obj only resource response has so we had to use resource handling.

    Any other way of integration please free to tell.


    Now the problem has come when we were trying to do portlet communication all the portlets has flex in them so we are using resource handling for all.
    But to setEvent in the portlet the resource response cannot set an event only action response and event response can set an event.So we are stuck with resource handling which cannot set an event but we have to do it.

    The code is basic portlet which extends abstract controller and implements resource aware controller and the dest portlet also implementing eventaware controller...

    Is there any other way to integrate flex and portlet. if not how to set event in our portlet from resource handling....
Working...
X