posted 19 years ago
this is why ! Adds a a whole extra layer of Dynamics if you choose to use those features
this.reportResults = new HtmlPanelGrid();
List childeren = this.reportResults.getChildren();
childeren.clear();
if (record.getTestResultPositiveFlag().equals("T"))
{
HtmlOutputText reportResultItem = (HtmlOutputText)application.createComponent(HtmlOutputText.COMPONENT_TYPE);
reportResultItem.setValue("Positive");
childeren.add(reportResultItem);
testResults.add("Positive");
}
if (record.getTestResultNegativeFlag().equals("T"))
{
HtmlOutputText reportResultItem = (HtmlOutputText)application.createComponent(HtmlOutputText.COMPONENT_TYPE);
reportResultItem.setValue("Negative");
childeren.add(reportResultItem);
testResults.add("Negative");
}