I have a login form with a login command link. The form is a
panelFormLayout with panelLabelAndMessage components with inputText
components (username and password).

I have:
<tr:panelFormLayout partialTriggers="login">
...
  <f:facet name="footer">
    <tr:group>
      <tr:commandLink
        id="login"
        partialSubmit="true"
        action="#{identity.login}"
        text="#{messages.page_login_login}" />
...

Now the panel is not updated because the code to trigger the PPR is in
the broadcast method of the UIXCommand (parent of the command link).
The validation error causes the ActionEvent to not be broadcast, and
thus the PPR is not properly triggered.

Should this be considered a bug?

Should the "adfContext.partialUpdateNotify(component);" call be made
from the queueEvent method rather than the broadcast method?

Or is there a different way to do this that I am missing?

Another nice feature would be to automatically have the
panelLabelAndMessage and panelFormLayout components automatically get
re-rendered if there is a validation or conversion error in one of
their nested children components.

Thanks,
Andrew

Reply via email to