• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Action Errors & GLOBAL_ERROR

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,
Could someone explain the difference between the two :

Could some onle please explain when I need to use GLOBAL_ERROR and when not to ?
Thanks in advance ,
-satish
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by satish pune:
Hello ,
Could someone explain the difference between the two :

Could some onle please explain when I need to use GLOBAL_ERROR and when not to ?
Thanks in advance ,
-satish


You can use store all your ActionError-s against ActionErros.GLOBAL_ERROR
if you dont want to access them individually. I mean in cases where you want to spit out all the error-s @ the same time using

But if you want access to specfic errors, then as you can a different key as you have indicated in the code that you have posted.
In that case the tag might look like this:
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic