Class HelpController

java.lang.Object
org.adempiere.webui.panel.HelpController

public class HelpController extends Object
Author:
Elaine
  • Constructor Details

    • HelpController

      public HelpController()
      Default constructor
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, IDesktop desktopImpl)
      Render tooltips, context help and quick info.
      Parameters:
      parent -
      desktopImpl -
    • setupFieldTooltip

      public void setupFieldTooltip()
      Setup client side script for field tooltip
    • renderToolTip

      public void renderToolTip(GridField field)
      Render tooltip content for a field
      Parameters:
      field -
    • renderToolTip

      public void renderToolTip(String hdr, String desc, String help, String otherContent)
      Render tooltip content, when hdr == null, show otherContent
      Parameters:
      hdr -
      desc -
      help -
      otherContent -
    • renderCtxHelp

      public void renderCtxHelp(String ctxType, int recordId)
      Render context help (AD_CtxHelpMsg)
      Parameters:
      ctxType -
      recordId -
    • renderQuickInfo

      public void renderQuickInfo(Object obj)
      Render quick info (AD_StatusLine)
      Parameters:
      obj -
    • escapeJavascriptContent

      public static String escapeJavascriptContent(String content)
      Parameters:
      content - content
      Returns:
      masked content or empty string if content is null