• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)?

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What did your examination of the Javadocs tell you?
 
reply
    Bookmark Topic Watch Topic
  • New Topic