[
https://issues.apache.org/jira/browse/TAP5-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960199#comment-13960199
]
ASF subversion and git services commented on TAP5-1744:
-------------------------------------------------------
Commit 3de7acb9e0c6d979aaaae024f9e4938da9827dd5 in tapestry-5's branch
refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=3de7acb ]
TAP5-1744: Returning a StreamPageContent instance from any of a Form's events
results in "Form components may not be placed inside other Form components"
exception
> Returning a StreamPageContent instance from any of a Form's events results in
> "Form components may not be placed inside other Form components" exception
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1744
> URL: https://issues.apache.org/jira/browse/TAP5-1744
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3, 5.4, 5.2
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.4
>
>
> At the time the event is triggered, the FormSupport (and other stuff) is in
> the Environment. The new page render occurs INSIDE the same environment,
> causing errors when the new render of the Form tries to store its own
> FormSupport into the Environment.
> The solution is to use Environment.cloak() and decloak() around the new
> render.
--
This message was sent by Atlassian JIRA
(v6.2#6252)