Bug 272445 - report is not showing up if birt:viewer tag is used within a h:form section (JSF)
Summary: report is not showing up if birt:viewer tag is used within a h:form section (...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact: mindan xu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 03:30 EDT by tero CLA
Modified: 2010-11-19 02:39 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tero CLA 2009-04-16 03:30:34 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. Create a Dynamic Web Project (JSF 1.2)
2. develope a simple login page (jsp/jsf) which navigates to a test jsf (jsp) page
3. in that test jsf page create a <f:view> <h:form> section within the <body>
4. in that h:form section code a birt:viewer report as follows:
<birt:viewer id="2" baseURL="http://localhost:8080/WebViewerExample"  
             isHostPage="false" reportDesign="..\MyApp\testRep.rptdesign"
             width="600" height="300">
</birt:viewer>
5. test the pages and see that the report is not showing up but a (transparent) square
6. if you test now the same outside of the h:form section: it works! the report is there.

More information:
In the case described in (5.) there also is a javascript error.

Regards,
Tero
Comment 2 tero CLA 2009-04-16 04:14:07 EDT
possible issue: the JSF framework adds as prefix the h:form id to the subcomponents of the form (builds a tree of names). May this be affecting the report comunication in javascript?
Tero