Class SplibThymeleafComponentUtil

java.lang.Object
jp.ecuacion.splib.web.util.SplibThymeleafComponentUtil

@Component("compUtil") public class SplibThymeleafComponentUtil extends Object
Offers utility methods for components.
  • 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.ItemContainer 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)'.