[
https://issues.apache.org/jira/browse/TAPESTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAPESTRY-2545.
------------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
If you do a view source, you should see that the <DIV> for mainZone is rendered
as some odd mangling of mainZone and a unique hex string. To fix your problem,
bind the id parameter of mainZone to a specific value (it won't be uniqued if
you bind it explicitly).
> Zones dont work when used in a component which is rendered using an AJAX
> partial page refresh
> ---------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2545
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2545
> Project: Tapestry
> Issue Type: Bug
> Components: JavaScript
> Affects Versions: 5.0.14
> Environment: OS X Leopard, Firefox 2.0.0.16
> Reporter: Toby Hobson
> Assignee: Howard M. Lewis Ship
>
> If I have a component (lets call it component-a) which uses ajax zones to do
> a partial refresh and I include it on a page or other component through an
> ajax call the zones no longer work e.g.
> MyPage.tml:
> <t:zone t:id="theZone" />
> <t:actionLink t:id="clickMe" t:zone="theZone">click me</t:zone>
> MyPage.java:
> @Component
> private ComponentA componentA;
> @OnEvent(component="clickMe")
> ComponentA clickMe() {
> return componentA;
> }
> ComponentA.tml:
> <t:zone t:id="mainZone" />
> <t:actionLink t:id="clickMe" t:zone="mainZone">click me</t:zone>
> ComponentA.java:
> @Component
> private ComponentB componentB;
> @OnEvent(component="clickMe")
> ComponentB clickMe() {
> return componentB;
> }
> When I click the actionLink on MyPage ComponentA is correctly rendered in the
> zone, but when I click the actionLink within ComponentA nothing is rendered
> although the clickMe method on componentA is called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]