Class HelpController


  • public class HelpController
    extends Object
    Author:
    Elaine
    • Constructor Detail

      • HelpController

        public HelpController()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           IDesktop desktopImpl)
      • setupFieldTooltip

        public void setupFieldTooltip()
      • renderToolTip

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

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

        public void renderCtxHelp​(String ctxType,
                                  int recordId)
      • renderQuickInfo

        public void renderQuickInfo​(GridTab gridTab)
      • escapeJavascriptContent

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