kiran.lokesh487 Posted November 12, 2012 Share Posted November 12, 2012 Hi i just started using iReport tool. I need to integrate a html page as part of my report. The content of the html page is taken dynamically from the database.I have seen posts where people had suggested to use html as markup. I have changed the text field as markup but how and where do i add content to it.thanks in advance,Kiran Link to comment Share on other sites More sharing options...
ernestoo Posted November 12, 2012 Share Posted November 12, 2012 Have you tried using the HTML component? The JR library has an example: http://jasperreports.sourceforge.net/sample.reference/genericelement/index.html#genericelements Link to comment Share on other sites More sharing options...
kiran.lokesh487 Posted November 14, 2012 Author Share Posted November 14, 2012 yea. but where do i write the html code. is it written as static text?? and i want the final output in pdf format not in html Link to comment Share on other sites More sharing options...
ernestoo Posted November 15, 2012 Share Posted November 15, 2012 The HTML code is put into an expression so it might be a field that comes from your database, or hard coded or really anything can "write" the HTML code Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now