The following is a java code snippet which adds content to a BIA page (e.g. a content panel) with format XML data for an employer work force tab details:
protected ContentPanelBuilder getBIRTReportDetails(
final long concernRoleID)
throws AppException, InformationalException
{
ContentPanelBuilder contentPanelBuilder =
ContentPanelBuilder.createPanel(
CuramConst.gkEmployerWorkforceDetail);
contentPanelBuilder.addRoundedCorners();
Map <String, String> reportParameters =
new HashMap<String, String>();
reportParameters.put(CuramConst.gkParam_ConcernRoleID,
String.valueOf(concernRoleID));
WidgetDocumentBuilder reportBuilder = biHelper.getDocumentBuilder(
CuramConst.gkBIRTProspectEmployerWorkforceReport, reportParameters);
contentPanelBuilder.addWidgetItem(reportBuilder, CuramConst.gkStyle,
CuramConst.gkStyleBirt); return contentPanelBuilder;
}
The following is a java code snippet which adds content to a BIA page (e.g. a content panel) with formatted XML data for an employer work force tab details:protected ContentPanelBuilder getBIRTReportDetails(
final long concernRoleID)
throws AppException, InformationalException
{
ContentPanelBuilder contentPanelBuilder =
ContentPanelBuilder.createPanel( CuramConst.gkEmployerWorkforceDetail);
contentPanelBuilder.addRoundedCorners();
Map <String, String> reportParameters = new HashMap<String, String>();
reportParameters.put(
CuramConst.gkParam_ConcernRoleID, String.valueOf(concernRoleID));
WidgetDocumentBuilder reportBuilder = biHelper.getDocumentBuilder(
CuramConst.gkBIRTEmployerWorkforceReport, reportParameters);
contentPanelBuilder.addWidgetItem(reportBuilder,
CuramConst.gkStyle, CuramConst.gkStyleBirt);
return contentPanelBuilder;
}