Announcement Announcement Module
No announcement yet.
Showing Info Message with MessageContext on State change Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Showing Info Message with MessageContext on State change

    Hello together,

    when i do some stuff on a transition between to states i want display a info message on the following view-state with something like that:

    context.getMessageContext().addMessage(new MessageBuilder().info().defaultText("Success!").build());
    I dont know if this is the right way. Please give me a hint if there is a better solution.

    But the real problem is that the message is only shown when i do this on the following view-state on the previous view-state (where the stuff is done) nothing happens. Have someone a idea how to solve this problem?

    thank you and regards


  • #2
    Hello Willi

    Read the Spring Web Flow Reference Guide. You should read all the flow Scope availables within SWF, each one has its own behavior. You should be careful about where you create and save such message and where you expect to be show

    Let me know your advance