我在以下是错误
jsf.js.xhtml?ln = javax.faces:1未介绍的typeError:无法设置属性 null的'adp'
当我添加 h:form
以使用 h:commandLink
<h:form>
<h:commandLink value="View AMC" action="#{treeTableManagedBean.redirectPage()}" />
</h:form>
我猜你在HTML或JSF页面中不允许将此h:form
放在h:form
的另一个h:form.Nesting
中。再次检查。
我曾经面对这个问题。这就是我要出于例外的原因。
尝试使用h:commandbutton,为我工作。