Change generic export default to export ad_org_id reference instead of getting from context.

This commit is contained in:
Heng Sin Low 2010-12-28 23:28:07 +08:00
parent f52598018c
commit 5998051089
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ public class GenericPOElementHandler extends AbstractElementHandler {
addTypeName(atts, "table"); addTypeName(atts, "table");
document.startElement("","", tableName, atts); document.startElement("","", tableName, atts);
PoExporter filler = new PoExporter(ctx, document, po); PoExporter filler = new PoExporter(ctx, document, po);
filler.export(excludes); filler.export(excludes, true);
for (int i = 1; i < components.length; i++) { for (int i = 1; i < components.length; i++) {
String tables[] = components[i].split("[>]"); String tables[] = components[i].split("[>]");
@ -193,7 +193,7 @@ public class GenericPOElementHandler extends AbstractElementHandler {
List<String> excludes = defaultExcludeList(tables[index]); List<String> excludes = defaultExcludeList(tables[index]);
document.startElement("", "", tables[index], atts); document.startElement("", "", tables[index], atts);
PoExporter filler = new PoExporter(ctx, document, po); PoExporter filler = new PoExporter(ctx, document, po);
filler.export(excludes); filler.export(excludes, true);
if (index + 1 < tables.length) { if (index + 1 < tables.length) {
exportDetail(ctx, document, po, index+1, tables); exportDetail(ctx, document, po, index+1, tables);
} }