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(String rootRecordName, 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
Provides message string shown when the delete button pressed.itemDisplayedOnDeleteには、通常は一つのitemを指定するが、"itemA,itemB"のように複数の項目を指定することも可能。 (natural keyが複数の項目からなる場合に使用) その場合は、(itemA, itemB) : (1, 2) のように括弧で括った形で表現
-