final DataListView dlv = new DataListView(
getController( viewDef.getController() ),
ResourceManager.getResource( viewDef.getTitle() ),
viewDef.getId()
);
final DataList dataList = dlv.getDataList();
if( viewDef.getColor() != null )
{
dataList.setColor( viewDef.getColor().intValue() );
}
if( viewDef.getSelectedColor() != null )
{
dataList.setSelectedColor(
viewDef.getSelectedColor().intValue()
);
}
if( viewDef.getBackground() != null )
{
dataList.setBackground( viewDef.getBackground().intValue() );
}
if( viewDef.getSelectedBackground() != null )
{
dataList.setSelectedBackground(
viewDef.getSelectedBackground().intValue()
);
}
if( viewDef.getMaxLines() != null )
{
dataList.setMaxLines( viewDef.getMaxLines().intValue() );
}
browser = dlv;
}
final Vector fields = viewDef.getFields();