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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira