Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Ankur Srivastava
Struts JSR286 Dispatcher for event handling
March 8, 2012 2:22 PM

Ankur Srivastava

Rank: Junior Member

Posts: 58

Join Date: November 8, 2008

Recent Posts

Has anyone been able to use the struts 286dispatcher Portlet class to handle events. Kindly share any specific configuration that you did.

When I try to process an event in a struts 2 application the namespace is coming as blank and the application throws an exception.
Sneha Shah
RE: Struts JSR286 Dispatcher for event handling
October 9, 2012 9:33 AM

Sneha Shah

Rank: New Member

Posts: 4

Join Date: October 2, 2012

Recent Posts

I have this partially working.
We have two classes :
Class A - extending the DefaultActionSupport where the actions are implemented
Class B - extending JSR286Dispatcher where the event handling code resides.
So, when an action occurs and message is on the queue(javax.xml.namespace.QName), the method 'processEvent' on class B gets invoked which then invokes the action method on Class A. The only problem is the UI doesnt reflect the change.

Any help is appreciated.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!