return page.getRootElement().getBlock(contribution.getBlockId());
}
public Block getEditBlock(String datatype)
{
BeanBlockContribution contribution = _edit.get(datatype);
if (contribution == null)
throw new RuntimeException(ServicesMessages.noEditForDataType(datatype));
return toBlock(contribution);