Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to include jsp header in the report?
How to include jsp header in the report? [message #1272949] Wed, 19 March 2014 06:29 Go to next message
Yufan Wang is currently offline Yufan WangFriend
Messages: 1
Registered: March 2014
Junior Member
Hi,

We are currently working on a reporting site using JSF-Myfaces and BIRT 4.2.2.

My question:

How to include our header.jsp into the foo.rptdesign?


My debug:

1. In the masterpage header section, I copied my header into an dynamic text with <VALUE-OF format="HTML">...</VALUE-OF>, but my <hr/> tag and the <br/> tag cannot be resolved by Rhino, an exception throws:

org.mozilla.javascript.EcmaError: ReferenceError: "br" is not defined.

<br//>, <br\\> and <br\> also not working.

-I dont think we can put jsp code in the rptdesign master page.


2. Jason's topic 2009 suggested using redirect in the jsp, but there is no further reply in the topic.

http://www.eclipse.org/forums/index.php/t/5093

-does it work?

3. BIRT home page examples.

Most of reports are old and not downloadable, they are in version BIRT 2.6.


I really want to put my header.jsp in the report.

Please help me.

Yufan
Re: How to include jsp header in the report? [message #1282210 is a reply to message #1272949] Wed, 02 April 2014 01:49 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

<br> and <br/> both work in 4.3.2

For Jason's post from 2009, it doesn't seem like that link points to the post you're talking about.

Can you attach your header.jsp?

Could you attach a simple example showing what you're trying to do?


Michael

Developer Evangelist, Silanis
Previous Topic:Group By in RTC JAZZ Queries for BIRT reports
Next Topic:XML Data Set Column XPath element name
Goto Forum:
  


Current Time: Fri Apr 19 22:41:13 GMT 2024

Powered by FUDForum. Page generated in 0.02404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top