h:命令链接导致 JS 未捕获类型错误:无法设置属性 'adp' 的空值



我在以下是错误

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,为我工作。

最新更新