You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mathias Walter <ma...@gmx.net> on 2008/04/19 00:26:16 UTC
[Trinidad] addPartialTarget sometimes doesn't work
Hi,
I've a situation, where addPartialTarget does not redraw the target
component:
<tr:panelFormLayout binding="#{patients.pnlPhysicians}">
<c:forEach items="#{pageFlowScope.patient.physicians}"
var="physician">
<tr:outputText value="#{physician.stringForLists}" />
</c:forEach>
<f:facet name="footer">
<tr:commandButton id="add"
text="Add"
rendered="#{!patients.visibleOnly}"
partialSubmit="true"
immediate="true"
actionListener="#{patients.addPhysician}"
returnListener="#{patients.returned}" />
</f:facet>
</tr:panelFormLayout>
If I call addPartialTarget(pnlPhysicians) inside the returnListener, I can
see the PPR response with Firebug, but the panelFormLayout is not redrawn.
If I add partialTriggers="add" to the panelFormLayout, it works.
Is it impossible to use addPartialTarget in returnListeners?
--
Kind regards,
Mathias