Skip to main content



      Home
Home » Archived » BIRT » Birt vierwer and Birt Taglib bug from different webapp(Birt taglib fails to initialize context from outside birt wiewer)
icon9.gif  Birt vierwer and Birt Taglib bug from different webapp [message #1226492] Wed, 01 January 2014 18:12 Go to next message
Eclipse UserFriend
Hello,

I am using Birt 4.2.2 and 4.3 and I still witness the Bug 378795 bug.

Right now it seems impossible to use the tag lib and their power inside an application without "birt inside". I have posted this on the bugzilla as well

I would be glad to help resolve this if anyone can point me to the code portion to ensure one can get a correctly initialised ReportService from a different context thant the birtViewer context ?

Regards
Cyril
Re: Birt vierwer and Birt Taglib bug from different webapp [message #1228471 is a reply to message #1226492] Tue, 07 January 2014 05:02 Go to previous messageGo to next message
Eclipse UserFriend
Any hints about this one ?

It would really be a great feature to be able to use birt taglib in other apps

please any help appreciated.

Cyril
Re: Birt vierwer and Birt Taglib bug from different webapp [message #1230964 is a reply to message #1228471] Mon, 13 January 2014 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi all,

i have got 25800 views on this topic and no one comment or reply ?

This seems to be an interesting subject. Any high level Birter passing by ? Jason are you on holiday ?

I have Birt 4.3
I have the birt viewer deployed on tomcat 7 under the /birt context
one ultra simple report that has parameters (simple graph with sample db) that is posted as attached file.

I have a myapp application that has the /myapp context.

I use the parameterPage tag inside a jsp page of myapp like this :

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
   <%@ taglib uri="http://www.eclipse.org/birt/taglibs/birt.tld" prefix="birt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Birt Test</title>
</head>
<body>
<birt:parameterPage id="accueil" name="accueilFormPage"
reportDesign="testtag.rptdesign"
isCustom="true"
pattern="preview"
baseURL="/birt"
>
<birt:paramDef name="p_date_debut" id="130"></birt:paramDef>
<p>Date de fin de période</p>
<birt:paramDef name="p_date_fin" id="131"></birt:paramDef>
<p>choix erreurs</p>
<birt:paramDef name="errorOnly" id="369"></birt:paramDef>
<input type="Submit" value="Lancer le Rapport">
</birt:parameterPage>

</body>
</html>



The Context.xml of tomcat starts with : <Context crossContext="true">

I have viewservlets.jar and org.eclipse.birt.runtime_4.3.1.v20130918-1142.jar and com.ibm.icu_50.1.1.v201304230130.jar and axis.jar in my buildpath

yet it does not work.

Either I have the service not initialized error (no crosscontext), or that the reportdesign file does not exists ( it tries to find the rptdesign in the /myapp context).

I only achieve a working tag inside the /birt context.

Anyone has to sample to make it work ?

Regards,
Cyril
Re: Birt vierwer and Birt Taglib bug from different webapp [message #1248710 is a reply to message #1230964] Mon, 17 February 2014 10:24 Go to previous message
Eclipse UserFriend
Hi guys,

anyone who has successfully used crossed context with birtViewer and another webapp ?

Thanks
Cyril
Previous Topic:How to use STYLE in HTML element? It not work
Next Topic:Need Help on showing custom error message in BIRT report
Goto Forum:
  


Current Time: Mon Jul 14 00:20:55 EDT 2025

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

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

Back to the top