diff --git a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java index 7eebb5f8d5..ed61cc9148 100644 --- a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java +++ b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java @@ -53,13 +53,13 @@ import org.xml.sax.helpers.AttributesImpl; */ public class GenericPOElementHandler extends AbstractElementHandler { - private String tableName; + private String m_tableName; public GenericPOElementHandler() { } public GenericPOElementHandler(String tableName) { - this.tableName = tableName; + this.m_tableName = tableName; } public void startElement(PIPOContext ctx, Element element) throws SAXException { @@ -223,6 +223,12 @@ public class GenericPOElementHandler extends AbstractElementHandler { document.startElement("", "", tables[index], atts); PoExporter filler = new PoExporter(ctx, document, po); filler.export(excludes, true); + ctx.packOut.getCtx().ctx.put("Table_Name",tables[index]); + try { + new CommonTranslationHandler().packOut(ctx.packOut,document,null,po.get_ID()); + } catch(Exception e) { + if (log.isLoggable(Level.INFO)) log.info(e.toString()); + } } } for (int i=index+1; i gridTab.getTabLevel()+1) { sql = sql.append(">").append(child.getTableName()); } else {