Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Can I extend BIRT to render my application?
Amer
Hello folks,
Good morning/evening... I would like to know if, I can do the following using any BIRT feature:
1- I am aware that BIRT is a reporting tool. I would like to use its design to build a website.. which writes the xml with sections and input fields.
2- I would like to extend its rendering capabilities to render the xml design of the webpage.
Take a simple example.. Let's say I want to make an html page ( probably with one dummy row) which is meant to have a screen for one record of my application as shown below:
Hello World!
Column 1: Data Column4 Data
Column 2: Data
Column 3: Data
Footer.
Now, in the rendering, I would like to extend the existing behavior so that I have access or control to my html elements to change their contents and innerhtml , modify their content, add ajax etc...
Again, the question is:
Does BIRT help me to accomplish this? If No, what would be the best approach? Because I know that BIRT can render xml files and this is exactly what I am planning to do.. I would like to design my homepage in xml then use the xml to render html !!
Thanks!
Find more posts tagged with
Comments
JasonW
Amer,
Creating this
Hello World!
Column 1: Data Column4 Data
Column 2: Data
Column 3: Data
Footer.
In a BIRT report is easy. To access these objects innerhtml etc you can do this using the Bookmark property for every element in the report design.
Then access the elements with:
<script>
melm = document.getElementById(elm);
melm.style.backgroundColor = "green";
</script>
where elm is the bookmark value you have used for the report element. Keep in mind the bookmark property is an expression, meaning it can be evaluated at runtime for each instance of a report element.
It is not 100% of what you want but should offer some flexibility.