liferay-docs icon indicating copy to clipboard operation
liferay-docs copied to clipboard

Update using-liferay-ui-success-and-error-messages.markdown

Open pei-jung opened this issue 9 years ago • 3 comments

A new feature has been added to display default warning message (please see https://github.com/brianchandotcom/liferay-portal/pull/24417).

To display a default warning message, add the warning message you want to display with the key warning in SessionErrors. SessionErrors.add(request, "warning", "your-warning-message");

I would suggest documenting this in the section where default success/error messages in portlets is documented, but I couldn't find it. For more info on default messages, please see https://www.liferay.com/community/wiki/-/wiki/Main/User+Feedback+-+Success+and+Error+Messages+in+Portlets.

Please let me know if you have any questions.

pei-jung avatar Mar 12 '15 22:03 pei-jung

Hi Pei-Jung,

Can you confirm that this is getting backported to 6.2 EE/CE? I see that you sent this PR to the 6.2.x branch, but the feature pull to Brian was to master.

Thanks!

sez11a avatar Mar 13 '15 13:03 sez11a

Hi Rich,

The new feature doesn't get backported to 6.2. It's only for master. I sent PR to the 6.2.x branch because I couldn't find the markdown file on the master branch.

pei-jung avatar Mar 13 '15 16:03 pei-jung

Yes, we have recently cleared out the master branch in preparation for working on 7.0 documentation. Thanks for your submission. If you're ever unsure of where to put something, just put it in the new-articles folder in either the develop, discover, or distribute folders.

sez11a avatar Mar 13 '15 18:03 sez11a