I'm working in Tapestry 4.1.6. I've been reading the docs for the Block/RenderBlock and this second sentence has my focus.
The Block may be on the same page as the RenderBlock or on another page entirely. Which is followed by an example where the block that is found is on the same page (a contained block). return (Block) getContainer().getComponent(selectedId); What is not at all obvious is how you find a block on a another page. Can someone give me a brief description of how you search blocks contained on other pages, that you can be rendered on the current page. I recognize that there's some issues with the render listeners on the page/component that contains the block that is not contained on my current page.. My test case, is like this: BlockA (BlockA.html, BlockA.jwc, BlockPageA.java) is a component that renders a simple table. The Table is wrapped in a block with the title blockA (notice my lowercase first letter for the block name). BlockA (BlockB.html, BlockB.jwc, BlockPageB.java) is a component that renders a paragraph of text. My Home Page, has the following markup... <span jwcid="@RenderBlock" block="ognl:thisBlock"> <span style="background-color: grey;">Block Goes Here</span> </span> What I want to do is render either the Acomponent or Bcomponent, based on the string that's returned from Home.java:getThisBlock()