Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml Tue Jul 5 08:15:32 2011 @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app> + <display-name>Open For Business - scrum Component</display-name> + <description>scrum Component of the Open For Business Project</description> + + <context-param> + <param-name>webSiteId</param-name> + <param-value>scrumSite</param-value> + <description>A unique ID used to look up the WebSite entity</description> + </context-param> + <context-param> + <param-name>localDispatcherName</param-name><param-value>scrum</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://scrum/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>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</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> + <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</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> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp Tue Jul 5 08:15:32 2011 @@ -0,0 +1,34 @@ +<%@ 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> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/error/error.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,44 @@ +<#-- +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. +--> +<div id="params_birtReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_birtReport" method="post"></form> +<script type="text/javascript"> + function loadViewerbirtReport(){ + var formObj = document.getElementById( "form_birtReport" ); + var paramContainer = document.getElementById("params_birtReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/BacklogByStatusChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "birtReport"; + formObj.submit( ); + } +</script> +<iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> +<script type="text/javascript">loadViewerbirtReport();</script> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByStatusChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,44 @@ +<#-- +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. +--> +<div id="params_byTypeReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_byTypeReport" method="post"></form> +<script type="text/javascript"> + function loadViewerByTypeReport(){ + var formObj = document.getElementById( "form_byTypeReport" ); + var paramContainer = document.getElementById("params_byTypeReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/BacklogByTypeChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "byTypeReport"; + formObj.submit( ); + } +</script> +<iframe name="byTypeReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> +<script type="text/javascript">loadViewerByTypeReport();</script> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/backlogByTypeChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,61 @@ +<#-- +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. +--> + +<#assign sprint = delegator.findOne("WorkEffort", Static["org.ofbiz.base.util.UtilMisc"].toMap("workEffortId", parameters.get("sprintId")), false)?if_exists /> +<#assign actualStartDay = Static["org.ofbiz.base.util.UtilDateTime"].getDayStart(sprint.actualStartDate, timeZone, locale)/> +<#assign actualCompletionDay = Static["org.ofbiz.base.util.UtilDateTime"].getDayStart(sprint.actualCompletionDate, timeZone, locale)/> +<#assign dayNumber = ((actualCompletionDay.getTime() - actualStartDay.getTime())/1000/60/60/24) + 1/> +<#assign estimatedHrs = sprint.estimatedMilliSeconds/1000/60/60/> +<#assign members = delegator.findByAnd("WorkEffortPartyAssignment", Static["org.ofbiz.base.util.UtilMisc"].toMap("workEffortId", parameters.get("sprintId")))/> +<#if members.size() > 0 > + <#assign maxHours = estimatedHrs * members.size()/> + <div id="params_birtReport" style='display:none'> + <INPUT type="HIDDEN" name="sprintId" value="${sprint.workEffortId?if_exists}"/> + <INPUT type="HIDDEN" name="actualStartDate" value="${sprint.actualStartDate?if_exists}"/> + <INPUT type="HIDDEN" name="actualCompletionDate" value="${sprint.actualCompletionDate?if_exists}"/> + <INPUT type="HIDDEN" name="dayNumber" value="${dayNumber?if_exists}"/> + <INPUT type="HIDDEN" name="estimatedHrs" value="${estimatedHrs?if_exists}"/> + <INPUT type="HIDDEN" name="maxHours" value="${maxHours?if_exists}"/> + </div> + <form id="form_birtReport" method="post"></form> + <script type="text/javascript"> + function loadViewerbirtReport(){ + var formObj = document.getElementById( "form_birtReport" ); + var paramContainer = document.getElementById("params_birtReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) + { + for( var i=0;i<oParams.length;i++ ) + { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild( param ); + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/Burndown.rptdesign&__masterpage=true&__format=html"; + formObj.target = "birtReport"; + formObj.submit( ); + } + + </script> + <iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> + <script type="text/javascript">loadViewerbirtReport();</script> +</#if> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,99 @@ +<#-- +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. +--> +<div align="center"> +<h3>Welcome to The Scrum Component Demonstration</h3> + +This component is based on the following documents: <br/> +<a href="http://www.scrum.org/scrumguides/" target="_BLANK">Scrum guide in various languages.</a> <br/> +<a href="http://www.scrumalliance.org/pages/what_is_scrum" target="_BLANK">Scrum in 30 seconds.</a><br/> +<a href="http://www.softhouse.se/Uploades/Scrum_eng_webb.pdf" target="_BLANK">Scrum in 5 minutes</a><br/> + +The table shows the demo user's which are setup in the demo data for this component.<br/> +When you click on the User Login ID,the system will login to the Scrum Component of that User Login ID <br/><br/> +</div> + +<table> + <tr> + <th>USER LOGIN ID</th> + <th>DESCRIPTION</th> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=scrumadmin&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrum Admin</a><br/> + </td> + <td> + <b>Scrum Admin</b><br/> + The Scrum Admin is a userlogin who has full control and can execute any function in the Scrum Component. + </td> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=scrummaster&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrum Master</td> + <td> + <b>Scrum Master</b><br/> + The Scrummaster can create the project and sprint and will put the product backlog into the sprint,<br/> + can assign the tasks to the scrummember, add member to the project and sprint,and can manage timesheets. + <td> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=productowner&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Product Owner</a><br/> + <a href="/scrum/control/main?USERNAME=productowner2&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Product Owner2</a><br/> + </td> + <td> + <b>Product Owner</b><br/> + The Product Owner can maintain his products, find products and see all products that belong to this Product Owner. <br/> + Product Owner can add and re-arrange the product backlog and look at the project/sprint overview and detail.<br/> + </td> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=scrumteam1&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrumteam1</a><br/> + <a href="/scrum/control/main?USERNAME=scrumteam2&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrumteam2</a><br/> + <a href="/scrum/control/main?USERNAME=scrumteam3&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrumteam3</a><br/> + <a href="/scrum/control/main?USERNAME=scrumteam4&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Scrumteam4</a><br/> + </td> + <td> + <b>Scrumteam</b><br/> + The Scrumteam can read the product information, see all products that the Scrumteam is working on.<br/> + The Scrumteam can see and update the task information in a sprint. + </td> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=testadmin&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">Testadmin</a> + </td> + <td> + <b>Opentest</b><br/> + This is the QA function in the system. This function will show all tasks which are complete but no final test was yet done.<br/> + If the test was ok, the backlogitem will be be set to 'completed'<br/> + However when the test failed the QA person can add error tasks to indicate what did not work yet. + </td> + </tr> + <tr> + <td> + <a href="/scrum/control/main?USERNAME=DemoStakeholder&PASSWORD=ofbiz&JavaScriptEnabled=Y" class="buttontext">DemoStakeholder</a> + </td> + <td> + <b>The Stakeholder</b><br/> + The DemoStakeholder can view the Stakeholder's product and project/sprints only.<br/> + This is for people belonging to the same company as the product owner and are interested in how the development is going. + </td> + </tr> +</table> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/demotest.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,30 @@ + + <div id="params_birtReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> + </div> + <form id="form_birtReport" method="post"></form> + <script type="text/javascript"> + function loadViewerbirtReport(){ + var formObj = document.getElementById( "form_birtReport" ); + var paramContainer = document.getElementById("params_birtReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) + { + for( var i=0;i<oParams.length;i++ ) + { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/BacklogChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "birtReport"; + formObj.submit( ); + } + + </script> + <iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> + <script type="text/javascript">loadViewerbirtReport();</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/pieChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,44 @@ +<#-- +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. +--> +<div id="params_projectSprintReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_projectSprintReport" method="post"></form> +<script type="text/javascript"> + function loadViewerProjectSprintReport(){ + var formObj = document.getElementById( "form_projectSprintReport" ); + var paramContainer = document.getElementById("params_projectSprintReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/ProjectAndSprintChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "projectSprintReport"; + formObj.submit( ); + } +</script> +<iframe name="projectSprintReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> +<script type="text/javascript">loadViewerProjectSprintReport();</script> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectAndSprintChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,44 @@ +<#-- +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. +--> +<div id="params_projectReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_projectReport" method="post"></form> +<script type="text/javascript"> + function loadViewerProjectReport(){ + var formObj = document.getElementById( "form_projectReport" ); + var paramContainer = document.getElementById("params_projectReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement( "INPUT" ); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/ProjectByStatusChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "projectReport"; + formObj.submit( ); + } +</script> +<iframe name="projectReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> +<script type="text/javascript">loadViewerProjectReport();</script> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/projectByStatusChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,32 @@ +<#-- +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. +--> +<#if result?has_content> +<div align="center"> +<h2>Subversion Information for repository : <b><a href=${result.repository?if_exists}> ${result.repository?if_exists}</a></b>, revision# <b>${result.revision?if_exists}</b></h2> +</div> +<div> + <br/><h3>Log message</h3> + <br/><pre>${result.logMessage}</pre> +</div> +<div> + <#assign oldrevision = result.revision?number - 1 > + <br/><h3>The differences between revisions: ${oldrevision?if_exists} and ${result.revision?if_exists} </h3> + <br/><pre>${result.diffMessage}</pre> +</div> +</#if> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/revision.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,43 @@ +<#-- +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. +--> +<div id="params_taskByStatusReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_taskByStatusReport" method="post"></form> +<script type="text/javascript"> + function loadViewertaskReport(){ + var formObj = document.getElementById( "form_taskByStatusReport" ); + var paramContainer = document.getElementById("params_taskByStatusReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement("INPUT"); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/TaskByStatusChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "taskByStatusReport"; + formObj.submit( ); + } +</script> +<iframe name="taskByStatusReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;'></iframe> +<script type="text/javascript">loadViewertaskReport();</script> Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByStatusChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl Tue Jul 5 08:15:32 2011 @@ -0,0 +1,44 @@ +<#-- +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. +--> +<div id="params_taskByTypeReport" style='display:none'> + <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> +</div> +<form id="form_taskByTypeReport" method="post"></form> +<script type="text/javascript"> + function loadViewertaskReport(){ + var formObj = document.getElementById( "form_taskByTypeReport" ); + var paramContainer = document.getElementById("params_taskByTypeReport"); + var oParams = paramContainer.getElementsByTagName('input'); + if( oParams ) { + for( var i=0;i<oParams.length;i++ ) { + var param = document.createElement("INPUT"); + param.type = "HIDDEN"; + param.name= oParams[i].name; + param.value= oParams[i].value; + formObj.appendChild(param); + } + } + formObj.action = "/birt/preview?__page=2&__report=component://scrum/webapp/scrum/reports/TaskByTypeChart.rptdesign&__masterpage=true&__format=html"; + formObj.target = "taskByTypeReport"; + formObj.submit( ); + } +</script> +<iframe name="taskByTypeReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;'></iframe> +<script type="text/javascript">loadViewertaskReport();</script> + \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/includes/taskByTypeChart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp Tue Jul 5 08:15:32 2011 @@ -0,0 +1 @@ +<%response.sendRedirect("control/main");%> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/index.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogByStatusChart.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogByStatusChart.rptdesign?rev=1142915&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogByStatusChart.rptdesign (added) +++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogByStatusChart.rptdesign Tue Jul 5 08:15:32 2011 @@ -0,0 +1,1062 @@ +<?xml version="1.0" encoding="UTF-8"?> +<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1"> + <property name="createdBy">Eclipse BIRT Designer Version 2.6.1.v20100902 Build <2.6.1.v20100915-1750></property> + <property name="units">in</property> + <method name="initialize"><![CDATA[importPackage(Packages.java.math); +importPackage(Packages.java.text); +importPackage(Packages.javolution.util); +importPackage(Packages.org.ofbiz.base.util); +importPackage(Packages.org.ofbiz.entity.condition); +module = "BacklogChart.rptdesign"; + +productId = params["productId"].value; +]]></method> + <property name="iconFile">/templates/blank_report.gif</property> + <property name="layoutPreference">auto layout</property> + <property name="bidiLayoutOrientation">ltr</property> + <property name="imageDPI">92</property> + <parameters> + <scalar-parameter name="productId" id="13"> + <property name="valueType">static</property> + <property name="dataType">string</property> + <property name="distinct">true</property> + <property name="paramType">simple</property> + <property name="controlType">text-box</property> + <structure name="format"> + <property name="category">Unformatted</property> + </structure> + </scalar-parameter> + </parameters> + <data-sources> + <script-data-source name="Data Source" id="8"/> + </data-sources> + <data-sets> + <script-data-set name="TestDataSet" id="12"> + <list-property name="resultSetHints"> + <structure> + <property name="position">0</property> + <property name="name">DataName</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">1</property> + <property name="name">DataValue</property> + <property name="dataType">integer</property> + </structure> + </list-property> + <list-property name="columnHints"> + <structure> + <property name="columnName">DataName</property> + </structure> + <structure> + <property name="columnName">DataValue</property> + </structure> + </list-property> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">DataName</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">DataValue</property> + <property name="dataType">integer</property> + </structure> + </list-property> + </structure> + <property name="dataSource">Data Source</property> + <method name="open"><![CDATA[num = 3; +userLogin = null; +data = null; + +openDataList = null; +beingDataList = null; +finishDataList = null; +openData = 0; +beingData = 0; +finishData = 0; + +inputOpenData = FastMap.newInstance(); +inputBeingData = FastMap.newInstance(); +inputFinishedData = FastMap.newInstance(); + +try{ + + userLogin = delegator.findByPrimaryKey("UserLogin",UtilMisc.toMap("userLoginId","admin")); + inputOpenData.put("userLogin",userLogin); + inputOpenData.put("productId",productId); + inputOpenData.put("statusId","CRQ_ACCEPTED"); + data = dispatcher.runSync("getProductBacklogSize",inputOpenData); + openDataList = data.get("productBacklogSize"); + if(openDataList != null) openData = openDataList; + else openData = 0; + + + inputBeingData.put("userLogin",userLogin); + inputBeingData.put("productId",productId); + inputBeingData.put("statusId","CRQ_REVIEWED"); + data = dispatcher.runSync("getProductBacklogSize",inputBeingData); + beingDataList = data.get("productBacklogSize"); + if(beingDataList != null) beingData = beingDataList; + else beingData = 0; + + inputFinishedData.put("userLogin",userLogin); + inputFinishedData.put("productId",productId); + inputFinishedData.put("statusId","CRQ_COMPLETED"); + data = dispatcher.runSync("getProductBacklogSize",inputFinishedData); + finishDataList = data.get("productBacklogSize"); + if(finishDataList != null)finishData = finishDataList; + else + finishData = 0; + +}catch(e){ + Debug.logError(e, module); +} +]]></method> + <method name="fetch"><![CDATA[if(num==0) return false; + if(num==1){ + row["DataValue"] = openData; + row["DataName"] = "Open"; + } + if(num==2){ + row["DataValue"] = beingData; + row["DataName"] = "Being Implemented"; + } + if(num==3){ + row["DataValue"] = finishData; + row["DataName"] = "Finished"; + } +num--; +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> + </page-footer> + </simple-master-page> + </page-setup> + <body> + <extended-item extensionName="Chart" id="10"> + <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithoutAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/ChartModelType"> + <Version>2.5.1</Version> + <Type>Pie Chart</Type> + <SubType>Standard</SubType> + <Block> + <Children xsi:type="layout:TitleBlock"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Anchor>North</Anchor> + <Stretch>Horizontal</Stretch> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + <Label> + <Caption> + <Value>Backlog By Status</Value> + <Font> + <Size>16.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + </Children> + <Children xsi:type="layout:Plot"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + <HorizontalSpacing>5</HorizontalSpacing> + <VerticalSpacing>5</VerticalSpacing> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>0.0</Left> + <Bottom>0.0</Bottom> + <Right>0.0</Right> + </Insets> + </ClientArea> + </Children> + <Children xsi:type="layout:Legend"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>2.0</Top> + <Left>2.0</Left> + <Bottom>2.0</Bottom> + <Right>2.0</Right> + </Insets> + </ClientArea> + <Text> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Text> + <Orientation>Vertical</Orientation> + <Direction>Top_Bottom</Direction> + <Separator> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </Separator> + <Position>Right</Position> + <ItemType>Categories</ItemType> + <Title> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Title> + <TitlePosition>Above</TitlePosition> + </Children> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>540.0</Width> + <Height>216.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + </Block> + <Dimension>Two_Dimensional_With_Depth</Dimension> + <Units>Points</Units> + <SeriesThickness>10.0</SeriesThickness> + <GridColumnCount>0</GridColumnCount> + <ExtendedProperties> + <Name>enable.area.alt</Name> + <Value>false</Value> + </ExtendedProperties> + <SampleData> + <BaseSampleData> + <DataSetRepresentation>'A','B','C','D','E'</DataSetRepresentation> + </BaseSampleData> + <OrthogonalSampleData> + <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation> + <SeriesDefinitionIndex>0</SeriesDefinitionIndex> + </OrthogonalSampleData> + </SampleData> + <Interactivity> + <Enable>true</Enable> + <LegendBehavior>None</LegendBehavior> + </Interactivity> + <EmptyMessage> + <Caption> + <Value>This chart contains no data.</Value> + <Font> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>64</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Background> + <Outline> + <Color> + <Transparency>128</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Color> + <Visible>true</Visible> + </Outline> + <Insets> + <Top>10.0</Top> + <Left>10.0</Left> + <Bottom>10.0</Bottom> + <Right>10.0</Right> + </Insets> + <Visible>false</Visible> + </EmptyMessage> + <SeriesDefinitions> + <Query> + <Definition></Definition> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <SeriesDefinitions> + <Query> + <Definition></Definition> + <Grouping> + <GroupType>Text</GroupType> + </Grouping> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <Series xsi:type="type:PieSeries"> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + <DataDefinition> + <Definition>row["DataValue"]</Definition> + <Grouping> + <GroupType>Text</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </DataDefinition> + <SeriesIdentifier></SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Outside</LabelPosition> + <Stacked>false</Stacked> + <Explosion>0</Explosion> + <ExplosionExpression>categoryData</ExplosionExpression> + <Title> + <Caption> + <Value></Value> + <Font> + <Size>16.0</Size> + <Bold>true</Bold> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Title> + <TitlePosition>Below</TitlePosition> + <LeaderLineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Visible>true</Visible> + </LeaderLineAttributes> + <LeaderLineStyle>Fixed_Length</LeaderLineStyle> + <LeaderLineLength>10.0</LeaderLineLength> + </Series> + <Grouping> + <GroupType>Text</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> + <Series> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Label> + <DataDefinition> + <Definition>row["DataName"]</Definition> + </DataDefinition> + <SeriesIdentifier></SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Outside</LabelPosition> + <Stacked>false</Stacked> + </Series> + <Grouping> + <Enabled>true</Enabled> + <GroupType>Text</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> +</model:ChartWithoutAxes> +]]></xml-property> + <property name="outputFormat">SVG</property> + <property name="inheritColumns">false</property> + <property name="dataSet">TestDataSet</property> + <property name="height">3in</property> + <property name="width">7.5in</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">DataName</property> + <expression name="expression" type="javascript">dataSetRow["DataName"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">DataValue</property> + <expression name="expression" type="javascript">dataSetRow["DataValue"]</expression> + <property name="dataType">integer</property> + </structure> + </list-property> + </extended-item> + </body> +</report> |
Free forum by Nabble | Edit this page |