跳至內容
選單
此問題已被標幟
5153 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 15
4817
1
8月 20
15498
5
6月 15
24073
0
7月 24
941
0
2月 22
1671