JSF a4j:commandLink组件不';t在a4j内工作:重复
我的JSF模板中有这样的代码:JSF a4j:commandLink组件不';t在a4j内工作:重复,jsf,seam,ajax4jsf,Jsf,Seam,Ajax4jsf,我的JSF模板中有这样的代码: <h:form> <table id="users" cellspacing="0"> <a4j:repeat var="person" value="#{personList}"> <tr> <td class="col1"> <a4j:commandLink disabled="#{!canCreatePerson}" styleClass="
<h:form>
<table id="users" cellspacing="0">
<a4j:repeat var="person" value="#{personList}">
<tr>
<td class="col1">
<a4j:commandLink
disabled="#{!canCreatePerson}"
styleClass="#{canCreatePerson ? '' : 'inactive_link'}"
action="#{adminPageController.create}"
reRender="user-dialog-region"
timeout="5000"
limitToList="true"
ignoreDupResponses="true"
title="#{canCreatePerson ? messages['edit_user'] : ''}"
onclick="if (!ajaxSubmissionAllowed) {return false;}
ajaxSubmissionAllowed=false;"
oncomplete="ajaxSubmissionAllowed=true;">
<h:outputText id="userName" value="#{person.name}"/>
</a4j:commandLink>
</td>
</tr>
</table>
</h:form>
这在a4j:repeat标记之外非常有效,但在a4j:repeat标记内部执行的操作与在我的模板中实现的操作不同。问题在于变量personList的作用域类型,这是对话,在我将其更改为PAGE之后,一切正常。 奇怪的是,我没有从SEAM中看到任何错误