svn commit: r825391 [16/18] - in /ofbiz/branches/addBirt/framework: base/config/ webapp/lib/ webapp/src/org/ofbiz/webapp/control/ webtools/ webtools/config/ webtools/data/helpdata/ webtools/servicedef/ webtools/src/org/ofbiz/birt/ webtools/src/org/ofbi...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r825391 [16/18] - in /ofbiz/branches/addBirt/framework: base/config/ webapp/lib/ webapp/src/org/ofbiz/webapp/control/ webtools/ webtools/config/ webtools/data/helpdata/ webtools/servicedef/ webtools/src/org/ofbiz/birt/ webtools/src/org/ofbi...

hansbak-2
Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExceptionDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExceptionDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExceptionDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,116 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.resource.BirtResources" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Export data dialog fragment
+-----------------------------------------------------------------------------%>
+<DIV ID="dialog_content">
+ <TABLE CELLSPACING="0" CELLPADDING="0" STYLE="width:100%">
+ <TR>
+ <TD>
+ <TABLE ID="tabs" CELLSPACING="0" CELLPADDING="2">
+ <TR HEIGHT="20px">
+ <TD CLASS="birtviewer_dialog_tab_selected" NOWRAP>
+ <%=
+ BirtResources.getMessage( "birt.viewer.dialog.exportdata.tab.field" )
+ %>
+ </TD>
+ <TD CLASS="birtviewer_dialog_tab_normal">
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.tab.filter" )%>
+ </TD>
+ </TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <DIV ID="aaacontent">
+ <DIV >
+ <TABLE CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.availablecolumn" )%>
+ </TD>
+ <TD></TD>
+ <TD>
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.selectedcolumn" )%>
+ </TD>
+ </TR>
+ <TR>
+ <TD VALIGN="top">
+ <TABLE>
+ <TR><TD>
+ <SELECT ID="availableColumnSelect" SIZE="10" CLASS="birtviewer_exportdata_dialog_select">
+ </SELECT>
+ </TD></TR>
+ </TABLE>
+ </TD>
+ <TD VALIGN="top">
+ <TABLE HEIGHT="100%">
+ <TR><TD>&nbsp;</TD></TR>
+ <TR><TD>
+ <TABLE VALIGN="top">
+ <TR><TD>
+ <INPUT TYPE="button" VALUE=">>" CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR><TD>
+ <INPUT TYPE="button" VALUE=">" CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR><TD>
+ <INPUT TYPE="button" VALUE="<" CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR><TD>
+ <INPUT TYPE="button" VALUE="<<" CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ </TABLE>
+ </TD></TR>
+ </TABLE>
+ </TD>
+ <TD>
+ <TABLE>
+ <TR><TD>
+ <SELECT ID="selectedColumnSelect" SIZE="10" CLASS="birtviewer_exportdata_dialog_select">
+ </SELECT>
+ </TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD COLSPAN="3" STYLE="font-size:7pt">
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.format" )%>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ </TABLE>
+ </DIV>
+ <DIV STYLE="display:none">
+ <IMG NAME="add" SRC="birt/images/AddFilter.gif" TITLE="add" CLASS="birtviewer_clickable">
+ <TABLE ID="ExportCriteriaTable" CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TBODY ID="ExportCriteriaTBODY">
+ </TBODY>
+ </TABLE>
+ </DIV>
+ </DIV>
+ </TD>
+ </TR>
+ </TABLE>
+</DIV>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,93 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ page session="false" buffer="none"%>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.resource.BirtResources"%>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%
+ String[] supportedFormats = ParameterAccessor.supportedFormats;
+%>
+<%-----------------------------------------------------------------------------
+ Export report dialog fragment
+-----------------------------------------------------------------------------%>
+<TABLE CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <%=BirtResources.getMessage( "birt.viewer.dialog.export.format" )%>
+ <SELECT ID="exportFormat" NAME="format" CLASS="birtviewer_exportreport_dialog_select">
+ <%
+ for ( int i = 0; i < supportedFormats.length; i++ )
+ {
+ if ( !ParameterAccessor.PARAM_FORMAT_HTML.equalsIgnoreCase( supportedFormats[i] ) )
+ {
+ %>
+ <OPTION VALUE="<%= supportedFormats[i] %>"><%= ParameterAccessor.getOutputFormatLabel( supportedFormats[i] ) %></OPTION>
+ <%
+ }
+ }
+ %>
+ </SELECT>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="exportPageSetting">
+ <TABLE>
+ <TR>
+ <TD>
+ <INPUT TYPE="radio" ID="exportPageAll" NAME="exportPages" CHECKED/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.page.all" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="exportPageCurrent" NAME="exportPages"/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.page.current" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="exportPageRange" NAME="exportPages"/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.page.range" )%>
+ <INPUT TYPE="text" CLASS="birtviewer_exportreport_dialog_input" ID="exportPageRange_input" DISABLED="true"/>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR>
+ <TD>&nbsp;&nbsp;<%=BirtResources.getHtmlMessage( "birt.viewer.dialog.page.range.description" )%></TD>
+ </TR>
+ <TR HEIGHT="5px"><TD><HR/></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="exportFitSetting">
+ <TABLE>
+ <TR>
+ <TD>
+ <INPUT TYPE="radio" ID="exportFitToAuto" NAME="exportFit" CHECKED/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.export.pdf.fittoauto" )%>
+ </TD>
+ <TD>
+ <INPUT TYPE="radio" ID="exportFitToActual" NAME="exportFit"/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.export.pdf.fittoactual" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="exportFitToWhole" NAME="exportFit"/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.export.pdf.fittowhole" )%>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+</TABLE>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ExportReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,73 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="java.util.Iterator,
+ java.util.Collection,
+ org.eclipse.birt.report.resource.BirtResources,
+ org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragments" type="java.util.Collection" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Parameter dialog fragment
+-----------------------------------------------------------------------------%>
+<DIV CLASS="birtviewer_parameter_dialog">
+ <TABLE CELLSPACING="2" CELLPADDING="2" ID="parameter_table" CLASS="birtviewer_dialog_body">
+ <TR VALIGN="top">
+ <TD>
+ <TABLE STYLE="font-size:8pt">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <%
+ if ( fragments.size( ) <= 0 )
+ {
+ %>
+ <TR>
+ <TD><%= BirtResources.getMessage( "birt.viewer.error.noparameter" ) %>
+ </TD>
+ </TR>
+ <%
+ }
+ else
+ {
+ %>
+ <TR><TD COLSPAN="2"><%= BirtResources.getMessage( "birt.viewer.required" ) %></TD></TR>
+ <%
+ if ( fragments != null )
+ {
+ Iterator childIterator = fragments.iterator( );
+ while ( childIterator.hasNext( ) )
+ {
+    IFragment subfragment = ( IFragment ) childIterator.next( );
+ if ( subfragment != null )
+ {
+ subfragment.service( request, response );
+ }
+ }
+ }
+ }
+ %>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <DIV id="birt_hint" style="font-size:12px;color:#000000;display:none;position:absolute; z-index:300;background-color: #F7F7F7; layer-background-color: #0099FF; border: 1px #000000 solid;filter:Alpha(style=0,opacity=80,finishOpacity=100);">
+ </DIV>
+ </TD>
+ </TR>
+
+ </TABLE>
+</DIV>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,71 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ page session="false" buffer="none"%>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.resource.BirtResources"%>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Print report dialog fragment
+-----------------------------------------------------------------------------%>
+<TABLE CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="printFormatSetting">
+ <DIV><%=BirtResources.getMessage( "birt.viewer.dialog.print.format" )%></DIV>
+ <br/>
+ <DIV>
+ <INPUT TYPE="radio" ID="printAsHTML" name="printFormat" CHECKED/><%=BirtResources.getMessage( "birt.viewer.dialog.print.format.html" )%>
+ </DIV>
+ <DIV>
+ <INPUT TYPE="radio" ID="printAsPDF" name="printFormat"/><%=BirtResources.getMessage( "birt.viewer.dialog.print.format.pdf" )%>
+ &nbsp;&nbsp;
+ <SELECT ID="printFitSetting" CLASS="birtviewer_printreport_dialog_select" DISABLED="true">
+ <option value="0" selected><%=BirtResources.getMessage( "birt.viewer.dialog.export.pdf.fittoauto" )%></option>
+ <option value="1"><%=BirtResources.getMessage( "birt.viewer.dialog.export.pdf.fittoactual" )%></option>
+ <option value="2"><%=BirtResources.getMessage( "birt.viewer.dialog.export.pdf.fittowhole" )%></option>
+ </SELECT>
+ </DIV>
+ </DIV>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD><HR/></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="printPageSetting">
+ <TABLE>
+ <TR>
+ <TD>
+ <INPUT TYPE="radio" ID="printPageAll" NAME="printPages" CHECKED/><%=BirtResources.getMessage( "birt.viewer.dialog.page.all" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printPageCurrent" NAME="printPages"/><%=BirtResources.getMessage( "birt.viewer.dialog.page.current" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printPageRange" NAME="printPages"/><%=BirtResources.getMessage( "birt.viewer.dialog.page.range" )%>
+ <INPUT TYPE="text" CLASS="birtviewer_printreport_dialog_input" ID="printPageRange_input" DISABLED="true"/>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR>
+ <TD>&nbsp;&nbsp;<%=BirtResources.getMessage( "birt.viewer.dialog.page.range.description" )%></TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+</TABLE>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,324 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ page session="false" buffer="none"%>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.IBirtConstants,
+ java.util.ArrayList,
+ java.util.Map,
+ org.eclipse.birt.report.utility.Printer,
+ org.eclipse.birt.report.utility.DataUtil,
+ org.eclipse.birt.report.utility.PrintUtility,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.resource.BirtResources"%>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<SCRIPT LANGUAGE="javascript">var index = 0;</SCRIPT>
+<%
+ boolean enable = ParameterAccessor.isSupportedPrintOnServer;
+ if( enable )
+ {
+ String[] supportedFormats = ParameterAccessor.supportedFormats;
+ for( int i=0; i<supportedFormats.length; i++ )
+ {
+ if( IBirtConstants.POSTSCRIPT_RENDER_FORMAT.equalsIgnoreCase( supportedFormats[i] ) )
+ {
+ enable = true;
+ break;
+ }
+ }
+ }
+
+ if( enable )
+ {
+ ArrayList printers = (ArrayList)PrintUtility.findPrinters();
+ for( int i=0; i<printers.size( ); i++ )
+ {
+ Printer bean = (Printer)printers.get( i );
+ String name = PrintUtility.handleSlash( bean.getName( ) );
+ String status = null;
+
+ if ( bean.getStatus() == Printer.STATUS_ACCEPTING_JOBS )
+ {
+ status = BirtResources.getMessage( "birt.viewer.dialog.printserver.status.acceptingjobs" ); // TODO: localized key
+ }
+ else
+ {
+ status = BirtResources.getMessage( "birt.viewer.dialog.printserver.status.notacceptingjobs" ); // TODO: localized key
+ }
+ status = DataUtil.trimString( status );
+
+ String model = DataUtil.trimString( bean.getModel( ) );
+ String info = DataUtil.trimString( bean.getInfo( ) );
+ String copies = "" + bean.getCopies( );
+ String mode = "" + bean.getMode( );
+ String duplex = "" + bean.getDuplex( );
+ String mediaSize = DataUtil.trimString( bean.getMediaSize( ) );
+ Map map = bean.getMediaSizeNames( );
+ Object[] mediaSizeNames = map.keySet( ).toArray( );
+%>
+ <SCRIPT LANGUAGE="javascript">
+ var printer = new Printer( );
+ printer.setName( "<%= name %>" );
+ printer.setStatus( "<%= status %>" );
+ printer.setModel( "<%= model %>" );
+ printer.setInfo( "<%= info %>" );
+
+ // Copies attribute
+ <%
+ if( bean.isCopiesSupported() )
+ {
+ %>
+ printer.setCopiesSupported( true );
+ printer.setCopies( "<%= copies %>" );
+ <%
+ }
+ else
+ {
+ %>
+ printer.setCopiesSupported( false );
+ <%
+ }
+ %>
+
+ // Collate attribute
+ <%
+ if( bean.isCollateSupported() )
+ {
+ %>
+ printer.setCollateSupported( true );
+ <%
+ if( bean.isCollate( ) )
+ {
+ %>
+ printer.setCollate( true );
+ <%
+ }
+ else
+ {
+ %>
+ printer.setCollate( false );
+ <%
+ }
+ }
+ else
+ {
+ %>
+ printer.setCopiesSupported( false );
+ <%
+ }
+ %>
+
+ // Mode attribute
+ <%
+ if( bean.isModeSupported( ) )
+ {
+ %>
+ printer.setModeSupported( true );
+ printer.setMode( "<%= mode %>" );
+ <%
+ }
+ else
+ {
+ %>
+ printer.setModeSupported( false );
+ <%
+ }
+ %>
+
+ // Duplex attribute
+ <%
+ if( bean.isDuplexSupported( ) )
+ {
+ %>
+ printer.setDuplexSupported( true );
+ printer.setDuplex( "<%= duplex %>" );
+ <%
+ }
+ else
+ {
+ %>
+ printer.setDuplexSupported( false );
+ <%
+ }
+ %>
+
+ // Media attribute
+ <%
+ if( bean.isMediaSupported( ) )
+ {
+ %>
+ printer.setMediaSupported( true );
+ printer.setMediaSize( "<%= mediaSize %>" );
+ <%
+ for( int j=0; j<mediaSizeNames.length; j++ )
+ {
+ String mediaSizeName = DataUtil.trimString( (String)mediaSizeNames[j] );
+ mediaSizeName = ParameterAccessor.htmlEncode( mediaSizeName );
+ %>
+ printer.addMediaSizeName( "<%= mediaSizeName %>" );
+ <%
+ }
+ }
+ else
+ {
+ %>
+ printer.setMediaSupported( false );
+ <%
+ }
+ %>
+
+ if( !printers[index] )
+ printers[index] = {};
+
+ printers[index].name = printer.getName( );
+ printers[index].value = printer;
+
+ index++;
+
+ </SCRIPT>
+<%
+ }
+ }
+%>
+<%-----------------------------------------------------------------------------
+ Print report on the server dialog fragment
+-----------------------------------------------------------------------------%>
+<TABLE CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <INPUT TYPE="checkbox" ID="print_onserver" <%if( !enable ) { %>DISABLED="true"<%}%>/>
+ <%=BirtResources.getMessage( "birt.viewer.dialog.printserver.onserver" )%>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <TABLE WIDTH="100%" ID="printer_general">
+ <TR>
+ <TD WIDTH="80px"><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.printer" )%></TD>
+ <TD>
+ <SELECT ID="printer" CLASS="birtviewer_printreportserver_dialog_select"></SELECT>
+ </TD>
+ </TR>
+ <TR>
+ <TD><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.status" )%></TD>
+ <TD><LABEL ID="printer_status"></LABEL></TD>
+ </TR>
+ <TR>
+ <TD><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.model" )%></TD>
+ <TD><LABEL ID="printer_model"></LABEL></TD>
+ </TR>
+ <TR>
+ <TD><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.description" )%></TD>
+ <TD><LABEL ID="printer_description"></LABEL></TD>
+ </TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD><HR/></TD></TR>
+ <TR>
+ <TD><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings" )%></TD>
+ </TR>
+ <TR>
+ <TD>
+ <TABLE WIDTH="100%" ID="printer_config">
+ <TR>
+ <TD WIDTH="100px">
+ <%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.copies" )%>
+ </TD>
+ <TD>
+ <INPUT TYPE="text" CLASS="birtviewer_printreportserver_dialog_input_short" ID="printer_copies"/>
+ &nbsp;&nbsp;<%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.collate" )%>&nbsp;&nbsp;<INPUT TYPE="checkbox" ID="printer_collate"/>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.duplex" )%>
+ </TD>
+ <TD>
+ <INPUT TYPE="radio" ID="printer_duplexSimplex" NAME="printerDuplex"/><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.duplex.simplex" )%>
+ &nbsp;&nbsp;<INPUT TYPE="radio" ID="printer_duplexHorz" NAME="printerDuplex"/><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.duplex.horizontal" )%>
+ &nbsp;&nbsp;<INPUT TYPE="radio" ID="printer_duplexVert" NAME="printerDuplex"/><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.duplex.vertical" )%>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.mode" )%>
+ </TD>
+ <TD>
+ <INPUT TYPE="radio" ID="printer_modeBW" NAME="printerMode"/><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.mode.bw" )%>
+ &nbsp;&nbsp;<INPUT TYPE="radio" ID="printer_modeColor" NAME="printerMode"/><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.mode.color" )%>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.pagesize" )%>
+ </TD>
+ <TD>
+ <SELECT ID="printer_mediasize" CLASS="birtviewer_printreportserver_dialog_select"></SELECT>
+ </TD>
+ </TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD><HR/></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="printServerPageSetting">
+ <TABLE>
+ <TR>
+ <TD><%=BirtResources.getMessage( "birt.viewer.dialog.printserver.settings.print" )%></TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printServerPageAll" NAME="printServerPages" CHECKED/><%=BirtResources.getMessage( "birt.viewer.dialog.page.all" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printServerPageCurrent" NAME="printServerPages"/><%=BirtResources.getMessage( "birt.viewer.dialog.page.current" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printServerPageRange" NAME="printServerPages"/><%=BirtResources.getMessage( "birt.viewer.dialog.page.range" )%>
+ <INPUT TYPE="text" CLASS="birtviewer_printreportserver_dialog_input" ID="printServerPageRange_input"/>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR>
+ <TD>&nbsp;&nbsp;<%=BirtResources.getMessage( "birt.viewer.dialog.page.range.description" )%></TD>
+ </TR>
+ <TR HEIGHT="5px"><TD><HR/></TD></TR>
+ <TR>
+ <TD>
+ <DIV ID="printServerFitSetting">
+ <TABLE>
+ <TR>
+ <TD>
+ <INPUT TYPE="radio" ID="printServerFitToAuto" NAME="printServerFit" CHECKED/><%=BirtResources.getHtmlMessage( "birt.viewer.dialog.export.pdf.fittoauto" )%>
+ </TD>
+ <TD>
+ <INPUT TYPE="radio" ID="printServerFitToActual" NAME="printServerFit"/><%=BirtResources.getMessage( "birt.viewer.dialog.export.pdf.fittoactual" )%>
+ </TD>
+ <TD STYLE="padding-left:5px">
+ <INPUT TYPE="radio" ID="printServerFitToWhole" NAME="printServerFit"/><%=BirtResources.getMessage( "birt.viewer.dialog.export.pdf.fittowhole" )%>
+ </TD>
+ <TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+</TABLE>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/PrintReportServerDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,252 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.engine.api.DataExtractionFormatInfo,
+ org.eclipse.birt.report.resource.BirtResources" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%
+ DataExtractionFormatInfo[] dataExtractInfos = ParameterAccessor.supportedDataExtractions;
+%>
+<%-----------------------------------------------------------------------------
+ Export data dialog fragment
+-----------------------------------------------------------------------------%>
+<TABLE ID="simpleExportDialogBody" CELLSPACING="2" CELLPADDING="2" CLASS="birtviewer_dialog_body">
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD>
+ <LABEL FOR="resultsets"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.resultsets" )%>
+ </LABEL>
+ </TD>
+ </TR>
+ <TR>
+ <TD COLSPAN="4">
+ <SELECT ID="resultsets" CLASS="birtviewer_exportdata_dialog_single_select">
+ </SELECT>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD VALIGN="top">
+ <TABLE STYLE="font-size:8pt;">
+ <TR><TD>
+ <LABEL FOR="availableColumnSelect"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.availablecolumn" )%></LABEL>
+ </TD></TR>
+ <TR><TD>
+ <SELECT ID="availableColumnSelect" MULTIPLE="true" SIZE="10" CLASS="birtviewer_exportdata_dialog_select">
+ </SELECT>
+ </TD></TR>
+ </TABLE>
+ </TD>
+ <TD VALIGN="middle">
+ <TABLE HEIGHT="100%">
+ <TR>
+ <TD>
+ <TABLE VALIGN="middle">
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Addall"
+ <%
+ if( !attributeBean.isRtl())
+ {
+ %>
+ SRC="birt/images/AddAll.gif"
+ <%
+ }
+ else
+ {
+ %>
+ SRC="birt/images/AddAll_rtl.gif"
+ <%
+ }
+ %>
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.addall" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.addall" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR height="2px"><TD></TD></TR>
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Add"
+ <%
+ if( !attributeBean.isRtl())
+ {
+ %>
+ SRC="birt/images/Add.gif"
+ <%
+ }
+ else
+ {
+ %>
+ SRC="birt/images/Add_rtl.gif"
+ <%
+ }
+ %>
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.add" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.add" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR height="2px"><TD></TD></TR>
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Remove"
+ <%
+ if( !attributeBean.isRtl())
+ {
+ %>
+ SRC="birt/images/Remove_disabled.gif"
+ <%
+ }
+ else
+ {
+ %>
+ SRC="birt/images/Remove_disabled_rtl.gif"
+ <%
+ }
+ %>  
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.remove" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.remove" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR height="2px"><TD></TD></TR>
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Removeall"
+ <%
+ if( !attributeBean.isRtl())
+ {
+ %>
+ SRC="birt/images/RemoveAll_disabled.gif"
+ <%
+ }
+ else
+ {
+ %>
+ SRC="birt/images/RemoveAll_disabled_rtl.gif"
+ <%
+ }
+ %>  
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.removeall" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.removeall" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+ </TABLE>
+ </TD>
+ <TD VALIGN="middle">
+ <TABLE HEIGHT="100%">
+ <TR>
+ <TD>
+ <TABLE VALIGN="middle">
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Up" SRC="birt/images/Up_disabled.gif"
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.up" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.up" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ <TR height="2px"><TD></TD></TR>
+ <TR><TD>
+ <INPUT TYPE="image" NAME="Down" SRC="birt/images/Down_disabled.gif"
+ ALT="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.down" )%>"
+ TITLE="<%= BirtResources.getHtmlMessage( "birt.viewer.dialog.exportdata.down" )%>"
+ CLASS="birtviewer_exportdata_dialog_button">
+ </TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+ </TABLE>
+ </TD>
+ <TD >
+ <TABLE STYLE="font-size:8pt;">
+ <TR><TD>
+ <LABEL FOR="selectedColumnSelect"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.selectedcolumn" )%></LABEL>
+ </TD></TR>
+ <TR><TD>
+ <SELECT ID="selectedColumnSelect" MULTIPLE="true" SIZE="10" CLASS="birtviewer_exportdata_dialog_select">
+ </SELECT>
+ </TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+ <TR>
+ <TD COLSPAN="4">
+ <DIV>
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.extension" )%>
+ <SELECT ID="exportDataExtension" CLASS="birtviewer_exportdata_dialog_select">
+ <%
+ for ( int i = 0; i < dataExtractInfos.length; i++ )
+ {
+ DataExtractionFormatInfo extensionInfo  = dataExtractInfos[i];
+ if( extensionInfo.getId() == null
+ || extensionInfo.getFormat() == null
+ || ( extensionInfo.isHidden() != null && extensionInfo.isHidden().booleanValue() ) )
+ continue;
+
+ String extensionName = extensionInfo.getName( );
+ if( extensionName == null )
+ extensionName = "";
+ %>
+ <OPTION VALUE="<%= extensionInfo.getId() %>"><%= extensionName %>(*.<%= extensionInfo.getFormat() %>)</OPTION>
+ <%
+ }
+ %>
+ </SELECT>
+ </DIV>
+ <BR/>
+ <DIV ID="exportDataEncodingSetting">
+ <TABLE>
+ <TR>
+ <TD><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.encoding" )%></TD>
+ <TD><INPUT TYPE="radio" NAME="exportDataEncoding" ID="exportDataEncoding_UTF8" CHECKED value="UTF-8">UTF-8</TD>
+ </TR>
+ <TR>
+ <TD></TD>
+ <TD>
+ <INPUT TYPE="radio" NAME="exportDataEncoding" ID="exportDataEncoding_other"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.encoding.other" )%>
+ <INPUT TYPE="text" NAME="exportDataOtherEncoding" ID="exportDataOtherEncoding_input" CLASS="birtviewer_exportdata_dialog_input" DISABLED="true"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.encoding.comment" )%>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ <BR/>
+ <DIV>
+ <%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.separator" )%>
+ <SELECT ID="exportDataCSVSeparator" CLASS="birtviewer_exportdata_dialog_select">
+ <OPTION VALUE="0" SELECTED><%= BirtResources.getMessage( "birt.viewer.sep.0" )%></OPTION>
+ <OPTION VALUE="1"><%= BirtResources.getMessage( "birt.viewer.sep.1" )%></OPTION>
+ <OPTION VALUE="2"><%= BirtResources.getMessage( "birt.viewer.sep.2" )%></OPTION>
+ <OPTION VALUE="3"><%= BirtResources.getMessage( "birt.viewer.sep.3" )%></OPTION>
+ <OPTION VALUE="4"><%= BirtResources.getMessage( "birt.viewer.sep.4" )%></OPTION>
+ </SELECT>
+ </DIV>
+ <BR/>
+ <DIV>
+ <TABLE cellpadding="0" cellspacing="0">
+ <TR valign="top">
+ <TD><INPUT TYPE="checkbox" ID="exportColumnDataType"></TD>
+ <TD style="padding-top:2px;" nowrap="nowrap"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.datatype" )%></TD>
+ <TD style="padding-left:20px;" valign="top"><INPUT TYPE="checkbox" ID="exportColumnLocaleNeutral"></TD>
+ <TD style="padding-top:2px;" valign="top"><%= BirtResources.getMessage( "birt.viewer.dialog.exportdata.localeneutral" )%></TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+ <TR HEIGHT="5px"><TD></TD></TR>
+</TABLE>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/dialog/SimpleExportDataDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,42 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Report content fragment
+-----------------------------------------------------------------------------%>
+<TR VALIGN='top'>
+ <TD id="documentView">
+ <TABLE cellpadding="0" cellspacing="0" border="0">
+ <TR>
+ <TD style="vertical-align: top;">
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TD>
+ <TD style="vertical-align: top;">
+ <DIV ID="Document" CLASS="birtviewer_document_fragment">
+ </DIV>
+ </TD>
+ </TR>
+ </TABLE>
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/DocumentFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,260 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004-2008 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.resource.ResourceConstants,
+ org.eclipse.birt.report.resource.BirtResources,
+ org.eclipse.birt.report.utility.ParameterAccessor" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%
+ // base href can be defined in config file for deployment.
+ String baseHref = request.getScheme( ) + "://" + request.getServerName( ) + ":" + request.getServerPort( );
+ if( !attributeBean.isDesigner( ) )
+ {
+ String baseURL = ParameterAccessor.getBaseURL( );
+ if( baseURL != null )
+ baseHref = baseURL;
+ }
+ baseHref += request.getContextPath( ) + fragment.getJSPRootPath( );
+%>
+
+<%-----------------------------------------------------------------------------
+ Viewer root fragment
+-----------------------------------------------------------------------------%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<HTML>
+ <HEAD>
+ <TITLE><%= attributeBean.getReportTitle( ) %></TITLE>
+ <BASE href="<%= baseHref %>" >
+
+ <!-- Mimics Internet Explorer 7, it just works on IE8. -->
+ <META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7">
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
+ <LINK REL="stylesheet" HREF="birt/styles/style.css" TYPE="text/css">
+ <%
+ if( attributeBean.isRtl() )
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase_rtl.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ else
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ %>
+ <script type="text/javascript">
+ <%
+ if( request.getAttribute("SoapURL") != null )
+ {
+ %>
+ var soapURL = "<%= (String)request.getAttribute("SoapURL")%>";
+ <%
+ }
+ else
+ {
+ %>
+ var soapURL = document.location.href;
+ <%
+ }
+ %>
+ var rtl = <%= attributeBean.isRtl( ) %>;
+ </script>
+
+ <script src="birt/ajax/utility/Debug.js" type="text/javascript"></script>
+ <script src="birt/ajax/lib/prototype.js" type="text/javascript"></script>
+
+ <!-- Mask -->
+ <script src="birt/ajax/core/Mask.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BrowserUtility.js" type="text/javascript"></script>
+
+ <!-- Drag and Drop -->
+ <script src="birt/ajax/core/BirtDndManager.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/utility/Constants.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BirtUtility.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/core/BirtEventDispatcher.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtEvent.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/mh/BirtBaseResponseHandler.js" type="text/javascript"></script>
+ <script src="birt/ajax/mh/BirtGetUpdatedObjectsResponseHandler.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/app/AbstractUIComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/AbstractBaseToolbar.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtToolbar.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtNavigationBar.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/AbstractBaseToc.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtToc.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtProgressBar.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/report/AbstractReportComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/AbstractBaseReportDocument.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/BirtReportDocument.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/dialog/AbstractBaseDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtTabedDialogBase.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtSimpleExportDataDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtExportReportDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtPrintReportDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtPrintReportServerDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractExceptionDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtExceptionDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtConfirmationDialog.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/utility/BirtPosition.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/Printer.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/core/BirtCommunicationManager.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtSoapRequest.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtSoapResponse.js" type="text/javascript"></script>
+
+ </HEAD>
+
+ <BODY
+ CLASS="BirtViewer_Body"  
+ ONLOAD="javascript:init( );"
+ SCROLL="no"
+ LEFTMARGIN='0px'
+ STYLE='overflow:hidden; direction: <%= attributeBean.isRtl()?"rtl":"ltr" %>'
+ >
+ <!-- Header section -->
+ <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
+ <%
+ if( attributeBean.isShowTitle( ) )
+ {
+ %>
+ <TR CLASS='body_caption_top'>
+ <TD COLSPAN='2'></TD>
+ </TR>
+ <TR CLASS='body_caption' VALIGN='bottom'>
+ <TD COLSPAN='2'>
+ <TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%">
+ <TR>
+ <TD WIDTH="3px"/>
+ <TD>
+ <B><%= attributeBean.getReportTitle( ) %>
+ </B>
+ </TD>
+ <TD ALIGN='right'>
+ </TD>
+ <TD WIDTH="3px"/>
+ </TR>
+ </TABLE>
+ </TD>
+ </TR>
+ <%
+ }
+ %>
+
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TABLE>
+ </BODY>
+
+ <%@include file="../common/Locale.jsp" %>
+ <%@include file="../common/Attributes.jsp" %>
+
+ <script type="text/javascript">
+ // <![CDATA[
+ var hasSVGSupport = false;
+ var useVBMethod = false;
+ if ( navigator.mimeTypes != null && navigator.mimeTypes.length > 0 )
+ {
+    if ( navigator.mimeTypes["image/svg+xml"] != null )
+    {
+        hasSVGSupport = true;
+    }
+ }
+ else
+ {
+    useVBMethod = true;
+ }
+
+ // ]]>
+ </script>
+
+ <script type="text/vbscript">
+ On Error Resume Next
+ If useVBMethod = true Then
+    hasSVGSupport = IsObject(CreateObject("Adobe.SVGCtl"))
+ End If
+ </script>
+
+ <script type="text/javascript">
+ var Mask =  new Mask(false); //create mask using "div"
+ var BrowserUtility = new BrowserUtility();
+ DragDrop = new BirtDndManager();
+
+ var birtToolbar = new BirtToolbar( 'toolbar' );
+ var navigationBar = new BirtNavigationBar( 'navigationBar' );
+ var birtToc = new BirtToc( 'display0' );
+ var birtProgressBar = new BirtProgressBar( 'progressBar' );
+ var birtReportDocument = new BirtReportDocument( "Document", birtToc );
+
+ var birtParameterDialog = new BirtParameterDialog( 'parameterDialog', 'frameset' );
+ var birtSimpleExportDataDialog = new BirtSimpleExportDataDialog( 'simpleExportDataDialog' );
+ var birtExportReportDialog = new BirtExportReportDialog( 'exportReportDialog' );
+ var birtPrintReportDialog = new BirtPrintReportDialog( 'printReportDialog' );
+ var birtPrintReportServerDialog = new BirtPrintReportServerDialog( 'printReportServerDialog' );
+ var birtExceptionDialog = new BirtExceptionDialog( 'exceptionDialog' );
+ var birtConfirmationDialog = new BirtConfirmationDialog( 'confirmationDialog' );
+
+ // register the base elements to the mask, so their input
+ // will be disabled when a dialog is popped up.
+ Mask.setBaseElements( new Array( birtToolbar.__instance, navigationBar.__instance, birtReportDocument.__instance) );
+
+ function init()
+ {
+ soapURL = birtUtility.initSessionId( soapURL );
+
+ <%
+ if ( attributeBean.isShowParameterPage( ) )
+ {
+ %>
+ birtParameterDialog.__cb_bind( );
+ <%
+ }
+ else
+ {
+ %>
+ soapURL = birtUtility.initDPI( soapURL );
+ navigationBar.__init_page( );
+ <%
+ }
+ %>
+ }
+
+ // When link to internal bookmark, use javascript to fire an Ajax request
+ function catchBookmark( bookmark )
+ {
+ birtEventDispatcher.broadcastEvent( birtEvent.__E_GETPAGE, { name : "__bookmark", value : bookmark } );
+ }
+
+ </script>
+</HTML>
+

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/FramesetFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,34 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Parameter Dialog fragment
+-----------------------------------------------------------------------------%>
+<TR VALIGN='top'>
+ <TD>
+ <DIV ID="Document" CLASS="birtviewer_document_fragment">
+ </DIV>
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,32 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Report content fragment
+-----------------------------------------------------------------------------%>
+<TD ID='content' STYLE='width:100%;vertical-align:top'>
+ <TABLE CELLSPACING="0" CELLPADDING="0" STYLE="height:100%; width:100%">
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TABLE>
+</TD>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportContentFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,32 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Report dialog fragment
+-----------------------------------------------------------------------------%>
+<TR VALIGN='top'>
+<TD ID='reportdialog' STYLE='width:0%;vertical-align:top'>
+<%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+%>
+</TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportDialogFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,30 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Report fragment
+-----------------------------------------------------------------------------%>
+<TR>
+<%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+%>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/ReportFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,205 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004-2008 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.resource.BirtResources,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%
+ // base href can be defined in config file for deployment.
+ String baseHref = request.getScheme( ) + "://" + request.getServerName( ) + ":" + request.getServerPort( );
+ if( !attributeBean.isDesigner( ) )
+ {
+ String baseURL = ParameterAccessor.getBaseURL( );
+ if( baseURL != null )
+ baseHref = baseURL;
+ }
+ baseHref += request.getContextPath( ) + fragment.getJSPRootPath( );
+%>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<HTML>
+ <HEAD>
+ <TITLE>PARAMETER SELECTION PAGE</TITLE>
+ <BASE href="<%= baseHref %>" >
+
+ <!-- Mimics Internet Explorer 7, it just works on IE8. -->
+ <META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7">
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
+ <LINK REL="stylesheet" HREF="birt/styles/style.css" TYPE="text/css">
+ <%
+ if( attributeBean.isRtl() )
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase_rtl.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ else
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ %>
+
+ <script type="text/javascript">
+ <%
+ if( request.getAttribute("SoapURL") != null )
+ {
+ %>
+ var soapURL = "<%= (String)request.getAttribute("SoapURL")%>";
+ <%
+ }
+ else
+ {
+ %>
+ var soapURL = document.location.href;
+ <%
+ }
+ %>
+ var rtl = <%= attributeBean.isRtl( ) %>;
+ </script>
+
+ <SCRIPT SRC="birt/ajax/utility/Debug.js" type="text/javascript"></script>
+ <script src="birt/ajax/lib/prototype.js" type="text/javascript"></script>
+
+ <!-- Mask -->
+ <script src="birt/ajax/core/Mask.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BrowserUtility.js" type="text/javascript"></script>
+
+ <!-- Drag and Drop -->
+ <script src="birt/ajax/core/BirtDndManager.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/utility/Constants.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BirtUtility.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/core/BirtEventDispatcher.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtEvent.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/mh/BirtBaseResponseHandler.js" type="text/javascript"></script>
+ <script src="birt/ajax/mh/BirtGetUpdatedObjectsResponseHandler.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/app/AbstractUIComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtProgressBar.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/report/AbstractReportComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/AbstractBaseReportDocument.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/BirtReportDocument.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/dialog/AbstractBaseDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractExceptionDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtExceptionDialog.js" type="text/javascript"></script>
+
+ <SCRIPT SRC="birt/ajax/utility/BirtPosition.js" type="text/javascript"></script>
+
+ <SCRIPT SRC="birt/ajax/core/BirtCommunicationManager.js" type="text/javascript"></script>
+ <SCRIPT SRC="birt/ajax/core/BirtSoapRequest.js" type="text/javascript"></script>
+ <SCRIPT SRC="birt/ajax/core/BirtSoapResponse.js" type="text/javascript"></script>
+
+ </HEAD>
+
+ <BODY CLASS="BirtViewer_Body" onload="Javascript:init()" SCROLL="no" LEFTMARGIN='0px' STYLE='overflow:hidden'>
+ <%
+ if( attributeBean.isRtl() )
+ {
+ %>
+ <DIV DIR="rtl">
+ <%
+ }
+ %>
+ <!-- Header section -->
+ <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TABLE>
+ <%
+ if( attributeBean.isRtl() )
+ {
+ %>
+ </DIV>
+ <%
+ }
+ %>
+ </BODY>
+
+ <%@include file="../common/Locale.jsp" %>
+ <%@include file="../common/Attributes.jsp" %>
+
+ <script type="text/javascript">
+ // <![CDATA[
+ var hasSVGSupport = false;
+ var useVBMethod = false;
+ if ( navigator.mimeTypes != null && navigator.mimeTypes.length > 0 )
+ {
+    if ( navigator.mimeTypes["image/svg+xml"] != null )
+    {
+        hasSVGSupport = true;
+    }
+ }
+ else
+ {
+    useVBMethod = true;
+ }
+
+ // ]]>
+ </script>
+
+ <SCRIPT TYPE="text/vbscript">
+ On Error Resume Next
+ If useVBMethod = true Then
+    hasSVGSupport = IsObject(CreateObject("Adobe.SVGCtl"))
+ End If
+ </SCRIPT>
+
+ <SCRIPT TYPE="text/javascript">
+ var Mask =  new Mask( false );
+ var BrowserUtility = new BrowserUtility( );
+ var DragDrop = new BirtDndManager( );
+
+ var birtProgressBar = new BirtProgressBar( 'progressBar' );
+ var birtReportDocument = new BirtReportDocument( "Document" );
+
+ var parameterMode;
+ if ( Constants.request.servletPath == Constants.SERVLET_PARAMETER )
+ {
+ parameterMode = Constants.SERVLET_PARAMETER;
+ }
+ else
+ {
+ parameterMode = Constants.SERVLET_PREVIEW;
+ }
+
+ var birtParameterDialog = new BirtParameterDialog( 'parameterDialog', parameterMode );
+ var birtExceptionDialog = new BirtExceptionDialog( 'exceptionDialog' );
+
+ function init( )
+ {
+ soapURL = birtUtility.initSessionId( soapURL );
+ birtParameterDialog.__cb_bind( );
+ }
+
+ </SCRIPT>
+</HTML>
+

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,212 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004-2008 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.resource.ResourceConstants,
+ org.eclipse.birt.report.resource.BirtResources,
+ org.eclipse.birt.report.utility.ParameterAccessor" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%
+ // base href can be defined in config file for deployment.
+ String baseHref = request.getScheme( ) + "://" + request.getServerName( ) + ":" + request.getServerPort( );
+ if( !attributeBean.isDesigner( ) )
+ {
+ String baseURL = ParameterAccessor.getBaseURL( );
+ if( baseURL != null )
+ baseHref = baseURL;
+ }
+ baseHref += request.getContextPath( ) + fragment.getJSPRootPath( );
+%>
+
+<%-----------------------------------------------------------------------------
+ Viewer run fragment
+-----------------------------------------------------------------------------%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<HTML>
+ <HEAD>
+ <TITLE><%= attributeBean.getReportTitle( ) %></TITLE>
+ <BASE href="<%= baseHref %>" >
+
+ <!-- Mimics Internet Explorer 7, it just works on IE8. -->
+ <META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7">
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
+ <LINK REL="stylesheet" HREF="birt/styles/style.css" TYPE="text/css">
+ <%
+ if( attributeBean.isRtl() )
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase_rtl.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ else
+ {
+ %>
+ <LINK REL="stylesheet" HREF="birt/styles/dialogbase.css" MEDIA="screen" TYPE="text/css"/>
+ <%
+ }
+ %>
+
+ <script type="text/javascript">
+ <%
+ if( request.getAttribute("SoapURL") != null )
+ {
+ %>
+ var soapURL = "<%= (String)request.getAttribute("SoapURL")%>";
+ <%
+ }
+ else
+ {
+ %>
+ var soapURL = document.location.href;
+ <%
+ }
+ %>
+ var rtl = <%= attributeBean.isRtl( ) %>;
+ </script>
+
+ <script src="birt/ajax/utility/Debug.js" type="text/javascript"></script>
+ <script src="birt/ajax/lib/prototype.js" type="text/javascript"></script>
+
+ <!-- Mask -->
+ <script src="birt/ajax/core/Mask.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BrowserUtility.js" type="text/javascript"></script>
+
+ <!-- Drag and Drop -->
+ <script src="birt/ajax/core/BirtDndManager.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/utility/Constants.js" type="text/javascript"></script>
+ <script src="birt/ajax/utility/BirtUtility.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/core/BirtEventDispatcher.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtEvent.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/mh/BirtBaseResponseHandler.js" type="text/javascript"></script>
+ <script src="birt/ajax/mh/BirtGetUpdatedObjectsResponseHandler.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/app/AbstractUIComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/app/BirtProgressBar.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/report/AbstractReportComponent.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/AbstractBaseReportDocument.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/report/BirtReportDocument.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/ui/dialog/AbstractBaseDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtTabedDialogBase.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtParameterDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/AbstractExceptionDialog.js" type="text/javascript"></script>
+ <script src="birt/ajax/ui/dialog/BirtExceptionDialog.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/utility/BirtPosition.js" type="text/javascript"></script>
+
+ <script src="birt/ajax/core/BirtCommunicationManager.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtSoapRequest.js" type="text/javascript"></script>
+ <script src="birt/ajax/core/BirtSoapResponse.js" type="text/javascript"></script>
+
+ </HEAD>
+
+ <BODY CLASS="BirtViewer_Body"  ONLOAD="javascript:init( );" SCROLL="no" LEFTMARGIN='0px'
+ STYLE='overflow:hidden; direction: <%= attributeBean.isRtl()?"rtl":"ltr" %>'>
+ <!-- Header section -->
+ <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
+ <%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+ %>
+ </TABLE>
+ </BODY>
+
+ <%@include file="../common/Locale.jsp" %>
+ <%@include file="../common/Attributes.jsp" %>
+
+ <script type="text/javascript">
+ // <![CDATA[
+ var hasSVGSupport = false;
+ var useVBMethod = false;
+ if ( navigator.mimeTypes != null && navigator.mimeTypes.length > 0 )
+ {
+    if ( navigator.mimeTypes["image/svg+xml"] != null )
+    {
+        hasSVGSupport = true;
+    }
+ }
+ else
+ {
+    useVBMethod = true;
+ }
+
+ // ]]>
+ </script>
+
+ <script type="text/vbscript">
+ On Error Resume Next
+ If useVBMethod = true Then
+    hasSVGSupport = IsObject(CreateObject("Adobe.SVGCtl"))
+ End If
+ </script>
+
+ <script type="text/javascript">
+ var Mask =  new Mask(false); //create mask using "div"
+ var BrowserUtility = new BrowserUtility();
+ DragDrop = new BirtDndManager();
+
+ var birtReportDocument = new BirtReportDocument( "Document" );
+ var birtProgressBar = new BirtProgressBar( 'progressBar' );
+
+ var birtParameterDialog = new BirtParameterDialog( 'parameterDialog', 'run' );
+ var birtExceptionDialog = new BirtExceptionDialog( 'exceptionDialog' );
+
+ function init()
+ {
+ soapURL = birtUtility.initSessionId( soapURL );
+ <%
+ if ( attributeBean.isShowParameterPage( ) )
+ {
+ %>
+ birtParameterDialog.__cb_bind( );
+ <%
+ }
+ else
+ {
+ %>
+ soapURL = birtUtility.initDPI( soapURL );
+ birtParameterDialog.__init_page_all( );
+ <%
+ }
+ %>
+ }
+
+ // When link to internal bookmark, use javascript to fire an Ajax request
+ function catchBookmark( bookmark )
+ {
+ var action = window.location.href;
+ var reg = new RegExp( "([^#]*)#.*", "gi" );
+ if( action.search( reg ) >= 0 )
+ {
+ action = action.replace( reg, "$1" );
+ }
+
+ window.location.href = action + "#" + birtUtility.htmlDecode( bookmark );
+ }
+
+ </script>
+</HTML>
+

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,30 @@
+<%-----------------------------------------------------------------------------
+ Copyright (c) 2004 Actuate Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Actuate Corporation - Initial implementation.
+-----------------------------------------------------------------------------%>
+<%@ page contentType="text/html; charset=utf-8" %>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragment" type="org.eclipse.birt.report.presentation.aggregation.IFragment" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Navigation fragment
+-----------------------------------------------------------------------------%>
+<TD ID='sidebar' STYLE='width:0%;vertical-align:top'>
+<%
+ if ( fragment != null )
+ {
+ fragment.callBack( request, response );
+ }
+%>
+</TD>
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain