Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5129 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
4802
1
thg 8 20
15476
5
thg 6 15
24053
0
thg 7 24
931
0
thg 2 22
1666