Fórum
Struts JSR286 Dispatcher for event handling
Ankur Srivastava, modificado 12 Anos atrás.
Struts JSR286 Dispatcher for event handling
Junior Member Postagens: 58 Data de Entrada: 09/11/08 Postagens Recentes
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.
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, modificado 11 Anos atrás.
RE: Struts JSR286 Dispatcher for event handling
New Member Postagens: 4 Data de Entrada: 02/10/12 Postagens Recentes
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.
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.