src/main/java/org/efaps/ui/wicket/components/help/HelpUtil.java
public static CharSequence getHelp(final long _cmdId)
    {
        CharSequence ret;
        try {
            final Class<?> clazz = Class.forName(Configuration.getAttribute(Configuration.ConfigAttribute.HELPSNIPPROV),
                            false, EFapsClassLoader.getInstance());
            final IHelpProvider provider = (IHelpProvider) clazz.newInstance();
            ret = provider.getHelp(_cmdId);
        } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException
                        | EFapsBaseException e) {
            HelpUtil.LOG.error("ClassNotFoundException", e);
            ret = "";
        }
        return ret;
    }
public static CharSequence getHelp(final long _cmdId)
    {
        CharSequence ret;
        try {
            final Class<?> clazz = Class.forName(Configuration.getAttribute(Configuration.ConfigAttribute.HELPSNIPPROV),
                            false, EFapsClassLoader.getInstance());
            final IHelpProvider provider = (IHelpProvider) clazz.newInstance();
            ret = provider.getHelp(_cmdId);
        } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException
                        | EFapsBaseException e) {
            HelpUtil.LOG.error("ClassNotFoundException", e);
            ret = "";
        }
        return ret;
    }
public static CharSequence getHelp ( final long _cmdId ) { CharSequence ret ; try { final Class < ? > clazz = Class . forName ( Configuration . getAttribute ( Configuration . ConfigAttribute . HELPSNIPPROV ) , false , EFapsClassLoader . getInstance ( ) ) ; final IHelpProvider provider = ( IHelpProvider ) clazz . newInstance ( ) ; ret = provider . getHelp ( _cmdId ) ; } catch ( final ClassNotFoundException | InstantiationException | IllegalAccessException | EFapsBaseException e ) { HelpUtil . LOG . error ( "ClassNotFoundException" , e ) ; ret = "" ; } return ret ; }
Gets the help.

@param _cmdId the cmd id
@return the help
Gets the help .