Galera Bom dia,
Estou precisando de uma ajuda, estive procurando a manha toda e nao encontrei uma solução. Eu tenho um h:commandButton logo após um repeat, porém esse commandButton não funciona de jeito nenhum quando eu coloco o a4j:repeat, se eu tira-lo funciona numa boa. Sgue o código pra vcs entendere.:
<h:form>
<rich:panel
header="#{projectController.projectPhase.phaseType.name}"
styleClass="forHeader" bodyClass="geralLabelCenter"
headerClass="forHeader">
<rich:spacer styleClass="spacer"></rich:spacer>
<br />
<a4j:repeat
value="#{projectController.projectPhase.projectPhaseAttributeValues}"
var="phase">
<rich:simpleTogglePanel opened="true" switchType="client"
styleClass="geralTogglePanel"
headerClass="forHeaderTogglePanel">
<f:facet name="header">
<h:outputText value="#{phase.projectPhaseAttribute.name}">
</h:outputText>
</f:facet>
<ui:include src="/pages/fck/fckViewer.jspx" />
</rich:simpleTogglePanel>
</a4j:repeat>
<h:commandButton styleClass="button" value="Editar"
action="#{projectController.editPhase}">
<f:setPropertyActionListener
target="#{projectController.projectPhase}"
value="#{projectController.projectPhase}" />
</h:commandButton>
</rich:panel>
</h:form>
Então se eu tirar o a4j:repeat ele funciona legal, num to entendo o pq não funciona.