[
https://issues.apache.org/jira/browse/TAP5-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885897#action_12885897
]
Christophe Cordenier commented on TAP5-733:
-------------------------------------------
Ok, i think i got it
In fact during an Ajax call, because only the ajaxResponse block is rendered,
t:body is not added in the render because
initializeRenderPhases()
has not been called on the ajaxformloop component, thus result is empty, thus
not place to add hidden field.
This differs from a complete page rendering when the AjaxFormLoop is
initialized. So as long as the page instance remains in the pagepool and
beforeRenderBodyPhase is different from null the body of the AjaxLoop will be
displayed.
I am still thinking for a clean patch for this.
Sound it reasonable to move
setupRenderPhase = new SetupRenderPhase();
beginRenderPhase = new BeginRenderPhase();
beforeRenderTemplatePhase = new BeforeRenderTemplatePhase();
beforeRenderBodyPhase = new BeforeRenderBodyPhase();
afterRenderBodyPhase = new AfterRenderBodyPhase();
afterRenderTemplatePhase = new AfterRenderTemplatePhase();
afterRenderPhase = new AfterRenderPhase();
cleanupRenderPhase = new CleanupRenderPhase();
in the constructor ?
> AjaxFormLoop occasionally fails with "The rendered content did not include
> any elements that allow for the positioning of the hidden form field's
> element"
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-733
> URL: https://issues.apache.org/jira/browse/TAP5-733
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.1.0.5
> Reporter: Howard M. Lewis Ship
>
> First reported by the users at ProQuest and hard to reproduce.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.