Change generic export default to export ad_org_id reference instead of getting from context.
This commit is contained in:
parent
f52598018c
commit
5998051089
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue