Si Chen
e0a3335a1d
Turned off transactions for webtools import services because the service transactions were setting timeouts to 60 seconds, regardless of what the import code was doing, at least with PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 19:26:56 +00:00
Jacopo Cappellato
e61d1bb7a2
Moved addErrors private method from CheckOutHelper to ServiceUtil (as public static).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432961 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 10:32:17 +00:00
Jacopo Cappellato
5a493b2988
Added new common template for document based pdf reports (sales and purchase orders, invoices, returns etc...).
...
Refactored the sales/purchase order pdf to use the common template.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432302 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 17:38:38 +00:00
Jacques Le Roux
d74d2faaec
Add *_es.properties from Rodrigo Aguinaga (see Apache Jira OFBIZ-157)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432188 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 09:21:27 +00:00
Si Chen
4139714d9d
Joblist in webtools now has a link back to the service reference for the services
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431997 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 19:24:36 +00:00
Jacopo Cappellato
555e433e3c
Updated comment to reflect the new svn structure.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431563 13f79535-47bb-0310-9956-ffa450edef68
2006-08-15 09:23:04 +00:00
Jacopo Cappellato
5b623d60ad
Modified the clean-data target to reflect recent changes in the svn repository:
...
now the data folder is no more removed (this was causing problems since the data folder is now stored in svn with two files in it), it is instead emptied (all the files created during db setup are removed).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431561 13f79535-47bb-0310-9956-ffa450edef68
2006-08-15 09:21:06 +00:00
Jacques Le Roux
0a6450309a
Patches from Marco Risalti : see Apache Jira OFBIZ-123.
...
They are intended to manage a part of Applications and Framework i18n
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431417 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 19:39:17 +00:00
Jacopo Cappellato
53e3f07062
The README file in the logs folder is now not removed when the clean-logs target is run.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431316 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 09:41:17 +00:00
David E. Jones
328b9943ba
Whoops, set default to postgres in last commit; have changed back to derby where it should be out of svn
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431162 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:22:10 +00:00
David E. Jones
b9c603e662
Added option to use binary type for blobs, configurable on the datasource element in entityengine.xml; this is mainly for Postgres and is necessary to use the BYTEA type for blob; I have tested this and it appears to be working fine; this should fix Undersun Jira #OFBIZ-334
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431161 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:19:12 +00:00
David E. Jones
36fd1e09cc
Whoops, fixed missing import for ModelEntity
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431034 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:37:52 +00:00
David E. Jones
f4fdfb1dc3
Fixed webtools envsetup.jsp to work w/wout partyId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431033 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:32:57 +00:00
David E. Jones
5fb99fdf2b
Updated VisitHandler to work w/wout partyId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431032 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:23:11 +00:00
David E. Jones
b70828cb10
Fixed a couple more places that need to work with/without partyId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431031 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:18:20 +00:00
David E. Jones
c6c78171c0
Made ServerHitBin work with or without partyId; fixed securityext build file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431030 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 13:09:30 +00:00
David E. Jones
0bd3edd5ab
Fixed package in login events; in LoginWorker changed to work with or without the party component
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431028 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:57:37 +00:00
David E. Jones
7d6ccca13b
Changed userLogin service to work with or without a partyId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431026 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:49:13 +00:00
David E. Jones
1cfc0d356f
Moved LoginServices to the common component because it is used by framework components, and doesn't depend on the application components
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431023 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:38:51 +00:00
David E. Jones
c84ed3c644
Moved the more core login methods from LoginEvents to LoginWorker as they don't depend on the applications stuff but are used by the framework stuff; also updated various text references to the new locations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431021 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:12:18 +00:00
David E. Jones
4540e40d2a
Separated applications and framework transforms into separate try/catch in case the apps aren't present
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431018 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:38:49 +00:00
David E. Jones
31fe1cbfea
Changed references to LoginEventListener to use new package name
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431017 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:30:07 +00:00
David E. Jones
a37eba072e
Moved LoginEventListener from applications to framework as it only depends on framework, and is also used by webapps there too
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431016 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:24:34 +00:00
David E. Jones
be69d0ce5d
Moved over a couple more fields from framework entities to extend-entity elements in applications to resolve dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431012 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:13:24 +00:00
David E. Jones
f0d498fc84
Cleaned up a few more framework entities to be independent from applications, including moving a couple of entities to the content and party components that probably should have been there from their creation
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431011 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:02:30 +00:00
David E. Jones
f34861df22
Small error message improvement when related entity is not found
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431010 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 10:44:52 +00:00
David E. Jones
5360305496
Implemented extend-entity for entity definitions to support adding field, relation and index elements to an entity; this is now also used to support further separation of the framework from the applications
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431009 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 10:36:00 +00:00
David E. Jones
2a1c33cc59
Added exception if no delegator passed in to JobManager, better than NPE
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430999 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 09:13:29 +00:00
David E. Jones
4c3ba19194
Fixed component name, was conflicting with example component
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430994 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 08:29:02 +00:00
David E. Jones
879262571b
Added example view-entity, including a complex-alias to test that; based on that in the Entity Engine fixed some stuff that is part of the caching code that was breaking things on startup; the conversion stuff that is part of the entity cache is now just disabled (and with a TODO in the code) for field aliases in a view entity that are complex aliases (ie made of multiple fields), to implement that more expression evaluation will have to be done
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430913 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 23:04:08 +00:00
Jacopo Cappellato
e26dea93ca
Implemented first version of xml export feature for form widgets.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430717 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 08:01:43 +00:00
Jacopo Cappellato
9c4a0da540
Very first draft of the implementation of fo widget styles applied using a properties file.
...
Now the Chart of Accounts report looks pretty good.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430511 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 20:08:24 +00:00
Jacopo Cappellato
380356c730
Implemented option to render the widget pdf report as portrait or landscape.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430420 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 16:16:35 +00:00
Jacopo Cappellato
0f5642c436
& character converted to &
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430333 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 09:23:50 +00:00
Jacopo Cappellato
bfdfa6e46b
Changed blank character code from " " to " " to make it work also with fo templates
...
Thanks to Christian Geisert for the patch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430317 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 08:49:23 +00:00
Jacopo Cappellato
a95b6e9092
Added support for select box rendering in fo widget forms: the selected value is shown.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430281 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 06:29:27 +00:00
David E. Jones
c177531b50
Added some handy methods to StringUtil for padding number strings and adding a number to a number string
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430253 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:19:05 +00:00
Jacopo Cappellato
2bb7fa616e
Small misc cleanups to the form widget pdf template.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430094 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:55:09 +00:00
Jacopo Cappellato
017027d1ac
Misc small improvements to the global widget decorator for pdf reports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430083 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:57 +00:00
Jacopo Cappellato
d0cf4510fc
First version of the class to render fo templates out of form widgets:
...
* a new FoFormRenderer class that implements the FormStringRenderer interface in order to provide a fo representation of a form widget definition.
* small change to ModelForm class (new getter method) needed because I have to read the form's list
* moved the initialization of the "formStringRenderer" object, from the ScreenRenderer class to the ScreenFopPdfViewHandler and ScreenWidgetViewHandler classes (so that the former can instantiate the new FoFormRenderer class and the latter the HtmlFormRenderer)
The FoFormRenderer class is far from complete:
* in single forms, the position attribute is ignored (nulti columns single forms are not still supported)
* all the style attributes from the form definitions are ignored
* in list forms, all the columns are rendered with the same size
* left/center/right alignment of cells' content is not supported
* field groups are not supported
* banner and image fields are not supported
* in general see the TODO comments near the methods that should be implemented
However we can now render both list and single forms in a nice PDF format without errors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429966 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 05:09:45 +00:00
Si Chen
0a589bb6f1
Change defaults of ModelFormField to be same as XSD and moved the dropdown box to before the entry field OFBIZ-64
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429909 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 01:09:54 +00:00
Jacopo Cappellato
a543d99790
New global decorator for simple pdf reports: it is composed of a small header with the current date, screen name and logo and a footer with number of page/pages.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429657 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 14:11:31 +00:00
David E. Jones
1ca55265cc
Changed to use TransactionUtil instead of the TransactionManager directly
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429598 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:30:40 +00:00
David E. Jones
f39198d6c3
Made change recommended by Scott Gray to move to better behavior when a mail store can't be connected to on startup, ie keep track of it anyway and just log messages over time about failure; I agree that it seems silly to give up on it for as long as the server is running just because we couldn't connect on startup; Apache Jira #OFBIZ-140
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429595 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:03:20 +00:00
David E. Jones
629af09f92
This should fix the MCA reload problem reported by Scott Gray; Apache Jira #OFBIZ-139
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429590 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 05:50:27 +00:00
Jacopo Cappellato
f4264ff60e
Simple global decorator for printer friendly screens (no logo and no application bar, header and footer).
...
A print button is also available at the top of the screen.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:06:57 +00:00
Jacopo Cappellato
358e81d2ca
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429337 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:26:07 +00:00
Jacopo Cappellato
b1ee07d69a
removeSpaces method was indeed removing digits.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:23:03 +00:00
Jacopo Cappellato
adfc40c71d
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 07:27:27 +00:00
David E. Jones
7f0bb66fdd
Applied patch from Marco Risaliti, plus formatting correction and a name improvement to avoid confusion with a object variable; allows view entities to get i18n'ed labels from their member entities; Apache Jira #OFBIZ-129
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429250 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:26:49 +00:00