if (component == null)
{
// this is quite a hack to get components in repeater work.
// But it still can fail if the repeater is a paging one or on every render
// it will generate new index for the items...
page.prepareForRender(false);
component = page.get(pageRelativeComponentPath);
if (component == null)
{
throw new WicketRuntimeException(
"unable to find component with path " +