te a component address for the current component final ComponentAddress address = new ComponentAddress(this); return new SomeClass() { IRender getRenderer(IRequestCycle cycle) { MyComponent component = (MyComponent) address.findComponent(cycle); // initialize variables in the component that will be used by the block here return new BlockRenderer(component.getComponent("block")); } }
@version $Id: BlockRenderer.java 243791 2004-02-19 17:38:13Z hlship $
@author mindbridge
@since 2.2
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.