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

Reply via email to