Commit Graph
61 Commits
Author SHA1 Message Date
Deepak Dixit 554cd4367c (OFBIZ-7234) Relocate .groovy files in the specialpurpose/birt component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747782 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:22:06 +00:00
Deepak Dixit 8ef8f43c0f (OFBIZ-7229) Relocate .groovy files in the product component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747774 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:46:51 +00:00
Deepak Dixit 840949dfc2 (OFBIZ-7227) Relocate .groovy files in the order component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747769 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:36:39 +00:00
Deepak Dixit 2e42016e9a (OFBIZ-7219) Relocate .groovy files in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 16:54:38 +00:00
Jacques Le Roux 5e65059e4d A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Deepak Dixit 67b3f23415 (OFBIZ-7273) Applied slightly modified patch from jira ticket
=======================================
Report "Sale Orders By Channel" is not rendering details
=======================================
Thanks Nameet Jain for your contirbution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747642 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 06:54:06 +00:00
Deepak Dixit 887f4c4eaa (OFBIZ-7289) Applied patch from jira ticket
=======================================
Monthly "Sales Report" PDF is not rendering details
=======================================
Thanks Nameet Jain for your contirbution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747639 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 06:15:02 +00:00
Pranay Pandey 855331db32 [OFBIZ-7100] Applied patch from the ticket to fix not working 'Acctg Trans Entries PDF' on payment details screen.
The issue was due to the missing 'util' package and introduced while conversion of Javolution collections (FastMap, FastList) into Java collections.

Thanks Swapnil M Mane for reporting the issue and providing the patch, thanks Deepak Dixit for reviewing the issue and providing comment to avoid any duplicate effort.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745577 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 08:46:00 +00:00
Deepak Dixit c4b52ebe5c (OFBIZ-6810) Removed some unused screen and ftl, found during ftl cleanup. I took extra care while removing these code this should not break anything.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745500 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 15:05:50 +00:00
Deepak Dixit 2c25412d8e (OFBIZ-7021) Renamed remaining specialpurpose component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745115 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 06:59:04 +00:00
Jacques Le Roux bfa06e0065 Things got totally wrong with r1742196 which contained much more than expected.
This reverts things which should not have been committed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1742197 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 21:03:11 +00:00
Jacques Le Roux becdb02a08 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
Completes in screens the changes done in forms at r1741873. I then replaced few form lists by grids, where it was possible to do it with regexp.
Also complete StatsForms.xml to use only grids and "searchList" form in ecommerce ContentForms to NOT use grid (not called in screen)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1742196 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 20:50:10 +00:00
Deepak Dixit 8104342a53 (OFBIZ-6827) Apply patch from jira issue.
============================================================
relocate .ftl files in the specialpurpose/birt component
============================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737817 13f79535-47bb-0310-9956-ffa450edef68
2016-04-05 10:13:18 +00:00
Deepak Dixit 1245fb9efe (OFBIZ-6287) Replace html widget rendering with Macro widget rendering in BirtEmailServices.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1731346 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 08:55:27 +00:00
Jacques Le Roux 0a982250e6 Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Deepak Dixit e91538404a OFBIZ-(6655) Add session tracking mode and make cookie secure for all special purpose component. Also updated the web-app version for web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1724940 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:30:08 +00:00
Jacques Le Roux 8c767f7102 A rearranged patch from Gareth Carter for "Update SimpleContentViewHandler to return mime type on file extension and use inline for content-disposition" https://issues.apache.org/jira/browse/OFBIZ-6702
SimpleContentViewHandler will return mime type 'text/html' for all DataResource values without a specified mimeTypeId. Changing to DataResourceWorker.getMimeType will allow determining the mimeTypeId by file extension 
Fixing the mime type will allow the browsers to display content inline if UtilHttp is updated aswell. All unknown extensions will be set to octet-stream causing the browser to prompt for download

jleroux: after some discussions, this finally uses a content-disposition-type property in requestHandler.properties to allow more flexibility for users (see UtilHttp.setContentDisposition() method). Beware "inline" is less secure. For this reason, Gareth forced the "dangerous" text/html mime type to application/octet-stream in SimpleContentViewHandler class. This to prevent possible static XSS attacks. See the Jira issue for more details.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1712835 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 17:47:00 +00:00
Arun Patidar da04c7ce72 [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Shi Jinghai e8fb02c303 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Nicolas Malin 8995c4fd02 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Nicolas Malin 1e3600618d Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Adrian Crum d504b6ffde Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Jacques Le Roux 2627793b37 A patch from Pierre Smits for "Have a better layout design of the chart.rptdesign" https://issues.apache.org/jira/browse/OFBIZ-6124
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1664276 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 08:50:22 +00:00
Jacques Le Roux 87182b75d3 A patch from Pierre Smits for "Have BIRT reporting component visible in secondary app menu" https://issues.apache.org/jira/browse/OFBIZ-6122
Currently the birt reporting component is not visible in the main menu of OFBiz, thereby hindering the adoption

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1663983 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 13:17:09 +00:00
Jacques Le Roux 0d1b915012 A patch from Pierre Smits for "Have PDF reports in BIRT open in new windows" https://issues.apache.org/jira/browse/OFBIZ-6121
Currently the PDF reports open in the same browser window as OFBiz, reducing the user experience.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1663081 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 11:19:52 +00:00
Jacques Le Roux 62d6ac58f9 Adds a README file in birt component, updates the ecomseo one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1662930 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:11:08 +00:00
Adrian Crum ae9103cf18 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacques Le Roux cd2e289d78 Changes in all labels files: <value xml:lang="(.*)_(.*)"> to <value xml:lang="$1-$2">
Changes also listLocales.ftl to show dashes rather than underscores

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1650880 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 09:59:32 +00:00
Adrian Crum 8560800dcd Updated the UI label files so they reference a schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1649666 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:24:18 +00:00
Ashish Vijaywargiya b06039daf6 Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Jacques Le Roux f47938c7b6 A patch from Chatree Srichart for "404 error with birt previews." https://issues.apache.org/jira/browse/OFBIZ-5876
The commons-discovery-0.5.jar has been removed from framework/base/lib/ at r1623042 but was needed for Birt. Its correct place is in specialpurpose/birt/lib/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1641037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 09:19:34 +00:00
Jacques Le Roux bc72582c98 Removes forgotten log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639788 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 20:58:27 +00:00
Jacques Le Roux 494f357a25 An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.

jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed  dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1625816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 20:44:07 +00:00
Jacopo Cappellato 29e96c4703 Removed unused and not maintained integration with DataVision.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1622979 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:43:41 +00:00
Jacques Le Roux 2c3aced803 I found annoying to mix the Birt report engine logs and especially lock files with the other OFBiz logs.
As suggested on dev ML,this moves these files under a birt sub directory of runtime


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1602671 13f79535-47bb-0310-9956-ffa450edef68
2014-06-15 08:08:36 +00:00
Jacques Le Roux 1c49d94225 A patch from Leon for "Birt 4.2, export report as MS 2007 document format" https://issues.apache.org/jira/browse/OFBIZ-5653
One of the new features of Birt 4.2 is the capability to export report as MS 2007 format, such as .docx, .xlsx and .pptx.
Birt library in OFBiz trunk has already been upgrade to version 4.3.1. So it's ready to introduce this new feature into ofbiz.

patch: 3 new content types for MS 2007 word, excel and ppt. Also update the help xml and comments in controll.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1602334 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 07:58:48 +00:00
Jacques Le Roux ff78eabec0 Removes useless empty folders, adds README files with explanations in useful empty folders
This to facilitate the creation of Git repositories where empty folders needs a file in or must be ignored
Especially when you want to keep the OFBiz Subversion repository inside the Git repository (useful for committers)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1580865 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 14:42:52 +00:00
Jacques Le Roux ac7138ebdd A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952
jleroux: Oops forgot to commit the unversioned files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579359 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 19:16:28 +00:00
Jacques Le Roux 255d601eeb A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952
Chatree Srichart:
I have created a patch to solve a viewer servlet problem and uncomment the viewer servlet in the birt webapp. To do this will allow a user to use BIRT Web Viewer to render a report by coping a webcontent directory from birt-runtime-x_x_x/WebViewerExample directory and paste into the birt webapp directory ($OFBIZ_HOME/specialpurpose/example/webapp/birt).

These are URLs to render example reports using BIRT Web Viewer.
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/example.rptdesign
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/chart.rptdesign

jleroux: a more detailled documentation is available at https://cwiki.apache.org/confluence/display/OFBIZ/Using+BIRT+with+OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579356 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 19:08:52 +00:00
Jacopo Cappellato 3b706fa176 Added missing index.jsp files required to enable redirection to control/main for the webapplications overriden by specialpurpose components; this fixes the issues reported in the mailing list by Deepak Dixit and by Vyom Jain.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1575875 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 09:29:20 +00:00
Jacques Le Roux 5deef319c4 Closes "Upgrade BIRT Runtime to 4.3.1" https://issues.apache.org/jira/browse/OFBIZ-5530
jleroux: what I did:
Replaced all (20) old birt libs by new one provided in the zip Chatree provided
I did not touch any other libs, I checked they were all the same, but the names of Axis 1 libs which were not versionned in the zip. So I removed the related Axis 1 changes in LICENSE and .classpath files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1565375 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 18:00:18 +00:00
Jacques Le Roux 4cc53e00f5 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Jacques Le Roux 6b9ef849c5 I missed this change in r1538095
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1538161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:40:00 +00:00
Jacques Le Roux c1f5fc4fc0 I was quite confused when at r1522664 I reverted those changes in ReportSreens
Slightly improves labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1538081 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:11:47 +00:00
Jacques Le Roux fa44ffd18d Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacques Le Roux 27a2f6f918 This slipped in inadvertently
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1523468 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 18:01:54 +00:00
Jacques Le Roux 8362391c91 I18n of FacilityInventoryHistoryReport, I moved the labels from Product to birt application, they could have stayed there, but I preferred to have them in one place. We need to i18n the Birt reports also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522782 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 05:37:37 +00:00
Jacques Le Roux d35d97e5f0 This reverts the change in birt ofbiz-component done at r1400463
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522679 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:40:14 +00:00
Jacques Le Roux 9cb191e495 Reverts r1518777
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522675 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:36:45 +00:00
Jacques Le Roux fe8d992996 For "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
The quickInitDataWarehouse BI button used these dates (set in BI main screen)

<set field="fromDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
<set field="thruDate" value="2010-01-01 00:00:00.0" type="Timestamp"/>

This generated 1000+ records. I set 10 years ahead (from sept. 2013) in a new bi.properties file used by the BI main screen. So it generates only 3000+ records (and others related in BI DB) which is still reasonable. A message, placed at the top of the Order Reports page, informs users that for 4 Birt reports s/he needs 1st to run the data warehouse init using the BI button. Also this message clarifies the range, to be certain that in 10 years people will still easily know what to change...

I have also replaced a lot of labels and added English and French translations (by-product: some labels cleaning in CommonUiLabels.xml)

I did not do the same for the accounting paymentReport and ViewFacilityInventoryHistoryReport facility Birt reports which only need translation. 
I noticed that there are no ways to get to ViewFacilityInventoryHistoryReport from UI though!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1521589 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:08:29 +00:00