Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

Hi,

i'm having problems with jasper_report v8 (https://github.com/JayVora-SerpentCS/Jasperv8)

xml datasource from account.invoice

master / detail is working fine, but i need to add tax_line on footer

i've tried subreport way with no effects (white subreport page)

now i'm trying with list  and dataset, list datasource is a dataset with xpath query and this expression

((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/data/record/tax_line")

but I get this error: Error evaluating expression : \n\tSource text : ((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/data/record/tax_line")

also tried with: $P{REPORT_DATA_SOURCE}.subDataSource("/data/record/tax_line") same kind of error


any tricks?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 15
4803
1
elok. 20
15492
5
kesäk. 15
24064
0
heinäk. 24
935
0
helmik. 22
1669