Examples of JspTagConfig


Examples of com.liferay.faces.util.jsp.JspTagConfig

  private String classType;
  private String var;

  // Workaround for https://issues.liferay.com/browse/FACES-1576
  public ImportConstants() throws Exception {
    super(new JspTagConfig());
  }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

            PageFlowConfig pfConfig = parsePfConfig(document);
            PageFlowFactoriesConfig pfFactoriesConfig = parsePfFactoriesConfig(document);
            SharedFlowRefConfig[] sharedFlowRefConfigs = parseSharedFlowRefConfigs(document);
            RequestInterceptorsConfig requestInterceptorsConfig = parseRequestInterceptorsConfig(document);

            JspTagConfig jspTagConfig = parseJspTagConfig(document);
            ExpressionLanguagesConfig elConfig = parseExpressionLanguageConfig(document);
            TypeConverterConfig[] typeConvertersConfig = parseTypeConvertersConfig(document);
            UrlConfig urlConfig = parseUrlConfig(document);
            IteratorFactoryConfig[] iteratorFactories = parseIteratorFactoryConfig(document);
            PrefixHandlerConfig[] prefixHandlers = parsePrefixHandlerConfig(document);
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

        String tmp = null;
        Element elem = DomUtils.getChildElementByName(document.getDocumentElement(), "jsp-tag-config");

        if(elem == null)
            return new JspTagConfig();

        tmp = DomUtils.getChildElementText(elem, "doctype");
        if(tmp != null) {
            if(tmp.equals("html4-loose"))
                docType = DocType.HTML4_LOOSE;
            else if(tmp.equals("html4-loose-quirks"))
                docType = DocType.HTML4_LOOSE_QUIRKS;
            else if(tmp.equals("xhtml1-transitional"))
                docType = DocType.XHTML1_TRANSITIONAL;
        }

        tmp = DomUtils.getChildElementText(elem, "id-javascript");
        if(tmp != null) {
            if(tmp.equals("default"))
                idJavascript = IdJavascript.DEFAULT;
            else if(tmp.equals("legacy"))
                idJavascript = IdJavascript.LEGACY;
            else if(tmp.equals("legacyOnly"))
                idJavascript = IdJavascript.LEGACY_ONLY;
        }

        treeImageLocation = DomUtils.getChildElementText(elem, "tree-image-location");

        return new JspTagConfig(docType, idJavascript, treeImageLocation);
    }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

     * @return the default location of the tree images.
     */
    public static String getTreeImageLocation()
    {
        if (defaultTreeImageLocation == null) {
            JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
            if (tagConfig != null) {
                String s = tagConfig.getTreeImageLocation();
                defaultTreeImageLocation = (s != null) ? s : InheritableState.DEFAULT_IMAGES;
            }
            else
                defaultTreeImageLocation = InheritableState.DEFAULT_IMAGES;
        }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

    /**
     * This will set the JavaScript support level for the id and name attributes.
     */
    private static void setLegacyJavaScriptMode()
    {
        JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
        if (tagConfig != null) {
            javascriptMode = tagConfig.getIdJavascript().getValue();
        }
        else {
            javascriptMode = IdJavascript.INT_DEFAULT;
        }
    }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

     * @return the default location of the tree images.
     */
    public static String getTreeImageLocation()
    {
        if (defaultTreeImageLocation == null) {
            JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
            if (tagConfig != null) {
                String s = tagConfig.getTreeImageLocation();
                defaultTreeImageLocation = (s != null) ? s : InheritableState.DEFAULT_IMAGES;
            }
            else
                defaultTreeImageLocation = InheritableState.DEFAULT_IMAGES;
        }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

    /**
     * This will set the JavaScript support level for the id and name attributes.
     */
    private static void setLegacyJavaScriptMode()
    {
        JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
        if (tagConfig != null) {
            javascriptMode = tagConfig.getIdJavascript().intValue();
        }
        else {
            javascriptMode = JspTagConfig.IdJavascript.INT_DEFAULT;
        }
    }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

            PageFlowConfig pfConfig = parsePfConfig(document);
            PageFlowFactoriesConfig pfFactoriesConfig = parsePfFactoriesConfig(document);
            SharedFlowRefConfig[] sharedFlowRefConfigs = parseSharedFlowRefConfigs(document);
            RequestInterceptorsConfig requestInterceptorsConfig = parseRequestInterceptorsConfig(document);

            JspTagConfig jspTagConfig = parseJspTagConfig(document);
            ExpressionLanguagesConfig elConfig = parseExpressionLanguageConfig(document);
            TypeConverterConfig[] typeConvertersConfig = parseTypeConvertersConfig(document);
            UrlConfig urlConfig = parseUrlConfig(document);
            IteratorFactoryConfig[] iteratorFactories = parseIteratorFactoryConfig(document);
            PrefixHandlerConfig[] prefixHandlers = parsePrefixHandlerConfig(document);
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

        String tmp = null;
        Element elem = DomUtils.getChildElementByName(document.getDocumentElement(), "jsp-tag-config");

        if(elem == null)
            return new JspTagConfig();

        tmp = DomUtils.getChildElementText(elem, "doctype");
        if(tmp != null) {
            if(tmp.equals("html4-loose"))
                docType = DocType.HTML4_LOOSE;
            else if(tmp.equals("html4-loose-quirks"))
                docType = DocType.HTML4_LOOSE_QUIRKS;
            else if(tmp.equals("xhtml1-transitional"))
                docType = DocType.XHTML1_TRANSITIONAL;
        }

        tmp = DomUtils.getChildElementText(elem, "id-javascript");
        if(tmp != null) {
            if(tmp.equals("default"))
                idJavascript = IdJavascript.DEFAULT;
            else if(tmp.equals("legacy"))
                idJavascript = IdJavascript.LEGACY;
            else if(tmp.equals("legacyOnly"))
                idJavascript = IdJavascript.LEGACY_ONLY;
        }

        treeImageLocation = DomUtils.getChildElementText(elem, "tree-image-location");
        treeRendererClass = DomUtils.getChildElementText(elem, "tree-renderer-class");

        return new JspTagConfig(docType, idJavascript, treeImageLocation, treeRendererClass);
    }
View Full Code Here

Examples of org.apache.beehive.netui.util.config.bean.JspTagConfig

     * @return the default location of the tree images.
     */
    public static String getTreeImageLocation()
    {
        if (defaultTreeImageLocation == null) {
            JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
            if (tagConfig != null) {
                String s = tagConfig.getTreeImageLocation();
                defaultTreeImageLocation = (s != null) ? s : InheritableState.DEFAULT_IMAGES;
            }
            else
                defaultTreeImageLocation = InheritableState.DEFAULT_IMAGES;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.