Announcement Announcement Module
Collapse
No announcement yet.
Returning status message to users. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Returning status message to users.

    Hi

    What is best practice when it comes to returning status messages from a controller to a view.

    In liferay I use something similar to this.

    From the controller
    Code:
    SessionMessages.add(actionRequest, "your-key");
    in the jsp
    Code:
    <liferay-ui:success key="your-key" message="your-message" />
    How do you do it?

    Thanks
Working...
X