Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 146515

Summary: create different output type for static HTML and paginated HTML
Product: z_Archived Reporter: Wenfeng Li <wenfeng.fwd>
Component: BIRTAssignee: Wenfeng Li <wenfeng.fwd>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: dmichonneau, jzhai, kvenkatraman, wenfeng.fwd, whe, wyan, xxue
Version: 2.0.0Keywords: plan
Target Milestone: 3.7.0 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Wenfeng Li CLA 2006-06-12 02:33:19 EDT
There is only one HTML output format today for report output format.  While there are two types of HTML is outputed, one is HTML with no pagination.  Such one page HTML can be generated from RunAndRender task, and can also be generated from RenderTask from a a report document.

When creating a bookmark link to another report dsign or to another report document, there is only one HTML option to select.  That makes the target format ambigous between paginated HTML or simple one page HTML.

Paginated HTML's bookmark syntax will also be different from simple HTML output, the former needs to be http://xxxxx&__bookmark=XXX while the later needs to be http://xxxx#XXXX.  

Need to coordinate changes among model, UI, engine, and viewer components.
Comment 1 Xuelan Li CLA 2006-07-24 02:05:25 EDT
Viewer needs support from Engine API. Assign it to engine team.
Comment 2 Wenfeng Li CLA 2006-07-25 22:35:29 EDT
*** Bug 151613 has been marked as a duplicate of this bug. ***
Comment 3 Wenfeng Li CLA 2006-07-25 22:39:06 EDT
please see comment in #151613 for a more detail description of the usage. The three choices would be
(1) Web Viewer
(2) Static HTML
(3) PDF

Also consider support other extended report output formats, such as Excel, Word as option for the hyper link in future release.  please schedule to 2.2 for extended formats after adding support for the above (30 format.
Comment 4 Jun Ouyang CLA 2006-08-23 04:30:05 EDT
Fixed. Add format "web viewer" for pagination html and "static html" for static html.
Comment 5 Wenfeng Li CLA 2006-08-24 01:52:49 EDT
Since engine's output format has a one to one corresponding emitter now, and the emitter and its support format can be added dymaincally via Eclipse extension point to engine.  It would be an inconsistent behavior to have an output format of "web viewer" that doesn't have a corresponding emitter.

defer this to 2.2 to consider adding an emitter for "web viewer" or "Ajax HTML", which have following charactoristics:
1. htmlPagination=true, embeddedHtml = true 
2. might embed an Ajax function calls in the output html to allow viewer interactivity
3. might embed Ajax APIs to support browser side scripting.


3. 
Comment 6 Wei Yan CLA 2006-12-19 20:50:17 EST
I suggest add a "viewer" property to the drill-through, the "viewer" defines the viewer used to display the report. Each format will have several viewers, such as:
HTML: paginate, web-viewer, previewer etc.
PDF: system, acrobat reader, gview etc.

If the viewer is not support, the host should choose a default one (such as browser) to display the output format.
Comment 7 Wei Yan CLA 2007-05-20 23:01:39 EDT
defer to future release.
Comment 8 Wei Yan CLA 2010-10-20 18:19:58 EDT
Already fixed.