File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using MessageStoreInterceptor on selective messages.

 
Nick Sher
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I edit an object in a popup window. On success, I close this popup window and display success message in parent window, and on failure, I display the error message in popup window.

I am using MessageStoreInterceptor to display the success message on parent page. However, the failure message is also displayed on the parent page.

Is there anyway I can propagate only success messages and not the failure messages?

Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not with the out-of-the-box functionality, no.
 
Nick Sher
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I gave up after trying to find a workaround. How do I manage to do this?
 
Nick Sher
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know, for some reason, this seems to me like a basic requirement that shows up again and again for me. Is there anyway to display a message after a redirect action.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, the message store interceptor, no?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic