svn commit: r825391 [10/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 [10/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
Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/server-config.wsdd
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/server-config.wsdd?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/server-config.wsdd (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/server-config.wsdd Thu Oct 15 04:48:28 2009
@@ -0,0 +1,952 @@
+<!-- Use this file to deploy some handlers/chains and services      -->
+<!-- Two ways to do this:                                           -->
+<!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
+<!--      after the axis server is running                          -->
+<!-- or                                                             -->
+<!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
+<!--      from the same directory that the Axis engine runs         -->
+
+<deployment
+    xmlns="http://xml.apache.org/axis/wsdd/"
+    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+
+ <globalConfiguration>
+ <parameter
+ name="adminPassword"
+ value="admin"/>
+ <parameter
+ name="sendMultiRefs"
+ value="true"/>
+ <parameter
+ name="sendXsiTypes"
+ value="true"/>
+ <parameter
+ name="attachments.implementation"
+ value="org.apache.axis.attachments.AttachmentsImpl"/>
+ <parameter
+ name="sendXMLDeclaration"
+ value="true"/>
+ <parameter
+ name="axis.sendMinimizedElements"
+ value="true"/>
+ <requestFlow>
+ <handler
+ type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter
+ name="scope"
+ value="session"/>
+ </handler>
+ <handler
+ type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter
+ name="scope"
+ value="request"/>
+ <parameter
+ name="extension"
+ value=".jwr"/>
+ </handler>
+ </requestFlow>
+ </globalConfiguration>
+ <handler
+ name="LocalResponder"
+ type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler
+ name="URLMapper"
+ type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler
+ name="Authenticate"
+ type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+
+
+  <service name="BirtSoapPort" provider="java:RPC" style="document" use="literal">
+      <parameter name="wsdlTargetNamespace" value="http://schemas.eclipse.org/birt/wsdl"/>
+      <parameter name="wsdlServiceElement" value="BirtViewerAPI"/>
+      <parameter name="schemaQualified" value="http://schemas.eclipse.org/birt"/>
+      <parameter name="wsdlServicePort" value="BirtSoapPort"/>
+      <parameter name="className" value="org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl"/>
+      <parameter name="wsdlPortType" value="BirtSoapPort"/>
+      <parameter name="typeMappingVersion" value="1.2"/>
+      <operation name="getUpdatedObjects" qname="getUpdatedObjects" returnQName="retNS:GetUpdatedObjectsResponse" xmlns:retNS="http://schemas.eclipse.org/birt" returnType="rtns:GetUpdatedObjectsResponse" xmlns:rtns="http://schemas.eclipse.org/birt" >
+        <parameter qname="pns:GetUpdatedObjects" xmlns:pns="http://schemas.eclipse.org/birt" type="tns:GetUpdatedObjects" xmlns:tns="http://schemas.eclipse.org/birt"/>
+      </operation>
+      <parameter name="allowedMethods" value="getUpdatedObjects"/>
+
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ColumnProperties"
+        type="java:org.eclipse.birt.report.soapengine.api.ColumnProperties"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataSet"
+        type="java:org.eclipse.birt.report.soapengine.api.DataSet"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:GetUpdatedObjects"
+        type="java:org.eclipse.birt.report.soapengine.api.GetUpdatedObjects"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:File"
+        type="java:org.eclipse.birt.report.soapengine.api.File"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TOC"
+        type="java:org.eclipse.birt.report.soapengine.api.TOC"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:IOInfoList"
+        type="java:org.eclipse.birt.report.soapengine.api.IOInfoList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:NumberCategoryChoice"
+        type="java:org.eclipse.birt.report.soapengine.api.NumberCategoryChoice"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:JoinCondition"
+        type="java:org.eclipse.birt.report.soapengine.api.JoinCondition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartAppearance"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartAppearance"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ReportId"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportId"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataSource"
+        type="java:org.eclipse.birt.report.soapengine.api.DataSource"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FormatRuleEffect"
+        type="java:org.eclipse.birt.report.soapengine.api.FormatRuleEffect"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Data"
+        type="java:org.eclipse.birt.report.soapengine.api.Data"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:CategoryChoice"
+        type="java:org.eclipse.birt.report.soapengine.api.CategoryChoice"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FilterList"
+        type="java:org.eclipse.birt.report.soapengine.api.FilterList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SelectionList"
+        type="java:org.eclipse.birt.report.soapengine.api.SelectionList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableLayout"
+        type="java:org.eclipse.birt.report.soapengine.api.TableLayout"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:AggregateSetting"
+        type="java:org.eclipse.birt.report.soapengine.api.AggregateSetting"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:BRDExpression"
+        type="java:org.eclipse.birt.report.soapengine.api.BRDExpression"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Alignment"
+        type="java:org.eclipse.birt.report.soapengine.api.Alignment"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:JoinDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.JoinDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:CellDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.CellDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ReportElementList"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportElementList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartLabels"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartLabels"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ColumnDefinitionGroup"
+        type="java:org.eclipse.birt.report.soapengine.api.ColumnDefinitionGroup"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FilterExpression"
+        type="java:org.eclipse.birt.report.soapengine.api.FilterExpression"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ConditionLineList"
+        type="java:org.eclipse.birt.report.soapengine.api.ConditionLineList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataSetDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.DataSetDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ThemeList"
+        type="java:org.eclipse.birt.report.soapengine.api.ThemeList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SortDefinitionList"
+        type="java:org.eclipse.birt.report.soapengine.api.SortDefinitionList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:BindingList"
+        type="java:org.eclipse.birt.report.soapengine.api.BindingList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataField"
+        type="java:org.eclipse.birt.report.soapengine.api.DataField"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:GroupDetail"
+        type="java:org.eclipse.birt.report.soapengine.api.GroupDetail"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableGroups"
+        type="java:org.eclipse.birt.report.soapengine.api.TableGroups"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:UpdateDialog"
+        type="java:org.eclipse.birt.report.soapengine.api.UpdateDialog"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:GetUpdatedObjectsResponse"
+        type="java:org.eclipse.birt.report.soapengine.api.GetUpdatedObjectsResponse"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:IOReference"
+        type="java:org.eclipse.birt.report.soapengine.api.IOReference"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Export"
+        type="java:org.eclipse.birt.report.soapengine.api.Export"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ExportCriteria"
+        type="java:org.eclipse.birt.report.soapengine.api.ExportCriteria"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ConditionLine"
+        type="java:org.eclipse.birt.report.soapengine.api.ConditionLine"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Font"
+        type="java:org.eclipse.birt.report.soapengine.api.Font"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableSectionContextMenuState"
+        type="java:org.eclipse.birt.report.soapengine.api.TableSectionContextMenuState"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ToolbarState"
+        type="java:org.eclipse.birt.report.soapengine.api.ToolbarState"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FormatRuleSet"
+        type="java:org.eclipse.birt.report.soapengine.api.FormatRuleSet"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Vector"
+        type="java:org.eclipse.birt.report.soapengine.api.Vector"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FilterClause"
+        type="java:org.eclipse.birt.report.soapengine.api.FilterClause"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ResultSet"
+        type="java:org.eclipse.birt.report.soapengine.api.ResultSet"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ReportElement"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportElement"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:JoinMetadata"
+        type="java:org.eclipse.birt.report.soapengine.api.JoinMetadata"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:IOList"
+        type="java:org.eclipse.birt.report.soapengine.api.IOList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:RepositoryPathSegment"
+        type="java:org.eclipse.birt.report.soapengine.api.RepositoryPathSegment"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SortingDirection"
+        type="java:org.eclipse.birt.report.soapengine.api.SortingDirection"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Operation"
+        type="java:org.eclipse.birt.report.soapengine.api.Operation"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ReportParameterList"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportParameterList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:S_Info"
+        type="java:org.eclipse.birt.report.soapengine.api.S_Info"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Oprand"
+        type="java:org.eclipse.birt.report.soapengine.api.Oprand"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FormatRuleCondition"
+        type="java:org.eclipse.birt.report.soapengine.api.FormatRuleCondition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:IOField"
+        type="java:org.eclipse.birt.report.soapengine.api.IOField"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Filter"
+        type="java:org.eclipse.birt.report.soapengine.api.Filter"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartProperties"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartProperties"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableSections"
+        type="java:org.eclipse.birt.report.soapengine.api.TableSections"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Update"
+        type="java:org.eclipse.birt.report.soapengine.api.Update"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Column"
+        type="java:org.eclipse.birt.report.soapengine.api.Column"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FormatRule"
+        type="java:org.eclipse.birt.report.soapengine.api.FormatRule"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FileSearch"
+        type="java:org.eclipse.birt.report.soapengine.api.FileSearch"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FilterType"
+        type="java:org.eclipse.birt.report.soapengine.api.FilterType"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FileList"
+        type="java:org.eclipse.birt.report.soapengine.api.FileList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SortDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.SortDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:UpdateData"
+        type="java:org.eclipse.birt.report.soapengine.api.UpdateData"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:>ReportId>Type"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportIdType"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableRowInfo"
+        type="java:org.eclipse.birt.report.soapengine.api.TableRowInfo"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableContextMenuState"
+        type="java:org.eclipse.birt.report.soapengine.api.TableContextMenuState"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:JoinList"
+        type="java:org.eclipse.birt.report.soapengine.api.JoinList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableColContextMenuState"
+        type="java:org.eclipse.birt.report.soapengine.api.TableColContextMenuState"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartDataBinding"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartDataBinding"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:UpdateContent"
+        type="java:org.eclipse.birt.report.soapengine.api.UpdateContent"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataSetList"
+        type="java:org.eclipse.birt.report.soapengine.api.DataSetList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataFieldFolder"
+        type="java:org.eclipse.birt.report.soapengine.api.DataFieldFolder"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:G_Info"
+        type="java:org.eclipse.birt.report.soapengine.api.G_Info"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:AvailableOperation"
+        type="java:org.eclipse.birt.report.soapengine.api.AvailableOperation"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DesignState"
+        type="java:org.eclipse.birt.report.soapengine.api.DesignState"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:RepositoryPathSegmentList"
+        type="java:org.eclipse.birt.report.soapengine.api.RepositoryPathSegmentList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Theme"
+        type="java:org.eclipse.birt.report.soapengine.api.Theme"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:BoundDataColumn"
+        type="java:org.eclipse.birt.report.soapengine.api.BoundDataColumn"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:AggregateDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.AggregateDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Binding"
+        type="java:org.eclipse.birt.report.soapengine.api.Binding"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Format"
+        type="java:org.eclipse.birt.report.soapengine.api.Format"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:TableLayoutList"
+        type="java:org.eclipse.birt.report.soapengine.api.TableLayoutList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SelectItemChoice"
+        type="java:org.eclipse.birt.report.soapengine.api.SelectItemChoice"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:NumberCategoryChoiceList"
+        type="java:org.eclipse.birt.report.soapengine.api.NumberCategoryChoiceList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartLocation"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartLocation"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ResultSets"
+        type="java:org.eclipse.birt.report.soapengine.api.ResultSets"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:CategoryChoiceList"
+        type="java:org.eclipse.birt.report.soapengine.api.CategoryChoiceList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ReportParameter"
+        type="java:org.eclipse.birt.report.soapengine.api.ReportParameter"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:IOFieldList"
+        type="java:org.eclipse.birt.report.soapengine.api.IOFieldList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:Page"
+        type="java:org.eclipse.birt.report.soapengine.api.Page"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:AxisDataBinding"
+        type="java:org.eclipse.birt.report.soapengine.api.AxisDataBinding"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:BoundDataColumnList"
+        type="java:org.eclipse.birt.report.soapengine.api.BoundDataColumnList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ChartType"
+        type="java:org.eclipse.birt.report.soapengine.api.ChartType"
+        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:DataSourceList"
+        type="java:org.eclipse.birt.report.soapengine.api.DataSourceList"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:FileBrowsing"
+        type="java:org.eclipse.birt.report.soapengine.api.FileBrowsing"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:CascadeParameter"
+        type="java:org.eclipse.birt.report.soapengine.api.CascadeParameter"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:ColumnDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.ColumnDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+      <typeMapping
+        xmlns:ns="http://schemas.eclipse.org/birt"
+        qname="ns:SectionDefinition"
+        type="java:org.eclipse.birt.report.soapengine.api.SectionDefinition"
+        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
+        encodingStyle=""
+      />
+<namespace>http://schemas.eclipse.org/birt</namespace>
+  </service>
+
+ <service
+ name="AdminService"
+ provider="java:MSG">
+ <parameter
+ name="allowedMethods"
+ value="AdminService"/>
+ <parameter
+ name="enableRemoteAdmin"
+ value="false"/>
+ <parameter
+ name="className"
+ value="org.apache.axis.utils.Admin"/>
+ <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+
+ <service
+ name="Version"
+ provider="java:RPC">
+ <parameter
+ name="allowedMethods"
+ value="getVersion"/>
+ <parameter
+ name="className"
+ value="org.apache.axis.Version"/>
+ </service>
+
+ <transport
+ name="http">
+ <requestFlow>
+ <handler
+ type="URLMapper"/>
+ <handler
+ type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+ </requestFlow>
+ </transport>
+
+ <transport
+ name="local">
+ <responseFlow>
+ <handler
+ type="LocalResponder"/>
+ </responseFlow>
+ </transport>
+</deployment>

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml Thu Oct 15 04:48:28 2009
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<!--
+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.
+-->
+
+<web-app>
+    <display-name>Open For Business - BIRT Component</display-name>
+    <description>BIRT Component of the Open For Business Project</description>
+    
+    <context-param>
+        <param-name>localDispatcherName</param-name><param-value>example</param-value>
+        <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
+    </context-param>    
+    <context-param>
+        <param-name>entityDelegatorName</param-name><param-value>default</param-value>
+        <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>
+    </context-param>
+    <context-param>
+        <param-name>mainDecoratorLocation</param-name>
+        <param-value>component://webtools/widget/CommonScreens.xml</param-value>
+        <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
+    </context-param>
+    <context-param>
+        <param-name>widgetVerbose</param-name>
+        <param-value>false</param-value>
+        <description>Enable widget boundary comments. See org.ofbiz.widget.ModelWidget.widgetBoundaryCommentsEnabled().</description>
+    </context-param>
+    <context-param>
+        <param-name>compressHTML</param-name>
+        <param-value>false</param-value>
+        <description>Remove unnecessary whitespace from HTML output.</description>
+    </context-param>
+    
+    <filter>
+        <filter-name>ContextFilter</filter-name>
+        <display-name>ContextFilter</display-name>
+        <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class>
+        <init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
+        <init-param>
+            <param-name>allowedPaths</param-name>
+            <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/preview:/webcontent:/CancelTask.jsp</param-value>
+        </init-param>
+        <init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
+        <init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>        
+    </filter>
+    <filter-mapping><filter-name>ContextFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>
+
+    <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
+    <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
+    <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
+    <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
+  
+    <servlet>
+        <servlet-name>ControlServlet</servlet-name>
+        <display-name>ControlServlet</display-name>
+        <description>Main Control Servlet</description>
+        <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <!-- Viewer Servlet, Supports SOAP -->
+    <servlet>
+        <servlet-name>ViewerServlet</servlet-name>
+        <servlet-class>org.ofbiz.birt.report.servlet.BirtViewerServlet</servlet-class>
+    </servlet>
+    <!-- Engine Servlet -->
+    <servlet>
+        <servlet-name>EngineServlet</servlet-name>
+        <servlet-class>org.ofbiz.birt.report.servlet.BirtEngineServlet</servlet-class>
+    </servlet>
+    <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>ViewerServlet</servlet-name>
+        <url-pattern>/frameset</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>EngineServlet</servlet-name>
+        <url-pattern>/preview</url-pattern>
+    </servlet-mapping>
+
+    <session-config><session-timeout>60</session-timeout><!-- in minutes --></session-config>
+
+    <welcome-file-list>
+        <welcome-file>index.jsp</welcome-file>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+    </welcome-file-list>
+</web-app>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,52 @@
+<%--
+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.
+--%>
+<%@ page import="org.ofbiz.base.util.*" %>
+<html>
+<head>
+<title>Open For Business Message</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+
+<% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_"); %>
+
+<body bgcolor="#FFFFFF">
+<div align="center">
+  <br/>
+  <table width="100%" border="1" height="200">
+    <tr>
+      <td>
+        <table width="100%" border="0" height="200">
+          <tr bgcolor="#CC6666">
+            <td height="45">
+              <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#FFFFFF"><b>:ERROR MESSAGE:</b></font></div>
+            </td>
+          </tr>
+          <tr>
+            <td>
+              <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><%=UtilFormatOut.replaceString(errorMsg, "\n", "<br/>")%></font></div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+</div>
+<div align="center"></div>
+</body>
+</html>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/error/error.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp Thu Oct 15 04:48:28 2009
@@ -0,0 +1,19 @@
+<%--
+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.
+--%>
+<%response.sendRedirect("control/main");%>

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/index.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/logs/ReportEngine_2009_10_15_10_11_43.log
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/logs/ReportEngine_2009_10_15_10_11_43.log?rev=825391&view=auto
==============================================================================
    (empty)

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/logs/ReportEngine_2009_10_15_10_11_43.log.lck
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/logs/ReportEngine_2009_10_15_10_11_43.log.lck?rev=825391&view=auto
==============================================================================
    (empty)

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/report/product.rptdesign
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/report/product.rptdesign?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/report/product.rptdesign (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/report/product.rptdesign Thu Oct 15 04:48:28 2009
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1">
+    <property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build &lt;2.5.1.v20090917-1447></property>
+    <property name="units">in</property>
+    <method name="initialize"><![CDATA[importPackage(Packages.org.ofbiz.base.util)
+
+module = "product.rptdesign";]]></method>
+    <property name="iconFile">/templates/blank_report.gif</property>
+    <property name="bidiLayoutOrientation">ltr</property>
+    <data-sources>
+        <script-data-source name="OFBiz" id="8"/>
+    </data-sources>
+    <data-sets>
+        <script-data-set name="Product" id="9">
+            <list-property name="resultSetHints">
+                <structure>
+                    <property name="position">0</property>
+                    <property name="name">productId</property>
+                    <property name="dataType">string</property>
+                </structure>
+                <structure>
+                    <property name="position">1</property>
+                    <property name="name">productTypeId</property>
+                    <property name="dataType">string</property>
+                </structure>
+                <structure>
+                    <property name="position">2</property>
+                    <property name="name">internalName</property>
+                    <property name="dataType">string</property>
+                </structure>
+            </list-property>
+            <list-property name="columnHints">
+                <structure>
+                    <property name="columnName">productId</property>
+                    <text-property name="displayName">productId</text-property>
+                </structure>
+                <structure>
+                    <property name="columnName">productTypeId</property>
+                    <text-property name="displayName">productTypeId</text-property>
+                </structure>
+                <structure>
+                    <property name="columnName">internalName</property>
+                    <text-property name="displayName">internalName</text-property>
+                </structure>
+            </list-property>
+            <structure name="cachedMetaData">
+                <list-property name="resultSet">
+                    <structure>
+                        <property name="position">1</property>
+                        <property name="name">productId</property>
+                        <property name="dataType">string</property>
+                    </structure>
+                    <structure>
+                        <property name="position">2</property>
+                        <property name="name">productTypeId</property>
+                        <property name="dataType">string</property>
+                    </structure>
+                    <structure>
+                        <property name="position">3</property>
+                        <property name="name">internalName</property>
+                        <property name="dataType">string</property>
+                    </structure>
+                </list-property>
+            </structure>
+            <property name="dataSource">OFBiz</property>
+            <method name="open"><![CDATA[products = null;
+try {
+    products = delegator.findAll("Product");
+} catch (e) {
+    Debug.logError(e, module);
+}
+totalRow = 0;
+countOfRow = 0;
+if (products) {
+    totalRow = products.size();
+}]]></method>
+            <method name="fetch"><![CDATA[if (countOfRow == totalRow - 1) return false;
+
+product = products.get(countOfRow);
+productId = product.getString("productId");
+productTypeId = product.getString("productTypeId");
+internalName = product.getString("internalName");
+
+row["productId"] = productId;
+row["productTypeId"] = productTypeId;
+row["internalName"] = internalName;
+
+countOfRow ++;
+return true;]]></method>
+        </script-data-set>
+    </data-sets>
+    <styles>
+        <style name="report" id="4">
+            <property name="fontFamily">sans-serif</property>
+            <property name="fontSize">10pt</property>
+        </style>
+        <style name="crosstab-cell" id="5">
+            <property name="borderBottomColor">#CCCCCC</property>
+            <property name="borderBottomStyle">solid</property>
+            <property name="borderBottomWidth">1pt</property>
+            <property name="borderLeftColor">#CCCCCC</property>
+            <property name="borderLeftStyle">solid</property>
+            <property name="borderLeftWidth">1pt</property>
+            <property name="borderRightColor">#CCCCCC</property>
+            <property name="borderRightStyle">solid</property>
+            <property name="borderRightWidth">1pt</property>
+            <property name="borderTopColor">#CCCCCC</property>
+            <property name="borderTopStyle">solid</property>
+            <property name="borderTopWidth">1pt</property>
+        </style>
+        <style name="crosstab" id="6">
+            <property name="borderBottomColor">#CCCCCC</property>
+            <property name="borderBottomStyle">solid</property>
+            <property name="borderBottomWidth">1pt</property>
+            <property name="borderLeftColor">#CCCCCC</property>
+            <property name="borderLeftStyle">solid</property>
+            <property name="borderLeftWidth">1pt</property>
+            <property name="borderRightColor">#CCCCCC</property>
+            <property name="borderRightStyle">solid</property>
+            <property name="borderRightWidth">1pt</property>
+            <property name="borderTopColor">#CCCCCC</property>
+            <property name="borderTopStyle">solid</property>
+            <property name="borderTopWidth">1pt</property>
+        </style>
+    </styles>
+    <page-setup>
+        <simple-master-page name="Simple MasterPage" id="2">
+            <page-footer>
+                <text id="3">
+                    <property name="contentType">html</property>
+                    <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
+                </text>
+            </page-footer>
+        </simple-master-page>
+    </page-setup>
+    <body>
+        <table id="10">
+            <property name="dataSet">Product</property>
+            <list-property name="boundDataColumns">
+                <structure>
+                    <property name="name">productId</property>
+                    <text-property name="displayName">productId</text-property>
+                    <expression name="expression">dataSetRow["productId"]</expression>
+                    <property name="dataType">string</property>
+                </structure>
+                <structure>
+                    <property name="name">productTypeId</property>
+                    <text-property name="displayName">productTypeId</text-property>
+                    <expression name="expression">dataSetRow["productTypeId"]</expression>
+                    <property name="dataType">string</property>
+                </structure>
+                <structure>
+                    <property name="name">internalName</property>
+                    <text-property name="displayName">internalName</text-property>
+                    <expression name="expression">dataSetRow["internalName"]</expression>
+                    <property name="dataType">string</property>
+                </structure>
+            </list-property>
+            <column id="29"/>
+            <column id="30"/>
+            <column id="31"/>
+            <header>
+                <row id="11">
+                    <property name="backgroundColor">#BFBFBF</property>
+                    <property name="fontWeight">bold</property>
+                    <property name="textAlign">center</property>
+                    <cell id="12">
+                        <label id="13">
+                            <text-property name="text">productId</text-property>
+                        </label>
+                    </cell>
+                    <cell id="14">
+                        <label id="15">
+                            <text-property name="text">productTypeId</text-property>
+                        </label>
+                    </cell>
+                    <cell id="16">
+                        <label id="17">
+                            <text-property name="text">internalName</text-property>
+                        </label>
+                    </cell>
+                </row>
+            </header>
+            <detail>
+                <row id="18">
+                    <cell id="19">
+                        <data id="20">
+                            <property name="resultSetColumn">productId</property>
+                        </data>
+                    </cell>
+                    <cell id="21">
+                        <data id="22">
+                            <property name="resultSetColumn">productTypeId</property>
+                        </data>
+                    </cell>
+                    <cell id="23">
+                        <data id="24">
+                            <property name="resultSetColumn">internalName</property>
+                        </data>
+                    </cell>
+                </row>
+            </detail>
+            <footer>
+                <row id="25">
+                    <cell id="26"/>
+                    <cell id="27"/>
+                    <cell id="28"/>
+                </row>
+            </footer>
+        </table>
+    </body>
+</report>

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js Thu Oct 15 04:48:28 2009
@@ -0,0 +1,121 @@
+/******************************************************************************
+ * 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.
+ *****************************************************************************/
+
+/**
+ * BirtCommunicationManager
+ * ...
+ */
+BirtCommunicationManager = Class.create( );
+
+BirtCommunicationManager.prototype =
+{
+ __active : false,
+
+ /**
+ * Initialization routine required by "ProtoType" lib.
+ *
+ * @return, void
+ */
+ initialize: function( )
+ {
+ },
+
+ /**
+ * Make xml http request.
+ *
+ * return, void
+ */
+ connect: function( )
+ {
+ var xmlDoc = birtSoapRequest.__xml_document;
+
+ if( xmlDoc )
+ {
+ debug( birtSoapRequest.prettyPrintXML(xmlDoc), true);
+ if ( BrowserUtility.isSafari || BrowserUtility.isFirefox3 )
+ {
+ // WORKAROUND: sending the XML DOM doesn't replace the
+ // ampersands properly but the XMLSerializer does.
+ xmlDoc = (new XMLSerializer()).serializeToString(xmlDoc);
+ }
+ }
+
+ if ( !birtSoapRequest.getURL( ) ) return;
+
+ //activate delay message manager;
+ this.__active = true;
+ birtProgressBar.__start( );
+
+ //workaround for Bugzilla Bug 144598. Add request header "Connection" as "keep-alive"
+ var myAjax = new Ajax.Request( birtSoapRequest.getURL( ), { method: 'post', postBody: xmlDoc,
+ onSuccess: this.responseHandler, onFailure: this.invalidResponseHandler,
+ requestHeaders: ['Content-Type', 'text/xml; charset=UTF-8', 'SOAPAction', '""', 'request-type', 'SOAP', 'Connection', 'keep-alive' ] } );
+
+ birtSoapRequest.reset( );
+ },
+
+ /**
+ * Callback function triggered when reponse is ready, status is 200.
+ *
+ * @request, httpXmlRequest instance
+ * @return, void
+ */
+ responseHandler: function( request )
+ {
+ if ( isDebugging( ) )
+ {
+ debug(request.responseText, true);
+ debug(birtSoapRequest.prettyPrintXML(request.responseXML.documentElement), true);
+ }
+
+ if ( request.responseXML && request.responseXML.documentElement )
+ {
+ birtSoapResponse.process( request.responseXML.documentElement );
+ }
+
+ birtCommunicationManager.postProcess( );
+ //todo handle responseText
+ },
+
+ /**
+ * Callback function triggered when reponse is ready status is not 200.
+ * Process any http (non-200) errors. Note this is not exception from
+ * server side.
+ *
+ * @request, httpXmlRequest instance
+ * @return, void
+ */
+ invalidResponseHandler: function( request )
+ {
+ debug("invalid response");
+
+ if ( request.responseXML && request.responseXML.documentElement )
+ {
+ birtSoapResponse.process( request.responseXML.documentElement );
+ }
+
+ birtCommunicationManager.postProcess( );
+ },
+
+ /**
+ * Post process after finish processing the response.
+ *
+ * @return, void
+ */
+ postProcess: function( )
+ {
+    //deactivate delay message manager
+ birtProgressBar.__stop( );
+    this.__active = false;
+ }
+}
+
+var birtCommunicationManager = new BirtCommunicationManager( );
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtCommunicationManager.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js Thu Oct 15 04:48:28 2009
@@ -0,0 +1,331 @@
+/******************************************************************************
+ * 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.
+ *****************************************************************************/
+
+BirtDndManager = function( ) {
+
+ //An item is dragging
+this.isDragging = false;
+
+};
+
+BirtDndManager.prototype = {
+
+ __dropTargetManager: null, //PRIVATE - extending classes must use accessor method
+
+ __mousemoveHandlerFunction: null,
+
+ __dropHandlerFunction: null,
+
+ currentDropTarget: null, //Element that is the current valid drop target
+
+ currentDragElement: null, //Element that is currently being dragged
+
+
+ /**
+ Extending classes should use this method to set the drop target manager if
+ custom drop behavior is desired
+ @param {DropTargetManager}
+ */
+ setDropTargetManager: function( dTargetManager)
+ {
+ this.__dropTargetManager = dTargetManager;
+ },
+
+ /**
+ Drop targets call this method to register as accepting "dragType" items
+ */
+ addAssociation: function(dragType, targetHtmlId, target)
+ {
+ if(this.__dropTargetManager == null)
+ {
+ throw new WRError("BirtDndManager", "DropTargetManager not set");
+ }
+ this.__dropTargetManager.addAssociation(dragType, targetHtmlId, target);
+ },
+
+ /**
+ Delete an association when the corresponding html element is removed
+ @param dragType
+ @param dropTargetId id attribute of html element to remove
+ */
+ deleteAssociation: function(dragType, htmlId)
+ {
+ if(this.__dropTargetManager == null)
+ {
+ throw new WRError("BirtDndManager", "DropTargetManager not set");
+ }
+ this.__dropTargetManager.deleteAssociation(dragType, htmlId);
+ },
+
+ /**
+ startDrag redefines itself the first time it is called based on the desired type of drag drop behavior.<b>
+ */
+ startDrag: function(element, event, dragType)
+ {
+ //If there is no drop target manager, define startDrag as default
+ if(this.__dropTargetManager == null)
+ {
+ this.startDrag = this.__getDefaultStartDrag();
+ }
+ else
+ {
+ this.startDrag = this.__getCustomStartDrag();
+ }
+ this.startDrag(element, event, dragType);
+ },
+
+ /**
+ Default start drag function handles elements that drag but do not have drop targets
+ @returns {function} default start drag function
+ */
+ __getDefaultStartDrag: function()
+ {
+ return function(element, event, dragType)
+ {
+ debug("default startDrag");
+ if(!this.isDragging)
+ {
+ this.eventMouseout = this.elementMouseout.bindAsEventListener(this);
+
+ this.__mousemoveHandlerFunction = this.__moveElement.bindAsEventListener(this);
+ this.__dropElementFunction = this.__dropElement.bindAsEventListener(this);
+
+ var zIndex = this.__activateDragMask();
+ this.__elementSetUp(element, event, zIndex);
+ this.__startDragObservers(this.__mousemoveHandlerFunction, this.__dropElementFunction);
+ }
+ this.isDragging = true;
+ }
+ },
+
+ /**
+ Custom start drag function handles elements that have drop targets
+ @returns {function} custome start drag function
+ */
+ __getCustomStartDrag: function()
+ {
+ return function(element, event, dragType)
+ {
+ debug("custom startDrag");
+ if(!this.isDragging)
+ {
+
+ if(dragType == null) //There are no drop targets
+ {
+ this.__mousemoveHandlerFunction = this.__moveElement.bindAsEventListener(this);
+ this.__dropElementFunction = this.__dropElement.bindAsEventListener(this);
+ }
+ else
+ {
+ this.__dropTargetManager.setUpForDrag(dragType);
+ this.__mousemoveHandlerFunction = this.__moveElementWithTarget.bindAsEventListener(this);
+ this.__dropElementFunction = this.__dropElementWithTarget.bindAsEventListener(this);
+ }
+ this.eventMouseout = this.elementMouseout.bindAsEventListener(this);
+
+ var zIndex = this.__activateDragMask();
+ this.__elementSetUp(element, event, zIndex);
+ this.__startDragObservers(this.__mousemoveHandlerFunction, this.__dropElementFunction);
+ }
+ this.isDragging = true;
+ }
+ },
+
+ __activateDragMask: function()
+ {
+ return Mask.show();
+ },
+
+ __deactivateDragMask: function()
+ {
+ Mask.hide();
+ },
+
+ /**
+ Set up an element to be dragged
+ */
+ __elementSetUp: function(elem, event, zIndex)
+ {
+ //TODO if removing selections is kept, move to utility funciton
+ //remove any existing selections
+ if(document.selection)
+ {
+ document.selection.empty();
+ }
+ else if(window.getSelection)
+ {
+ var selection = window.getSelection();
+ if(selection)
+ {
+ selection.removeAllRanges();
+ }
+ }
+
+ this.currentDragElement = elem;
+ this.currentDragElement.oldZIndex = this.currentDragElement.style.zIndex;
+ this.currentDragElement.style.zIndex = zIndex;
+ this.currentDropTarget = null;
+ //Location of mouse
+ var mouseX = Event.pointerX(event);
+ var mouseY = Event.pointerY(event);
+ //Distance from the edge of the element to edge of browser
+ var offsets = Position.cumulativeOffset(elem);
+ //Distance from the edge of the element of mouse
+ elem.offsetX =  (mouseX - offsets[0]);
+ elem.offsetY =  (mouseY - offsets[1]);
+
+ //Used for revert effect
+ elem.originalTop = parseInt(elem.style.top || '0');
+ elem.originalLeft = parseInt(elem.style.left || '0');
+ },
+
+ /**
+ Start drag event observing
+ */
+ __startDragObservers: function(mousemoveHandlerFunction, dropHandlerFunction)
+ {
+ Event.observe(document, "mousemove", mousemoveHandlerFunction, false);
+ Event.observe(document, "mouseup", dropHandlerFunction, false);
+ },
+
+ /**
+ Move element
+ */
+ __moveElement: function(event)
+ {
+ var xPos = Event.pointerX(event);
+ var yPos = Event.pointerY(event);
+
+ this.__moveCurrentDragElement(xPos, yPos);
+ },
+
+ /**
+ Move element and use DropTargetManager to check if it can be dropped
+ */
+ __moveElementWithTarget: function(event)
+ {
+ var xPos = Event.pointerX(event);
+ var yPos = Event.pointerY(event);
+
+ this.__moveCurrentDragElement(xPos, yPos);
+
+ var oldDropTarget = this.currentDropTarget; //is the state changing?
+ var dropTarget = this.__dropTargetManager.getDropTarget(xPos, yPos);
+
+ //Change indicator to drop allowed
+ if(dropTarget)
+ {
+ this.currentDropTarget = dropTarget;
+ if(!oldDropTarget)
+ {
+ var nodes = this.currentDragElement.childNodes;
+ this.toggleDropIndicator(true, nodes);
+ }
+ }
+ else //Change indicator to drop forbidden
+ {
+ this.currentDropTarget = null;
+ if(oldDropTarget)
+ {
+ var nodes = this.currentDragElement.childNodes;
+ this.toggleDropIndicator(false, nodes);
+ }
+ }
+ },
+
+ __moveCurrentDragElement: function(x, y)
+ {
+ var offsets = Position.cumulativeOffset(this.currentDragElement);
+     //subtract the element's current left, top coordinates from the offsets
+    offsets[0] -= parseInt(this.currentDragElement.style.left || '0');
+    offsets[1] -= parseInt(this.currentDragElement.style.top || '0');
+        
+    var style = this.currentDragElement.style;
+    
+     //take current mouse position, subtract difference in drag object position, s
+    style.left = (x - offsets[0] - this.currentDragElement.offsetX) + "px";
+    style.top  = (y - offsets[1] - this.currentDragElement.offsetY) + "px";  
+ },
+
+ /**
+ Check if the mouse button is no longer pressed, if not, call
+ eventDropped. (IE specific)<b>
+ */
+ __mouseStillDown: function(event)
+ {
+ /**
+ Check that the mouse button is still down
+ (used to detect roll off the screen in IE)
+ */
+ //debug("check mouse down");
+ //TODO refine this Check that element is really moving
+ if(!event.which && event.button == "0")
+ {
+ this.eventDropped(event);
+ return true;
+ }
+ return false;
+ },
+
+
+ /**
+ Handle mouseout of drag element
+ */
+ elementMouseout: function(event)
+ {
+ //debug("mouseout");
+ var target = Event.element( event );
+ if(target.tagName.toLowerCase() == "iframe")
+ {
+ Event.stop(event);
+ this.eventDropped(event);
+ }
+
+ },
+
+ __dropElement: function(event)
+ {
+ this.isDragging = false;
+
+    Event.stopObserving(document, "mousemove", this.__mousemoveHandlerFunction);
+    Event.stopObserving(document, "mouseup", this.__dropElementFunction);
+    Event.stopObserving(document, "mouseout", this.eventMouseout);
+    this.__deactivateDragMask();
+ this.currentDragElement.style.zIndex = this.currentDragElement.oldZIndex;
+ },
+
+ __dropElementWithTarget: function(event)
+ {
+ this.__dropElement(event);
+    
+    this.__dropTargetManager.dropElementWithTarget(event, this.currentDragElement, this.currentDropTarget);
+ },
+
+    
+     /**
+     Toggle drop indicator to show if item can be dropped
+     @param accept {boolean} Indicates if item is accepted
+     @param nodes {Array} Potential imageHolder nodes //TODO once indicator is decided on can be made more efficient
+     */
+     toggleDropIndicator: function(accept, nodes)
+     {    
+ for(var j = 0 ; j < nodes.length ; j++)
+ {
+ if(nodes[j].imageHolder)
+ {
+ accept ? nodes[j].childNodes[0].style.display = "none" : nodes[j].childNodes[0].style.display = "block";
+ accept ? nodes[j].childNodes[1].style.display = "block" : nodes[j].childNodes[1].style.display = "none";
+ break;
+ }
+ }
+     }
+      
+}
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtDndManager.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js?rev=825391&view=auto
==============================================================================
--- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js (added)
+++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js Thu Oct 15 04:48:28 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.
+ *****************************************************************************/
+
+/**
+ * BirtEvent
+ */
+BirtEvent = Class.create( );
+
+BirtEvent.prototype =
+{
+ __E_WARN : '__E_WARN',
+ __E_BLUR : '__E_BLUR', // Blur current selection.
+ __E_GETPAGE : '__E_GETPAGE', // Getting pagination page.
+ __E_GETPAGE_INIT : '__E_GETPAGE_INIT', // Getting pagination page with parameters.
+ __E_PRINT : '__E_PRINT', // Print event.
+ __E_PRINT_SERVER : '__E_PRINT_SERVER', // Print event.
+ __E_QUERY_EXPORT : '__E_QUERY_EXPORT',
+ __E_TOC : '__E_TOC',
+ __E_TOC_IMAGE_CLICK : '__E_TOC_IMAGE_CLICK',
+ __E_PARAMETER : '__E_PARAMETER',
+ __E_CHANGE_PARAMETER : '__E_CHANGE_PARAMETER',  //Change parameter event.
+ __E_CACHE_PARAMETER : '__E_CACHE_PARAMETER',  //Cache parameter event.
+ __E_CASCADING_PARAMETER : '__E_CASCADING_PARAMETER',  //Cascading parameter event.
+ __E_PDF : '__E_PDF', // Create pdf event.
+ __E_CANCEL_TASK : '__E_CANCEL_TASK', // Cancel current task event.
+ __E_GETPAGE_ALL : '__E_GETPAGE_ALL', // Get all pages.
+ __E_EXPORT_REPORT : '__E_EXPORT_REPORT', // Export report
+
+ /**
+ * Initialization routine required by "ProtoType" lib.
+ * Define available birt events.
+ *
+ * @return, void
+ */
+ initialize: function( )
+ {
+ }
+}
+
+var birtEvent = new BirtEvent( );
\ No newline at end of file

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/ajax/core/BirtEvent.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain