Class SplibThymeleafComponentUtil
java.lang.Object
jp.ecuacion.splib.web.util.SplibThymeleafComponentUtil
Offers utility methods for components.
-
Constructor Summary
ConstructorsConstructorDescriptionSplibThymeleafComponentUtil(jakarta.servlet.http.HttpServletRequest request) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetDeleteConfirmMessage(jp.ecuacion.lib.core.item.EclibItemContainer rootRecord, String itemDisplayedOnDelete) Provides message string shown when the delete button pressed.
-
Constructor Details
-
SplibThymeleafComponentUtil
public SplibThymeleafComponentUtil(jakarta.servlet.http.HttpServletRequest request) Constructs a new instance.- Parameters:
request- request
-
-
Method Details
-
getDeleteConfirmMessage
public String getDeleteConfirmMessage(jp.ecuacion.lib.core.item.EclibItemContainer rootRecord, String itemDisplayedOnDelete) Provides message string shown when the delete button pressed.itemDisplayedOnDelete is able to have multiple items like "itemA,itemB". In that case the resultant string is like '(itemA, itemB) : (1, 2)'.
-