0
我有一段代码如下错误与咆哮
<p:growl id="noti-growl"/>
<h:form id="login-form">
<p:panel>
<h:commandButton value="Đăng nhập" class="button-login" action="index">
<f:ajax execute="@form" render="noti-growl"/>
</h:commandButton>
</p:panel>
</h:form>
而且我收到了一条错误如下
<f:ajax> contains an unknown id 'noti-growl' - cannot locate it in the context of the component j_idt9
请为我解释一下吗?感谢您的帮助
可能重复[如何引用JSF ajax中的组件?无法在视图中查找标识符为“foo”的组件)(http://stackoverflow.com/questions/8634156/how-to-reference-components-in-jsf-ajax-cannot-find-component-with-identifier) – Andy