NOTE: This article is an INTERNAL article and is not visible to customers, currently. Please only link this article in internal comments, but not public comments.
Issue
- As a user, I would expect if toast success/error messages remain visible until user acknowledgement (until they are 'manually' closed) in order to make sure not to miss a single notification.
- Current behavior: such messages disappear automatically in a few seconds.
Environment
- DXP 7.1
Resolution
-
Inside
$LIFERAY_HOME/$TOMCAT_HOME/webapps/ROOT/WEB-INF/lib/util-taglib.jar
, adjust the fileutil-taglib/src/com/liferay/taglib/ui/success/toast.tmpl
:
At line 16 (inside ClayToast creation), change the propertyautoClose
from true to false.
Be aware that the original behavior is intended and the described change is considered as a customization. Therefore, could be overwritten in case a hotfix or fix pack is installed and the util-taglib.jar
is also adjusted by them.