Class DefaultFeedbackService.EmailSupportAction

java.lang.Object
org.adempiere.webui.factory.DefaultFeedbackService.EmailSupportAction
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Enclosing class:
DefaultFeedbackService

protected static class DefaultFeedbackService.EmailSupportAction extends Object implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Action class to send feedback email to support
  • Constructor Details

    • EmailSupportAction

      protected EmailSupportAction(boolean errorOnly)
      Parameters:
      errorOnly -
  • Method Details

    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Throws:
      Exception
    • getFeedbackSubject

      protected String getFeedbackSubject()
      Returns:
      Feedback subject
    • showEmailDialog

      protected void showEmailDialog(byte[] imageBytes)
      Show email dialog with screenshot attachment
      Parameters:
      imageBytes - screenshot attachment content
    • getFeedbackRecipient

      protected String getFeedbackRecipient(String scValue)
      Get recipient emails from AD_SysConfig configuration
      Parameters:
      scValue - AD_SysConfig.Name
      Returns:
      comma separated list of recipient emails