svn commit: r831503 [16/17] - in /ofbiz/branches/addbirt: framework/ framework/base/config/ framework/birt/ framework/birt/build/ framework/birt/build/classes/ framework/birt/build/classes/org/ framework/birt/build/classes/org/ofbiz/ framework/birt/bui...

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

svn commit: r831503 [16/17] - in /ofbiz/branches/addbirt: framework/ framework/base/config/ framework/birt/ framework/birt/build/ framework/birt/build/classes/ framework/birt/build/classes/org/ framework/birt/build/classes/org/ofbiz/ framework/birt/bui...

hansbak-2
Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp Sat Oct 31 01:22:47 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()" 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/birt/webapp/birt/webcontent/birt/pages/layout/RequesterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp Sat Oct 31 01:22:47 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/birt/webapp/birt/webcontent/birt/pages/layout/RunFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp Sat Oct 31 01:22:47 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/birt/webapp/birt/webcontent/birt/pages/layout/SidebarFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,62 @@
+<%-----------------------------------------------------------------------------
+ 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.context.ScalarParameterBean,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.utility.ParameterAccessor" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Checkbox parameter control
+-----------------------------------------------------------------------------%>
+<%
+ ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( );
+ String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) );
+%>
+<TR>
+ <TD NOWRAP>
+ <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/>
+ </TD>
+ <TD NOWRAP>
+ <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName %>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT>
+ <%-- is required --%>
+ <%
+ if ( parameterBean.isRequired( ) )
+ {
+ %>
+ <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName %>">*</LABEL></FONT>
+ <%
+ }
+ %>
+ </TD>
+</TR>
+<TR>
+ <TD NOWRAP></TD>
+ <TD NOWRAP WIDTH="100%">
+ <%-- Parameter control --%>
+ <INPUT TYPE="HIDDEN" ID="control_type" VALUE="checkbox">
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_hidden" %>"
+ NAME="<%= encodedParameterName %>"
+ VALUE="<%= parameterBean.getValue( ) %>">
+ <INPUT TYPE="CHECKBOX"
+ ID="<%= encodedParameterName %>"
+ TITLE="<%= parameterBean.getToolTip( ) %>"
+ VALUE="<%= encodedParameterName %>"
+ <%= "true".equalsIgnoreCase( parameterBean.getValue( ) ) ? "CHECKED" : "" %>
+ >
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,229 @@
+<%-----------------------------------------------------------------------------
+ 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.context.ScalarParameterBean,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.IBirtConstants,
+ org.eclipse.birt.report.service.api.ParameterSelectionChoice,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.utility.DataUtil,
+ java.util.List" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Combo box parameter control
+-----------------------------------------------------------------------------%>
+<%
+ ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( );
+ String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) );
+ String paramValue = parameterBean.getValue( );
+ String displayText = parameterBean.getDisplayText( );
+ String defaultValue = parameterBean.getDefaultValue( );
+ String defaultDisplayText = parameterBean.getDefaultDisplayText( );
+ boolean isDisplayTextInList = parameterBean.isDisplayTextInList( );
+ boolean allowMultiValue = !parameterBean.allowNewValues( ) && parameterBean.getParameter( ).isMultiValue( );
+ List values = parameterBean.getValueList( );
+%>
+<TR>
+ <TD NOWRAP>
+ <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/>
+ </TD>
+ <TD NOWRAP>
+ <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName + "_selection"%>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT>
+ <%-- is required --%>
+ <%
+ if ( parameterBean.isRequired( ) )
+ {
+ %>
+ <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName + "_selection"%>">*</LABEL></FONT>
+ <%
+ }
+ %>
+ </TD>
+</TR>
+<TR>
+ <TD NOWRAP></TD>
+ <TD NOWRAP WIDTH="100%">
+ <INPUT TYPE="HIDDEN" ID="control_type" VALUE="select">
+ <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>">
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_value" %>"
+ NAME="<%= encodedParameterName %>"
+ <%= paramValue != null ? " VALUE=\"" + ParameterAccessor.htmlEncode( paramValue ) + "\"": "" %>
+ >
+
+<%
+ boolean CHECKED = true;
+
+ if ( parameterBean.allowNewValues( ) ) // TODO: Editable
+ {
+ CHECKED = parameterBean.isValueInList( )
+  || paramValue == null
+  || ( !parameterBean.isValueInList( ) && defaultValue != null && defaultValue.equals( paramValue ) );
+%>
+ <LABEL FOR="<%= encodedParameterName + "_radio_selection" %>" CLASS="birtviewer_hidden_label">Select</LABEL>
+ <INPUT TYPE="RADIO"
+ birtParameterType="combobox"
+ NAME="<%= encodedParameterName + "_radios" %>"
+ ID="<%= encodedParameterName + "_radio_selection" %>"
+ VALUE="<%= encodedParameterName %>"
+ <%= CHECKED ? "CHECKED" : "" %> >
+<%
+ }
+%>
+ <SELECT ID="<%= encodedParameterName + "_selection"%>"
+ TITLE="<%= parameterBean.getToolTip( ) %>"
+ CLASS="birtviewer_parameter_dialog_Select"
+ birtParameterType="combobox"
+ <%= !CHECKED ? "DISABLED='true'" : "" %>
+ <%=  allowMultiValue? "multiple='true'" : "" %> >
+<%
+ if ( parameterBean.getSelectionList( ) != null )
+ {
+ if( !parameterBean.isRequired( ) || ( parameterBean.isCascade( ) && DataUtil.trimString( defaultValue ).length( )<=0 ) )
+ {
+ if( allowMultiValue && DataUtil.contain( values, "", true ) )
+ {
+%>
+ <OPTION SELECTED></OPTION>
+<%
+ }
+ else
+ {
+%>
+ <OPTION></OPTION>
+<%
+ }
+ }
+
+ if ( DataUtil.trimString( defaultValue ).length( ) > 0 && !parameterBean.isDefaultValueInList( ) ) // Add default value in Combo Box
+ {
+ boolean flag = false;
+ if( allowMultiValue )
+ {
+ flag = DataUtil.contain( values, defaultValue, true );
+ }
+ else
+ {
+ flag = CHECKED && !parameterBean.isValueInList( );
+ // if displayText is in request, use it
+ if( flag && parameterBean.isDisplayTextInReq( ) )
+ {
+ defaultDisplayText = displayText;
+ }
+ }
+%>
+ <OPTION VALUE="<%= ParameterAccessor.htmlEncode( defaultValue ) %>"
+        TITLE="<%= ParameterAccessor.htmlEncode( defaultDisplayText ) %>"
+ <%=  flag ? "SELECTED" : "" %> > <%= ParameterAccessor.htmlEncode( defaultDisplayText ) %></OPTION>
+<%
+ }
+
+ boolean isSelected = false;
+ for ( int i = 0; i < parameterBean.getSelectionList( ).size( ); i++ )
+ {
+ ParameterSelectionChoice selectionItem = ( ParameterSelectionChoice )parameterBean.getSelectionList( ).get( i );
+ String label = selectionItem.getLabel( );
+ String value = ( String ) selectionItem.getValue( );
+ String outputValue = ParameterAccessor.htmlEncode(( value == null)?IBirtConstants.NULL_VALUE:value);
+ String outputLabel = ParameterAccessor.htmlEncode(( label == null)?IBirtConstants.NULL_VALUE_DISPLAY:label);
+
+ if( allowMultiValue )
+ {
+ if( DataUtil.contain( values, value, true ) )
+ {
+%>
+ <OPTION VALUE="<%= outputValue %>"
+        TITLE="<%= outputLabel %>"
+        SELECTED><%= outputLabel %></OPTION>
+<%
+
+ }
+ else
+ {
+%>
+ <OPTION VALUE="<%= outputValue %>"
+        TITLE="<%= outputLabel %>"><%= outputLabel %></OPTION>
+<%
+ }
+ }
+ else
+ {
+ if ( !isSelected && DataUtil.equals( paramValue, value )
+ && ( !isDisplayTextInList || ( isDisplayTextInList && DataUtil.equals(label, displayText ) )))
+ {
+ isSelected = true;
+%>
+ <OPTION VALUE="<%= outputValue %>"
+        TITLE="<%= outputLabel %>"
+        SELECTED><%= outputLabel %></OPTION>
+<%
+ }
+ else
+ {
+%>
+ <OPTION VALUE="<%= outputValue %>"
+        TITLE="<%= outputLabel %>"><%= outputLabel %></OPTION>
+<%
+ }
+ }
+ }
+ }
+%>
+ </SELECT>
+<%
+ if ( parameterBean.allowNewValues( ) ) // TODO: editable.
+ {
+%>
+ <BR>
+ <LABEL FOR="<%= encodedParameterName + "_radio_input" %>" CLASS="birtviewer_hidden_label">Input</LABEL>
+ <INPUT TYPE="RADIO"
+ birtParameterType="combobox"
+ NAME="<%= encodedParameterName + "_radios" %>"
+ ID="<%= encodedParameterName + "_radio_input"%>"
+ VALUE="<%= encodedParameterName %>"
+ <%= !CHECKED ? "CHECKED" : "" %> >
+
+ <LABEL FOR="<%= encodedParameterName + "_input" %>" CLASS="birtviewer_hidden_label">Input text</LABEL>
+ <INPUT CLASS="BirtViewer_parameter_dialog_Input"
+ birtParameterType="combobox"
+ TYPE="<%= parameterBean.isValueConcealed( )? "PASSWORD" : "TEXT" %>"
+ TITLE="<%= parameterBean.getToolTip( ) %>"
+ <%= !CHECKED ? "NAME=\"" + encodedParameterName + "_default\"": "" %>
+ ID="<%= encodedParameterName + "_input"%>"
+ <%= !CHECKED && displayText != null ? "VALUE=\"" + ParameterAccessor.htmlEncode( displayText ) + "\"": "" %>
+ <%= CHECKED ? "DISABLED='true'" : "" %> >
+
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_displayText" %>"
+ <%= !CHECKED && displayText != null ? "VALUE=\"" + ParameterAccessor.htmlEncode( displayText ) + "\"": "" %>
+ >
+ <%
+  }
+ %>
+ <INPUT TYPE="HIDDEN" ID="isRequired"
+ VALUE = "<%= parameterBean.isRequired( )? "true": "false" %>">
+
+ <%
+ if ( parameterBean.isCascade( ) )
+ {
+ %>
+ <INPUT TYPE="HIDDEN" ID="<%=IBirtConstants.IS_CASCADE%>" VALUE="true"/>
+ <%
+ }
+ %>
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,48 @@
+<%-----------------------------------------------------------------------------
+ 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.utility.ParameterAccessor,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.context.ScalarParameterBean" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Hidden parameter control
+-----------------------------------------------------------------------------%>
+<%
+ ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( );
+ String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) );
+ String value = parameterBean.getValue( );
+ if( value != null )
+ {
+%>
+
+<TR>
+ <TD NOWRAP></TD>
+ <TD NOWRAP WIDTH="100%">
+ <INPUT TYPE="HIDDEN" ID="control_type" VALUE="hidden">
+ <INPUT TYPE="HIDDEN"
+ NAME="<%= encodedParameterName %>"
+ VALUE="<%= value %>"/>
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_displayText" %>"
+ VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>" />
+ </TD>
+</TR>
+
+<%
+ }
+%>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,81 @@
+<%-----------------------------------------------------------------------------
+ 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.utility.ParameterAccessor,
+ org.eclipse.birt.report.context.ParameterGroupBean,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.presentation.aggregation.IFragment" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="fragments" type="java.util.Collection" scope="request" />
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Content fragment
+-----------------------------------------------------------------------------%>
+<%
+ ParameterGroupBean parameterGroupBean = ( ParameterGroupBean ) attributeBean.getParameterBean( );
+%>
+<TR><TD HEIGHT="16px" COLSPAN="2"></TD></TR>
+<%
+ if ( parameterGroupBean.getDisplayName( ) != null )
+ {
+%>
+<TR>
+ <TD NOWRAP>
+ <IMG SRC="birt/images/parameter_group.gif" ALT="<%= parameterGroupBean.getDisplayName( ) %>" TITLE="<%= parameterGroupBean.getToolTip( ) %>"/>
+ </TD>
+ <TD NOWRAP>
+ <FONT TITLE="<%= parameterGroupBean.getToolTip( ) %>"><B><%= parameterGroupBean.getDisplayName( ) %></B></FONT>
+ </TD>
+</TR>
+<%
+ }
+%>
+<TR>
+<%
+ if ( parameterGroupBean.getDisplayName( ) != null )
+ {
+%>
+ <TD NOWRAP></TD>
+ <TD NOWRAP>
+<%
+ }
+ else
+ {
+%>
+ <TD COLSPAN="2" NOWRAP>
+<%
+ }
+%>
+ <TABLE CLASS="birtviewer_parameter_dialog_Label">
+ <%
+ if ( fragments != null )
+ {
+ Iterator childIterator = fragments.iterator( );
+ while ( childIterator.hasNext( ) )
+ {
+    IFragment subfragment = ( IFragment ) childIterator.next( );
+ if ( subfragment != null )
+ {
+ subfragment.service( request, response );
+ }
+ }
+ }
+ %>
+ </TABLE>
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,90 @@
+<%-----------------------------------------------------------------------------
+ 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.context.ScalarParameterBean,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.service.api.ParameterSelectionChoice,
+ org.eclipse.birt.report.utility.ParameterAccessor,
+ org.eclipse.birt.report.utility.DataUtil,
+ org.eclipse.birt.report.IBirtConstants" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Radio button parameter control
+-----------------------------------------------------------------------------%>
+<%
+ ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( );
+ String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) );
+ boolean isDisplayTextInList = parameterBean.isDisplayTextInList( );
+%>
+<TR>
+ <TD NOWRAP>
+ <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/>
+ </TD>
+ <TD NOWRAP>
+ <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><%= parameterBean.getDisplayName( ) %>:</FONT>
+ <%-- is required --%>
+ <%
+ if ( parameterBean.isRequired( ) )
+ {
+ %>
+ <FONT COLOR="red">*</FONT>
+ <%
+ }
+ %>
+ </TD>
+</TR>
+<TR>
+ <TD NOWRAP></TD>
+ <TD NOWRAP WIDTH="100%">
+ <INPUT TYPE="HIDDEN" ID="control_type" VALUE="radio">
+ <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>">
+ <%-- Parameter control --%>
+<%
+ if (parameterBean.getSelectionList( ) != null)
+ {
+ boolean CHECKED = false;
+ boolean isSelected = false;
+ for ( int i = 0; i < parameterBean.getSelectionList( ).size( ); i++ )
+ {
+ ParameterSelectionChoice selectionItem = ( ParameterSelectionChoice )parameterBean.getSelectionList( ).get( i );
+ String label = selectionItem.getLabel( );
+ String value = ( String ) selectionItem.getValue( );
+ String encodedValue = ParameterAccessor.htmlEncode(( value == null )?IBirtConstants.NULL_VALUE:value);
+
+ CHECKED = ( DataUtil.equals( parameterBean.getValue( ), value )
+ && ( !isDisplayTextInList || ( isDisplayTextInList && label.equals( parameterBean.getDisplayText( ) ) ) ) );
+%>
+ <INPUT TYPE="RADIO"
+ NAME="<%= encodedParameterName %>"
+ ID="<%= encodedParameterName + i %>"
+ TITLE="<%= parameterBean.getToolTip( ) %>"
+ VALUE="<%= encodedValue %>"
+ <%= !isSelected && CHECKED ? "CHECKED" : "" %>>
+ <LABEL ID="<%= (encodedParameterName + i) + "_label" %>"
+   TITLE="<%= ParameterAccessor.htmlEncode( label ) %>"
+   FOR="<%= encodedParameterName + i %>"><%= ParameterAccessor.htmlEncode( label ) %></LABEL>
+ </INPUT>
+ <BR>
+<%
+ if( CHECKED )
+ isSelected = true;
+ }
+ }
+
+%>
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp Sat Oct 31 01:22:47 2009
@@ -0,0 +1,98 @@
+<%-----------------------------------------------------------------------------
+ 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.utility.ParameterAccessor,
+ org.eclipse.birt.report.context.BaseAttributeBean,
+ org.eclipse.birt.report.context.ScalarParameterBean" %>
+
+<%-----------------------------------------------------------------------------
+ Expected java beans
+-----------------------------------------------------------------------------%>
+<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" />
+
+<%-----------------------------------------------------------------------------
+ Text box parameter control
+-----------------------------------------------------------------------------%>
+<%
+ ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( );
+ String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) );
+%>
+<TR>
+ <TD NOWRAP>
+ <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/>
+ </TD>
+ <TD NOWRAP>
+ <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName %>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT>
+ <%-- is required --%>
+ <%
+ if ( parameterBean.isRequired( ) )
+ {
+ %>
+ <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName %>">*</LABEL></FONT>
+ <%
+ }
+ %>
+ </TD>
+</TR>
+<TR>
+ <TD NOWRAP></TD>
+ <TD NOWRAP WIDTH="100%">
+ <INPUT TYPE="HIDDEN" ID="control_type" VALUE="text">
+ <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>">
+<%
+ if ( !parameterBean.isRequired( ) )
+ {
+%>
+ <LABEL FOR="<%= encodedParameterName + "_radio_notnull" %>" CLASS="birtviewer_hidden_label">Input text</LABEL>
+ <INPUT TYPE="RADIO"
+ ID="<%= encodedParameterName + "_radio_notnull" %>"
+ VALUE="<%= encodedParameterName %>"
+ <%= (parameterBean.getValue( ) != null)? "CHECKED" : "" %>>
+<%
+ }
+%>
+ <INPUT CLASS="BirtViewer_parameter_dialog_Input"
+ TYPE="<%= parameterBean.isValueConcealed( )? "PASSWORD" : "TEXT" %>"
+ NAME="<%= encodedParameterName %>"
+ ID="<%= encodedParameterName %>"
+ TITLE="<%= parameterBean.getToolTip( ) %>"
+ VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>"
+ <%= ( !parameterBean.isRequired( ) && parameterBean.getValue( ) == null )? "DISABLED='true'" : "" %>
+            >
+
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_value" %>"
+ VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getValue( ) == null )? "" : parameterBean.getValue( ) ) %>"
+ >
+
+ <INPUT TYPE="HIDDEN"
+ ID="<%= encodedParameterName + "_displayText" %>"
+ VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>"
+ >
+<%
+ if ( !parameterBean.isRequired( ) )
+ {
+%>
+ <BR>
+ <LABEL FOR="<%= encodedParameterName + "_radio_null" %>" CLASS="birtviewer_hidden_label">Null Value</LABEL>
+ <INPUT TYPE="RADIO"
+ ID="<%= encodedParameterName + "_radio_null"%>"
+ VALUE="<%= encodedParameterName %>"
+ <%= ( parameterBean.getValue( ) == null )? "CHECKED" : "" %>> Null Value
+<%
+ }
+%>
+
+ <INPUT TYPE="HIDDEN" ID="isRequired"
+ VALUE = "<%= parameterBean.isRequired( )? "true": "false" %>">
+ </TD>
+</TR>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css Sat Oct 31 01:22:47 2009
@@ -0,0 +1,236 @@
+/* Copyright 1994-2006, Actuate Software Corp., All rights reserved. */
+
+@CHARSET "ISO-8859-1";
+
+/* Border around dialog */
+.dialogBorder
+{
+ border-style: outset;
+ border-width: 1px;
+ border-color: #CCCCCC;
+ background-color: gray;
+}
+
+/* Title bar background area */
+.dialogTitleBar
+{
+ height: 20px;
+ background-color: gray;
+ cursor: move;
+}
+
+.dTitleBar
+{
+ padding-left: 7px;
+ padding-right: 7px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ position: relative;
+}
+
+/* Title text */
+.dialogTitleText
+{
+ font-size: 11px;
+ font-weight: bold;
+ font-family: tahoma, verdana, arial, sans-serif;
+ color: black;
+}
+
+.dTitleText
+{
+ vertical-align: middle;
+ white-space: nowrap;
+ cursor: move;
+}
+
+.dTitleTextContainer
+{
+ float: left;
+ position: relative;
+ height: 100%;
+ width: 1px;
+}
+
+/* Close button - width should match those of .dialogCloseBtnContainer */
+.dialogCloseBtn
+{
+ background-image: url("../images/Close.gif");
+ width: 14px;
+ height: 14px;
+ background-color: gray;
+ cursor: pointer;
+}
+
+.dCloseBtn
+{
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-position: center right;
+}
+
+/* Close button container - width should match those of .dialogCloseBtn */
+.dialogCloseBtnContainer
+{
+ width: 14px;
+}
+
+.dCloseBtnContainer
+{
+ height: 100%;
+ float: right;
+ position: relative;
+}
+
+/* Background of dialog below title bar */
+.dialogBackground
+{
+ background-color: #ECE9D8;
+}
+
+.dBackground
+{
+ margin-left: 10px;
+ margin-right: 10px;
+ padding-top: 4px;
+}
+
+/* Border style of content area for individual dialog content */
+.dialogContentContainer
+{
+}
+
+/* Area from bottom of dialog content container to bottom border */
+.dialogBtnBarContainer
+{
+ position: relative;
+ text-align: center;
+ padding-top: 4px; /* distance from bottom of content area to top of divider bar*/
+}
+
+/* Top divider line between dialog content area and button area */
+.dBtnBarDividerTop
+{
+ height: 1px;
+ background-color: gray;
+ overflow: hidden;
+}
+
+/* Bottom divider line between dialog content area and button area */
+.dBtnBarDividerBottom
+{
+ height: 1px;
+ background-color: #fefefe;
+ overflow: hidden;
+}
+
+
+/* Area that contains OK and CANCEL buttons - from bottom of divider bar to top of outer border */
+.dialogBtnBar
+{
+ height: 30px;
+ text-align: right;
+}
+
+/* Area holding both OK and CANCEL buttons */
+.dialogBtnBarButtonContainer
+{
+ margin-left: auto;
+ margin-right: 0px;
+ margin-top: 6px;
+ margin-bottom: 7px;
+ width: 166px;
+ height:24px;
+}
+
+/* Space between OK and CANCEL */
+.dialogBtnBarDivider
+{
+ width: 6px;
+ height: 1px;
+ float: left;
+}
+
+.dialogBtnBarButtonEnabled
+{
+ float: left;
+ cursor: pointer;
+ height: 24px;
+ width: 80px;
+ overflow: hidden;
+ color: black; /* Font color */
+ /*background-color: #9C9C9C;
+ background-repeat: repeat-x;
+ background-position: top left;*/
+}
+
+.dialogBtnBarButtonDisabled
+{
+ float: left;
+ cursor: default;
+ height: 24px;
+ width: 80px;
+ overflow: hidden;
+ color: #999999; /* Font color */
+ /*background-color: #9C9C9C;
+ background-repeat: repeat-x;
+ background-position: top left;*/
+}
+
+/* Left background image for OK and CANCEL buttons */
+.dialogBtnBarButtonLeftBackgroundEnabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top left;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: left;
+}
+
+/* Left background image for OK and CANCEL buttons */
+.dialogBtnBarButtonLeftBackgroundDisabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top left;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: left;
+}
+
+/* Right background image for OK and CANCEL buttons */
+.dialogBtnBarButtonRightBackgroundEnabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top right;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: right;
+}
+
+/* Right background image for OK and CANCEL buttons */
+.dialogBtnBarButtonRightBackgroundDisabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top right;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: right;
+}
+
+/* Text for OK and CANCEL buttons */
+.dialogBtnBarButtonText
+{
+ font-family: tahoma, verdana, arial, sans-serif;
+ font-size: 11px;
+ font-weight: 400;
+ text-align: center;
+ vertical-align: middle;
+}

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css Sat Oct 31 01:22:47 2009
@@ -0,0 +1,244 @@
+/* Copyright 1994-2006, Actuate Software Corp., All rights reserved. */
+
+@CHARSET "ISO-8859-1";
+
+/* Border around dialog */
+.dialogBorder
+{
+ border-style: outset;
+ border-width: 1px;
+ border-color: #CCCCCC;
+ background-color: gray;
+ direction: ltr;
+}
+
+/* Title bar background area */
+.dialogTitleBar
+{
+ height: 20px;
+ background-color: gray;
+ cursor: move;
+ direction: rtl;
+}
+
+.dTitleBar
+{
+ padding-left: 7px;
+ padding-right: 7px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ position: relative;
+}
+
+/* Title text */
+.dialogTitleText
+{
+ font-size: 11px;
+ font-weight: bold;
+ font-family: tahoma, verdana, arial, sans-serif;
+ color: black;
+}
+
+.dTitleText
+{
+ vertical-align: middle;
+ white-space: nowrap;
+ cursor: move;
+}
+
+.dTitleTextContainer
+{
+ float: right;
+ position: relative;
+ height: 100%;
+ width: 250px;
+}
+
+/* Close button - width should match those of .dialogCloseBtnContainer */
+.dialogCloseBtn
+{
+ background-image: url("../images/Close.gif");
+ width: 14px;
+ height: 14px;
+ background-color: gray;
+ cursor: pointer;
+}
+
+.dCloseBtn
+{
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-position: center right;
+}
+
+/* Close button container - width should match those of .dialogCloseBtn */
+.dialogCloseBtnContainer
+{
+ width: 14px;
+}
+
+.dCloseBtnContainer
+{
+ height: 100%;
+ float: left;
+ position: relative;
+}
+
+/* Background of dialog below title bar */
+.dialogBackground
+{
+ background-color: #ECE9D8;
+}
+
+.dBackground
+{
+ margin-left: 10px;
+ margin-right: 10px;
+ padding-top: 4px;
+}
+
+/* Border style of content area for individual dialog content */
+.dialogContentContainer
+{
+ direction: rtl;
+}
+
+/* Area from bottom of dialog content container to bottom border */
+.dialogBtnBarContainer
+{
+ position: relative;
+ text-align: center;
+ padding-top: 4px; /* distance from bottom of content area to top of divider bar*/
+}
+
+/* Top divider line between dialog content area and button area */
+.dBtnBarDividerTop
+{
+ height: 1px;
+ background-color: gray;
+ overflow: hidden;
+}
+
+/* Bottom divider line between dialog content area and button area */
+.dBtnBarDividerBottom
+{
+ height: 1px;
+ background-color: #fefefe;
+ overflow: hidden;
+}
+
+
+/* Area that contains OK and CANCEL buttons - from bottom of divider bar to top of outer border */
+.dialogBtnBar
+{
+ height: 30px;
+ text-align: right;
+}
+
+/* Area holding both OK and CANCEL buttons */
+.dialogBtnBarButtonContainer
+{
+ margin-left: 0px;
+ margin-right: auto;
+ margin-top: 6px;
+ margin-bottom: 7px;
+ width: 166px;
+ height:24px;
+}
+
+/* Space between OK and CANCEL */
+.dialogBtnBarDivider
+{
+ width: 6px;
+ height: 1px;
+ float: left;
+}
+
+.dialogBtnBarButtonEnabled
+{
+ float: right;
+ cursor: pointer;
+ height: 24px;
+ width: 80px;
+ overflow: hidden;
+ color: black; /* Font color */
+ /*background-color: #9C9C9C;
+ background-repeat: repeat-x;
+ background-position: top left;*/
+}
+
+.dialogBtnBarButtonDisabled
+{
+ float: right;
+ cursor: default;
+ height: 24px;
+ width: 80px;
+ overflow: hidden;
+ color: #999999; /* Font color */
+ /*background-color: #9C9C9C;
+ background-repeat: repeat-x;
+ background-position: top left;*/
+}
+
+/* Left background image for OK and CANCEL buttons */
+.dialogBtnBarButtonLeftBackgroundEnabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top right;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: right;
+}
+
+/* Left background image for OK and CANCEL buttons */
+.dialogBtnBarButtonLeftBackgroundDisabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top right;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: right;
+}
+
+/* Right background image for OK and CANCEL buttons */
+.dialogBtnBarButtonRightBackgroundEnabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top left;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: left;
+}
+
+/* Right background image for OK and CANCEL buttons */
+.dialogBtnBarButtonRightBackgroundDisabled
+{
+ background-color: #9C9C9C;
+ background-repeat: no-repeat;
+ background-position: top left;
+ position: relative;
+ width: 0px;
+ height: 24px;
+ float: left;
+}
+
+/* Text for OK and CANCEL buttons */
+.dialogBtnBarButtonText
+{
+ font-family: tahoma, verdana, arial, sans-serif;
+ font-size: 11px;
+ font-weight: 400;
+ text-align: center;
+ vertical-align: middle;
+}
+
+input[type=radio], input[type=checkbox]
+{
+ width: 22px;
+}
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css Sat Oct 31 01:22:47 2009
@@ -0,0 +1,153 @@
+A.nav:link {
+ COLOR: black; TEXT-DECORATION: none
+}
+A.nav:visited {
+ COLOR: black; TEXT-DECORATION: none
+}
+A.nav:hover {
+ COLOR: black; TEXT-DECORATION: underline
+}
+A.birt:link {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.birt:visited {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.birt:hover {
+ COLOR: white; TEXT-DECORATION: underline
+}
+BODY {
+ PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 10pt; PADDING-BOTTOM: 0px; MARGIN: 0px; COLOR: black; PADDING-TOP: 0px; FONT-FAMILY: arial, helvetica, geneva; BACKGROUND-COLOR: white
+}
+TABLE {
+ FONT-SIZE: 10pt
+}
+.bullet {
+ FONT-SIZE: 9pt
+}
+UL {
+ PADDING-LEFT: 20pt
+}
+LI {
+ PADDING-BOTTOM: 3pt
+}
+.caution {
+ PADDING-RIGHT: 2pt; PADDING-LEFT: 4pt; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 4pt; COLOR: #000040; MARGIN-RIGHT: 4pt; PADDING-TOP: 4pt; BACKGROUND-COLOR: #e0e0e0
+}
+.caution-head {
+ FONT-WEIGHT: bold
+}
+UNKNOWN {
+ MARGIN-LEFT: 4pt; MARGIN-RIGHT: 4pt
+}
+.navhead {
+ FONT-WEIGHT: bold; FONT-SIZE: xx-small; COLOR: white; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
+}
+A.navhead:link {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.navhead:visited {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.navhead:hover {
+ COLOR: white; TEXT-DECORATION: underline
+}
+.menu-table {
+ FONT-SIZE: 10pt; BACKGROUND-COLOR: #90c8ff
+}
+.menu-table TD {
+ PADDING-LEFT: 7px; PADDING-BOTTOM: 2px; PADDING-TOP: 3px; BORDER-BOTTOM: #cfffff 1px solid
+}
+.top-menu-cell {
+ PADDING-BOTTOM: 4px; PADDING-TOP: 3px; BORDER-BOTTOM: #cfffff 1px solid; BACKGROUND-COLOR: #0080c0
+}
+.menu-area {
+ COLOR: black; BACKGROUND-COLOR: #6699cc
+}
+.banner-area {
+ BACKGROUND-COLOR: #006699
+}
+PRE {
+ FONT-SIZE: 10pt; FONT-FAMILY: "Courier New", Courier, mono
+}
+CODE {
+ FONT-SIZE: 10pt; FONT-FAMILY: "Courier New", Courier, mono
+}
+.code-block {
+ PADDING-RIGHT: 2pt; PADDING-LEFT: 2pt; FONT-SIZE: 10pt; PADDING-BOTTOM: 4pt; MARGIN-RIGHT: 0.5in; PADDING-TOP: 4pt; FONT-FAMILY: "Courier New", Courier, mono; BACKGROUND-COLOR: #e0e0e0
+}
+H1 {
+ MARGIN-TOP: 12pt; PADDING-LEFT: 2px; FONT-WEIGHT: bold; FONT-SIZE: 10pt; PADDING-BOTTOM: 2px; COLOR: white; PADDING-TOP: 3px; BACKGROUND-COLOR: #0080c0
+}
+H2 {
+ FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #0080c0
+}
+H3 {
+ FONT-SIZE: 9pt; COLOR: #0080c0
+}
+DT {
+ PADDING-BOTTOM: 6pt
+}
+DD {
+ PADDING-BOTTOM: 10pt
+}
+.indextop {
+ FONT-WEIGHT: bold; FONT-SIZE: x-large; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
+}
+.indexsub {
+ FONT-SIZE: large; COLOR: #8080ff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
+}
+A.bar {
+ COLOR: white
+}
+A.bar:link {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.bar:visited {
+ COLOR: white; TEXT-DECORATION: none
+}
+A.bar:hover {
+ COLOR: white; TEXT-DECORATION: underline
+}
+.jump {
+ FONT-SIZE: smaller; COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.jump:visited {
+ COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.jump:link {
+ COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.jump:hover {
+ COLOR: blue; TEXT-DECORATION: underline
+}
+.toc {
+ FONT-SIZE: small; COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.toc:visited {
+ COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.toc:link {
+ COLOR: #8080ff; TEXT-DECORATION: none
+}
+A.toc:hover {
+ COLOR: blue; TEXT-DECORATION: underline
+}
+.q {
+ FONT-WEIGHT: bold; PADDING-BOTTOM: 6pt; MARGIN-LEFT: 4pt; MARGIN-RIGHT: 4pt
+}
+.ans {
+ PADDING-LEFT: 24pt; PADDING-BOTTOM: 12pt; MARGIN-RIGHT: 4pt
+}
+.simple-table {
+ BORDER-RIGHT: silver 1pt ridge; BORDER-TOP: silver 1pt ridge; MARGIN: 10pt; BORDER-LEFT: silver 1pt ridge; BORDER-BOTTOM: silver 1pt ridge; BORDER-COLLAPSE: collapse
+}
+.simple-table TD {
+ BORDER-RIGHT: silver 1pt ridge; PADDING-RIGHT: 5pt; BORDER-TOP: silver 1pt ridge; PADDING-LEFT: 5pt; PADDING-BOTTOM: 5pt; BORDER-LEFT: silver 1pt ridge; PADDING-TOP: 5pt; BORDER-BOTTOM: silver 1pt ridge
+}
+.simple-table TH {
+ BORDER-RIGHT: silver 1pt ridge; PADDING-RIGHT: 5pt; BORDER-TOP: silver 1pt ridge; PADDING-LEFT: 5pt; PADDING-BOTTOM: 5pt; BORDER-LEFT: silver 1pt ridge; PADDING-TOP: 5pt; BORDER-BOTTOM: silver 1pt ridge
+}
+.simple-table THEAD {
+ FONT-WEIGHT: bold
+}

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/index.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css (added)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css Sat Oct 31 01:22:47 2009
@@ -0,0 +1,423 @@
+/******************************************************************************
+ * 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.
+ *****************************************************************************/
+
+.BirtViewer_Body
+{
+ margin:0px;
+}
+
+/******************************************************************************
+ * Birt error page.
+ *****************************************************************************/
+.BirtViewer_Highlight_Label
+{
+ font:Verdana;
+ color:red;
+}
+
+/******************************************************************************
+ * Birt parameter dialog.
+ *****************************************************************************/
+.birtviewer_parameter_dialog
+{
+ height:100%;
+ overflow:auto;
+ height:350px;
+}
+
+.BirtViewer_parameter_dialog_Input
+{
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:2px;
+ width:250px;
+}
+
+.birtviewer_parameter_dialog_Select
+{
+ font:Verdana;
+ font-size:8pt;
+ width:250px;
+}
+
+.birtviewer_parameter_dialog_Label
+{
+ font:Verdana;
+ font-size:8pt;
+}
+
+/******************************************************************************
+ * Birt Exception dialog.
+ *****************************************************************************/
+.birtviewer_exception_dialog
+{
+ border-style:solid;
+ border-color:#cccccc;
+ background-color:#ffffef;
+ border-width:1px;
+}
+
+.birtviewer_exception_dialog_container
+{
+ border-left-style:solid;
+ border-left-width:1px;
+ border-left-color:#cccccc;
+}
+
+.birtviewer_exception_dialog_label
+{
+ cursor: pointer;
+ font-size: 8pt;
+ color: gray;
+ font-weight: bold;
+ text-decoration: underline;
+}
+
+.birtviewer_exception_dialog_message
+{
+ padding: 2px;
+ font-size: 9pt;
+}
+
+.birtviewer_exception_dialog_detail
+{
+ padding:2px;
+ overflow:auto;
+ height:150px;
+ border-top-color:#cccccc;
+ border-top-style:solid;
+ border-top-width:1px;
+ font-size:8pt;
+}
+
+/******************************************************************************
+ * Birt export data dialog.
+ *****************************************************************************/
+.birtviewer_exportdata_dialog_single_select
+{
+ width:250px;
+ font-size:8pt;
+}
+
+.birtviewer_exportdata_dialog_select
+{
+ width:180px;
+ font-size:8pt;
+}
+
+.birtviewer_exportdata_dialog_button
+{
+ width:16px;
+ height:16px;
+ cursor:pointer;
+}
+
+.birtviewer_exportdata_dialog_input
+{
+ width:80px;
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:1px;
+}
+
+/******************************************************************************
+ * Birt export report dialog.
+ *****************************************************************************/
+.birtviewer_exportreport_dialog_select
+{
+ width:120px;
+ font:Verdana;
+ font-size:8pt;
+}
+
+.birtviewer_exportreport_dialog_input
+{
+ width:120px;
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:1px;
+}
+
+/******************************************************************************
+ * Birt print report dialog.
+ *****************************************************************************/
+.birtviewer_printreport_dialog_select
+{
+ width:150px;
+ font:Verdana;
+ font-size:8pt;
+}
+
+.birtviewer_printreport_dialog_input
+{
+ width:120px;
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:1px;
+}
+
+/******************************************************************************
+ * Birt print report on the server dialog.
+ *****************************************************************************/
+.birtviewer_printreportserver_dialog_select
+{
+ width:200px;
+ font:Verdana;
+ font-size:8pt;
+}
+
+.birtviewer_printreportserver_dialog_input
+{
+ width:120px;
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:1px;
+}
+
+.birtviewer_printreportserver_dialog_input_short
+{
+ width:60px;
+ font:Verdana;
+ font-size:8pt;
+ border-style:inset;
+ border-width:1px;
+}
+
+/******************************************************************************
+ * Birt confirmation dialog.
+ *****************************************************************************/
+.birtviewer_confirmation_dialog_iframe
+{
+ width:450px;
+ height:100px
+}
+
+.birtviewer_progresspage
+{
+ font-family:Verdana;
+ font-size:8pt;
+ cursor:default;
+}
+  
+/******************************************************************************
+ * Dialog related.
+ *****************************************************************************/
+.birtviewer_dialog
+{
+ font-family:Verdana;
+ background-color:#dbe4ee;
+ border-width:2px;
+ border-style:outset;
+ font-size:8pt;
+ cursor:default;
+}
+
+.birtviewer_dialog_caption
+{
+ width:100%;
+ font-size:12px;
+ color:white;
+ background-color:#4682b4;
+}
+
+.birtviewer_dialog_body
+{
+ /*background-color:#dbe4ee;*/
+ border-width:1px;
+ border-style:inset;
+ width:100%;
+ height:100%;
+ font-family:arial;
+ font-size:8pt;
+}
+
+.birtviewer_dialog_button
+{
+ width:100px;
+ font-family:verdana;
+ font-size:8pt;
+ background-color:white;
+ border-style:outset;
+ border-width:1px;
+ cursor:hand;
+ cursor:pointer;
+}
+
+.birtviewer_dialog_tab_selected
+{
+ border-color:#ffffff;
+ border-width:1px;
+ border-style:solid;
+ font-size:7pt;
+ font-weight:bold;
+}
+
+.birtviewer_dialog_tab_normal
+{
+ border-color:white;
+ border-width:1px;
+ border-style:solid;
+ cursor:hand;
+ cursor:pointer;
+ font-size:7pt;
+ font-weight:bold;
+}
+
+/******************************************************************************
+ * Body
+ *****************************************************************************/
+.body_caption_top
+{
+ height:4px;
+ background-color:#DDAA03;
+}
+
+.body_caption
+{
+ height:30px;
+ font-family:Verdana;
+ font-size:10pt;
+}
+
+/******************************************************************************
+ * Toolbar
+ ******************************************************************************/
+.birtviewer_toolbar
+{
+ height:26px;
+ background-color:#CBCB97;
+ font-family:Verdana;
+ font-size:8pt;
+ border-top-width:1px;
+ border-top-style:solid;
+ border-top-color:#808080;
+ border-bottom-width:1px;
+ border-bottom-style:solid;
+ border-bottom-color:#808080;
+}
+
+/******************************************************************************
+ * Navigation bar
+ ******************************************************************************/
+.birtviewer_navbar
+{
+ height:26px;
+ background-color:#E6E6C6;
+ font-family:Verdana;
+ font-size:8pt;
+ border-left-color:#808080;
+ border-left-style:solid;
+ border-left-width:1px;
+}
+
+.birtviewer_navbar_input
+{
+ font:icon;
+ border-style:inset;
+ border-width:2px;
+}
+
+/******************************************************************************
+ * Progress bar
+ ******************************************************************************/
+.birtviewer_progressbar
+{
+ font-family:Verdana;
+ font-size:8pt;
+ background:#FFFFFF;
+ border-width:2px;
+ border-style:solid;
+ border-color:#FF912F;
+ cursor:default;
+}
+
+.birtviewer_progressbar_button
+{
+ cursor: pointer;
+ height: 24px;
+ width: 100px;
+ overflow: hidden;
+ color: black; /* Font color */
+}
+/******************************************************************************
+ * Toc
+ ******************************************************************************/
+.birtviewer_toc
+{
+ width:100%;
+ height:100%;
+ background-color:#FFFFFF;
+ font-family:Verdana;
+ font-size:8pt;
+ border-width:1px;
+ border-style:none;
+ border-color:gray;
+}
+
+/******************************************************************************
+ * Context menu
+ ******************************************************************************/
+.birtviewer_contextmenu
+{
+ width:150px;
+ background-color:#d0d0d0;
+ border-style:outset;
+ border-color:#cccccc;
+ cursor:default;
+ border-width:2px;
+}
+
+/******************************************************************************
+ * Birt document.
+ *****************************************************************************/
+.birtviewer_document_fragment
+{
+ overflow:auto;
+ position:relative;
+ border-style: solid;
+ border-width: 2px;
+ border-top-color: #404040;
+ border-left-color: #404040;
+ border-right-color: #D0D0D0;
+ border-bottom-color: #D0D0D0;
+}
+
+/******************************************************************************
+ * General controls
+ ******************************************************************************/
+.birtviewer_clickable
+{
+ border-style:none;
+ cursor:hand;
+ cursor:pointer;
+}
+
+.birtviewer_hidden_label
+{
+ position:absolute;
+ left:0px
+ top:-100px;
+ width:1px;
+ height:1px;
+ overflow:hidden;
+}
+
+.birtviewer_exception_dialog_detail #faultdetail
+{
+ font-family: monospace;
+ direction: ltr;
+ text-align: left;
+}
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/webapp/birt/webcontent/birt/styles/style.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml (added)
+++ ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml Sat Oct 31 01:22:47 2009
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+
+    <form name="EditMail" type="single" target="sendBirtMail">
+        <field name="sendFrom"><text/></field>
+        <field name="sendTo"><text/></field>
+        <field name="subject"><text/></field>
+        <field name="birtReportLocation" tooltip="Example is component://webtools/webapp/birt/report/product.rptdesign"><text/></field>
+        <field name="birtContentType">
+            <drop-down>
+                <option key="text/html" description="text/html"/>
+                <option key="application/pdf" description="application/pdf"/>
+                <option key="application/vnd.ms-excel" description="application/vnd.ms-excel"/>
+                <option key="application/vnd.ms-word" description="application/vnd.ms-word"/>
+                <option key="application/vnd.ms-powerpoint" description="application/vnd.ms-powerpoint"/>
+            </drop-down>
+        </field>
+        <field name="attachmentName"><text/></field>
+        <field name="sendButton" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+</forms>

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtForms.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml?rev=831503&view=auto
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml (added)
+++ ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml Sat Oct 31 01:22:47 2009
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+        
+    <screen name="main">
+        <section>
+            <actions>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <label text="BIRT is an open source Eclipse-based reporting system that integrates with your Java/J2EE application to produce compelling reports."/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+    <screen name="Viewer">
+        <section>
+            <actions>
+                <set field="tabButtonItem" value="Viewer"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <screenlet title="Using viewer tag">
+                                    <platform-specific>
+                                        <html>
+                                            <html-template location="component://birt/webapp/birt/birt/viewer.ftl"/>
+                                        </html>
+                                    </platform-specific>
+                                </screenlet>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+    <screen name="Report">
+        <section>
+            <actions>
+                <set field="tabButtonItem" value="Report"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <screenlet title="Using report tag">
+                                    <platform-specific>
+                                        <html>
+                                            <html-template location="component://birt/webapp/birt/birt/report.ftl"/>
+                                        </html>
+                                    </platform-specific>
+                                </screenlet>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+    <screen name="EditMail">
+        <section>
+            <actions>
+                <set field="tabButtonItem" value="Mail"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <screenlet title="Send BIRT report by mail">
+                                    <include-form location="component://birt/widget/BirtForms.xml" name="EditMail"/>
+                                </screenlet>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>
\ No newline at end of file

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addbirt/framework/birt/widget/BirtScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml