Pentaho Reporting 3.5 for Java Developers- P8

Tham khảo tài liệu 'pentaho reporting for java developers- p8', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 12 You ll need to update the Ant file with a new runmeta target as well as a new path reference. Add the following XML to the chapter11 file path id runtime_classpath fileset dir lib include name .jar fileset dirset dir classes path target name runmeta depends jar java fork true classpathref runtime_classpath classname Meta TableModelDemo target Now type ant runmeta on the command line. The PDF file will be created in the root of the project. Open the PDF. Your results should look something like this Label Note that the background bg-color attribute is taking effect but the report header label is still not updating. Before this will work you need to map the exampleLabel metadata attribute to the reporting engine s label attribute. To do this you ll need to create a mapping between the two domains. Create the file src and add the following XML 333 Additional Pentaho Reporting Topics data-schema xmlns http namespaces engine classic dataschema indirect-mapping match domain exampleDomain name exampleLabel data-attribute-mapping target-domain http . org namespaces engine meta-attributes formatting target-name label source-domain exampleDomain source-name exampleLabel indirect-mapping data-schema This defines an indirect mapping from exampleLabel to the reporting engine s label attribute. Finally you ll need to tell the reporting engine about this data schema file. Add the following property to which already exists in the chapterii src folder specify the data schema location . exampleDomain res The reporting engine looks for all properties that begin with . loading all the mappings defined in those files. Now re-run the report by typing ant runmeta and re-open the file. Your report should now look

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.