Hi Is it possible to use ajax partial replace to include a component which also uses ajax, as in this scenario:
I create a custom component which uses zones to perform a partial update, I then use this custom component on a page: MyComponent.tml <t:block t:id="helloBlock"> hello world </t:block> <t:zone t:id="updateZone" /> <t:actionLink t:id="clickMe" t:zone="updateZone">click me</t:actionLink> MyComponent.java @Inject private Block helloBlock; Block onActionFromClickMe() { return helloBlock; } page.tml <t:MyComponent t:id="myComponent" /> this works well but .. If i do something like this: page.tml <t:zone t:id="newZone" /> <t:actionLink t:id="showComponent" t:zone="newZone">show component</t:actionLink> page.java @Component private MyComponent myComponent; public MyComponent onActionFromShowComponent() { return myComponent; } What I have found is that clicking on the "showComponent" actionlink on the page causes the MyComponent to render but when I click the "click me" link I get an error about onActionFromClickMe returning a Block where it should be returning a link etc. It seems if I use ajax to include a component on a page and the included component also uses ajax it doesn't work. Does this make any sense? Thanks! Toby