Commit Graph
361 Commits
Author SHA1 Message Date
Scott Gray 6155c32d9e Fix small bug, wrong default map name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607805 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 05:37:15 +00:00
Adrian Crum b584b3549b FOP code improvements, based on https://issues.apache.org/jira/browse/OFBIZ-1414.
The Jira issue mentions rendering to temp files, but I kept that out of the commit. If we get out of memory errors in the future, it will be easy to add it back in.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603483 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 06:38:23 +00:00
Adrian Crum b91ca87911 UtilProperties bug fix and enhancements.
This commit fixes the bug reported in https://issues.apache.org/jira/browse/OFBIZ-1488 and it includes a few of the improvements mentioned in https://issues.apache.org/jira/browse/OFBIZ-1485. This commit also lays the groundwork for improved properties file support in the future.

This commit contains a new xsd file - it needs to be included on the apache ofbiz website. XML properties files will generate console error messages until it is.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:04:01 +00:00
Adrian Crum dcf6a61c50 Improved entity reference screen - now has better field definitions. Based on discussion in https://issues.apache.org/jira/browse/OFBIZ-1425.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:38 +00:00
Scott Gray ccc31cb640 Fixed invalid location
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600862 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:55:56 +00:00
Adrian Crum 1367a57349 Updated Example component to new XML properties files. Two languages are still in need of conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 19:48:39 +00:00
Adrian Crum e14dd8654f Minor layout changes in the Example component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596552 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 06:47:40 +00:00
Jacques Le Roux b6b7c017c8 A patch from Adrian Crum "Screen widget show where code came from in html" (https://issues.apache.org/jira/browse/OFBIZ-1318) - OFBIZ-1318
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594042 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 08:06:40 +00:00
Jacopo Cappellato 88abdbd634 Misc improvements to the drop-down examples.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586463 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:04:50 +00:00
Jacopo Cappellato 8065f28732 New examples for date/time fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586458 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:53:26 +00:00
Jacopo Cappellato 69cf27f071 Added new screen and form to the Example application as a proof of concept for a way to create a library of tricks and best practices for form widget definitions; the Example application could then be used as a repository of easily accessible examples for widgets. In this example I've started to document some useful ways to use the drop-down fields.
What do you think? I did this change using the CTR (commit-then-review) policy: if you don't like this idea I will immediately revert.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586349 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 09:39:51 +00:00
Jacopo Cappellato fa7284ec00 Converted appbar of the Example application from ftl to widget menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586303 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:02:28 +00:00
Jacopo Cappellato 89f3fd0098 Applied patch from Adrian Crum as a first pass to share the same common login screens in all the applications.
OFBIZ-1320


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585393 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:24:17 +00:00
Jacques Le Roux d971f0ffec Complete my previous post (I had to change instance because of not related existing changes in controller.xml files)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 07:08:34 +00:00
Adrian Crum 4503af892a Step two of OFBIZ-1230. Reduced redundant code by including common-requests.xml in each component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 17:25:42 +00:00
Adrian Crum b16dfa61f9 Small fixup from last commit. Too many lines were deleted from Example component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582512 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 16:14:47 +00:00
Jacques Le Roux 13842bd64b A patch from Adrian Crum "Move common requests to a separate xml file to reduce component's controller.xml file size" (https://issues.apache.org/jira/browse/OFBIZ-1230)
Thanks to BJ Freeman to review and suggestion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:17:08 +00:00
Jacopo Cappellato c3c7cdb4c3 Better handling of global variables to set the url for the application logo: now ONE global variable is set in GlobalDecorator and this will affect all the applications; if we need a custom logo for each application then we will have to uncomment the variable setting in the application's main-decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:43:11 +00:00
Jacopo Cappellato 520547c6e5 Added seed data for VIEW permission to the Oagis and ProjectMgr components.
Added base permissions to the Example*, Oagis, ProjectMgr components.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579654 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 13:55:54 +00:00
David E. Jones d35f4480a7 Changed service defs to refer to simple-method files by component:// urls instead of classpath resource locations; now that this is in removed the script directory from the classpath; this is the first step in doing this across the project to be less classpath dependent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574829 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 08:03:11 +00:00
David E. Jones 04170fbfa1 Updated for change in test def xml spec
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572278 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:43:06 +00:00
David E. Jones 4364e99744 Added example of how to do statusEndDate for a status date range, plus other little cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570035 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:35:45 +00:00
Jacques Le Roux ed72592fef A patch from Arno Peters "javadoc creation broken" (https://issues.apache.org/jira/browse/OFBIZ-1162)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560546 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 13:42:58 +00:00
Jacques Le Roux 174bcd8621 A patch from Shi Yusen "zh properties in progress" (https://issues.apache.org/jira/browse/OFBIZ-617)
The framework part was still waiting to be commited

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
Jacques Le Roux 72684a3064 A 2st patch (ofbiz-642-locale_tz.patch)from Adriam Crum "Make OFBiz more dial-up friendly" (https://issues.apache.org/jira/browse/OFBIZ-642)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555997 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:48:00 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Jacopo Cappellato 7ed37eb27d A bunch of i18n and i10n improvements by Marco Risaliti: OFBIZ-1062 and OFBIZ-1057
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:06:47 +00:00
Jacopo Cappellato 44f5f4d1dd Russian labels from Oleg Andreyev OFBIZ-1037
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones 583cfeed38 Some improvements to the example component, and added an exampleext component which extends the example webapp to demonstrate extension and overide mechanisms; note that this works except for menu extension which doesn't appear to be working on the framework level
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539833 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 06:39:54 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato ac33217ca3 Applied patch from Adrian Crum to clean up the layout of the Example application: OFBIZ-887
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529140 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 06:28:12 +00:00
Jacopo Cappellato 4f678045fb Removed unnecessary styling attributes from form definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526387 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 07:09:02 +00:00
David E. Jones 4ee2edf5a4 Small formatting cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526145 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 12:55:26 +00:00
David E. Jones 544ea7410f A few cleanups, nothing major and no real functionality changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525960 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 21:16:55 +00:00
Jacopo Cappellato 597766520d Properties files for all OfBiz modules available in romanian language.
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
David E. Jones 4516bbe6dd Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:28:43 +00:00
David E. Jones 175284f620 Appled patches from Joe Eckard for the ServiceTest implementation, and example to use it; Jira #OFBIZ-791; I made a small change to the patch to show the key and value for the error message Map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:21:49 +00:00
David E. Jones bf807aa5a0 Applied patch from Joe Eckard which implements the entity-xml-assert type of test and adds a small example test file for it that just validates against seed data; small change to reorganize, but mostly as-is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 22:57:38 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones 7802b644ce Small cleanup, changed rather incomprehensible error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498538 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 06:06:09 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones c8ffca7540 Added resource-description attribute to permission-service element, which if not specified will default to the service-name for the main service; this is then passed to the permission service for use in error messages, etc; added example to this in the example component; also updated the header on the ExamplePermissionServices.xml file to make it more consistent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494762 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 08:18:50 +00:00
Andrew Zeneski 30d8e24db3 added examples of using new service based security; removed all security calls from the simple methods, added the security line to the definitions, implemented a generic simple permission example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494720 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 05:31:37 +00:00
David E. Jones 48cc1c73f1 Fixed update problem when there is no statusId on an existing Example, as an example
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488041 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:34:34 +00:00
David E. Jones 71a25d953d Remove JPublish and EdenLib, now they are gone; includes doc/notice file updates too
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485565 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:59:37 +00:00
Jacopo Cappellato b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00