public ITableRowSource getTableRowSource()
{
IRequestCycle objCycle = getPage().getRequestCycle();
Object objSourceObj = objCycle.getAttribute(ITableRowSource.TABLE_ROW_SOURCE_ATTRIBUTE);
ITableRowSource objSource = (ITableRowSource) objSourceObj;
if (objSource == null)
throw new ApplicationRuntimeException(
"The component "
+ getId()