• 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

Pass ActionMessages from one Action to another action class

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I use a popup window to create or edit an object. Once the operation is performed I want to show the success message when the parent window is refreshed. So, here are the steps I follow:
  • Open the object to edit.
  • Popup window opens, do Edit , Save. (Action1 handles this) Save closes popup window
  • Parent window refresh (Action2 handles this).


  • I am setting the success message in Action1, do a forward to Action2. How do I pass the messages to Action2?

    Please help.
     
    Nick Sher
    Ranch Hand
    Posts: 78
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Fixed it myself, I used store interceptor.
    reply
      Bookmark Topic Watch Topic
    • New Topic