我遇到了 commandLink 的问题,它首先在我的表中工作,但其他的在 ui:repeate 中进行,并且那里的 commandLink 不起作用
<tr>
<td rowspan="#{form25Bean.forms1size}">Наименования научных
лабораторий:</td>
<td>#{form25Bean.forms1first.sciencenName}</td>
<td>#{form25Bean.forms1first.innovationName}</td>
<td>#{form25Bean.forms1first.ppcPortion}</td>
<td><h:commandLink value="удалить" id="cl2"
action="#{form25Bean.remove}">
<f:setPropertyActionListener
target="#{form25Bean.selectedForm}" value="#{form25Bean.forms1first}" />
</h:commandLink> <h:column>
<h:commandLink value="изменить" action="#{form25Bean.edit}">
<f:setPropertyActionListener
target="#{form25Bean.selectedForm}" value="#{form}" />
</h:commandLink>
</h:column></td>
</tr>
<ui:repeat var="f1" value="#{form25Bean.forms1}">
<h:form>
<tr>
<td>#{f1.sciencenName}</td>
<td>#{f1.innovationName}</td>
<td>#{f1.ppcPortion}</td>
<td><h:commandLink value="удалить" id="cl2"
action="#{form25Bean.remove}">
<f:setPropertyActionListener
target="#{form25Bean.selectedForm}" value="#{f1}" />
</h:commandLink>
<h:column>
<h:commandLink value="изменить" action="#{form25Bean.edit}">
<f:setPropertyActionListener
target="#{form25Bean.selectedForm}" value="#{f1}" />
</h:commandLink>
</h:column></td>
</tr>
</h:form>
</ui:repeat>