Foros de discusión
Struts JSR286 Dispatcher for event handling
Ankur Srivastava, modificado hace 12 años.
Struts JSR286 Dispatcher for event handling
Junior Member Mensajes: 58 Fecha de incorporación: 9/11/08 Mensajes recientes
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 hace 11 años.
RE: Struts JSR286 Dispatcher for event handling
New Member Mensajes: 4 Fecha de incorporación: 2/10/12 Mensajes recientes
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.