Package org.adempiere.webui.factory
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFeedbackRecipient
(String scValue) Get recipient emails from AD_SysConfig configurationprotected String
void
onEvent
(org.zkoss.zk.ui.event.Event event) protected void
showEmailDialog
(byte[] imageBytes) Show email dialog with screenshot attachment
-
Constructor Details
-
EmailSupportAction
protected EmailSupportAction(boolean errorOnly) - Parameters:
errorOnly
-
-
-
Method Details
-
onEvent
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
getFeedbackSubject
- Returns:
- Feedback subject
-
showEmailDialog
protected void showEmailDialog(byte[] imageBytes) Show email dialog with screenshot attachment- Parameters:
imageBytes
- screenshot attachment content
-
getFeedbackRecipient
Get recipient emails from AD_SysConfig configuration- Parameters:
scValue
- AD_SysConfig.Name- Returns:
- comma separated list of recipient emails
-