[
https://issues.apache.org/jira/browse/TAP5-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241568#comment-13241568
]
Hudson commented on TAP5-1890:
------------------------------
Integrated in tapestry-trunk-freestyle #694 (See
[https://builds.apache.org/job/tapestry-trunk-freestyle/694/])
RESOLVED - TAP5-1890: PlaceholderBlock should implement RenderCommand
- apply Dragan Sahpaski's patch, including tests, without changes (Revision
1307062)
Result = SUCCESS
kaosko : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1307062
Files :
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ComponentPageElementImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/app1/nested/ZoneDemo.tml
*
/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneTests.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java
> PlaceholderBlock should implement RenderCommand
> -----------------------------------------------
>
> Key: TAP5-1890
> URL: https://issues.apache.org/jira/browse/TAP5-1890
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3.2, 5.4
> Reporter: Dragan Sahpaski
> Assignee: Kalle Korhonen
> Priority: Trivial
> Labels: block, zone
> Attachments: TAP-1890.patch
>
>
> If we have an empty zone like this:
> <t:zone t:id="myZone" />
> zone.getBody() fails to update the zone in an event handler with the
> following exception:
> org.apache.tapestry5.ioc.util.UnknownValueException
> A component event handler method returned the value <PlaceholderBlock>.
> Return type
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$PlaceholderBlock
> can not be handled.
> This is because ComponentPageElementImpl.PlaceholderBlock does not implement
> RenderCommand.
> A patch is provided with a test that fails.
> I would highly appreciate it if a commiter applies it to the 5.4. branch and
> to the 5.3. branch.
> Cheers,
> Dragan Sahpaski
--
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