Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Debugging 使用ui:debug facelet标记时组件树未展开_Debugging_Jsf_Facelets - Fatal编程技术网

Debugging 使用ui:debug facelet标记时组件树未展开

Debugging 使用ui:debug facelet标记时组件树未展开,debugging,jsf,facelets,Debugging,Jsf,Facelets,我最近将web应用程序的masterLayout模板移动到了一个外部jar中,如这里的答案所述 因为我没有使用任何托管bean。我没有在jar中包含faces-config.xml 我有一个扩展此主布局的本地模板。应用程序运行良好。但我注意到,当我打开调试输出窗口时。组件树不会展开,但作用域变量会很好地展开。(在此过渡之前,它运行良好) 本地模板 ui:compositionxmlns=”http://www.w3.org/1999/xhtml" xmlns:h=”http://java.su

我最近将web应用程序的masterLayout模板移动到了一个外部jar中,如这里的答案所述

因为我没有使用任何托管bean。我没有在jar中包含faces-config.xml

我有一个扩展此主布局的本地模板。应用程序运行良好。但我注意到,当我打开调试输出窗口时。组件树不会展开,但作用域变量会很好地展开。(在此过渡之前,它运行良好)

本地模板

ui:compositionxmlns=”http://www.w3.org/1999/xhtml" xmlns:h=”http://java.sun.com/jsf/html" xmlns:f=”http://java.sun.com/jsf/core" xmlns:ui=”http://java.sun.com/jsf/facelets" xmlns:p=”http://primefaces.prime.com.tr/ui" template=“/templates/masterLayout.xhtml”

index.xhtml

ui:compositionxmlns=”http://www.w3.org/1999/xhtml" xmlns:h=”http://java.sun.com/jsf/html" xmlns:f=”http://java.sun.com/jsf/core" xmlns:ui=”http://java.sun.com/jsf/facelets" xmlns:p=”http://primefaces.prime.com.tr/ui" template=“/templates/localTemplate.xhtml”

起初我以为可能是这个bug 但这在2008年是固定的


我使用的是JSF2.0.6.FCS,Primefaces 2.2.1。有什么想法吗?

我发现..我拥有这个主布局的外部项目已经被用于JSF1.2项目。我刚刚添加了一个JSF2.0资源解析器。因此,构建脚本从该项目中提取facelets-1.1.14.jar,因此从未使用JSF2.0 facelets。所以我从我的ivy依赖项中排除了jar文件,解决了这个问题。

我发现..我拥有这个主布局的外部项目已经被用于JSF 1.2项目。我刚刚添加了一个JSF2.0资源解析器。因此,构建脚本从该项目中提取facelets-1.1.14.jar,因此从未使用JSF2.0 facelets。所以我从我的常春藤依赖项中排除了jar文件,解决了这个问题