This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction
Satyajeet Kadam
Ranch Hand
Joined: Oct 19, 2006
Posts: 202
posted
0
Q1) What is difference between these classes DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction?
As far as i understand there is one common thing in these classes is that :
All these classes are used to group logical related functions into single Action class.
LookupDispatchAction is used instead of DispatchAction when there is need to internationalized button names. So we implement getMethodkey() to
find appropraite method based on message key.
Q2) When we must go for EventDispatchAction,MappingDispatchAction? how they differ from other 2 classes(i.e DispatchAction and LookupDispatchAction)?