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
1e517ca23c
Changed to not bug out when applications directory is not there, but instead just show a warning message
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430993 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 08:28:44 +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
David E. Jones
ae4994b3c2
Some improvements, mainly ordering; thanks to feedback from Fabian Gorsler and Eriks Dobelis in OFBIZ-115
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430710 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 07:25:33 +00:00
Si Chen
3e60b81912
Accidentally committed another UI label
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430611 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 01:15:05 +00:00
Si Chen
f8410b6257
Not sure why AmountApplied is translated to Amount to Apply, but that actually is the opposite meaning. Changed it to Amount Applied.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430610 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 01:12:41 +00:00
Jacopo Cappellato
12eda082ce
Added label file to the chart of accounts report.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430512 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 20:13:45 +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
Si Chen
46cc33b34a
Fixed bad link from marketing campaign roles page to partymgr viewprofile
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430434 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 16:48:57 +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
ecf15fe88f
Widget pdf report of the chart of accounts list.
...
The generated reports still doesn't look so nice, but we can use this screen to improve the generated fo template.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430354 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 10:42:52 +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
37c5b36e5a
Fixed bad bug in the cost component ratio used to calculate a unit cost for the inventory items generated decomposing a mkt pkg.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430250 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:14:32 +00:00
Jacopo Cappellato
a9926f52a5
Fixed rounding bug found by Si Chen.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430105 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 17:44:09 +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
Si Chen
ddce6ec6b0
Fixed bug where required OUT parameter wasn't being set in service getOrderedSummaryInformation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430082 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:18 +00:00
Jacopo Cappellato
2eb876901e
New pdf report for the agreement item's products screen: this is mostly an example of how we can get a simple pdf report from a form widget definition.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429971 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 05:35:55 +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
17f77e0953
Set some default values for lookup pages to avoid a negative first page
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429910 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 01:10: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
Si Chen
c2728273cd
Made email not required for order manager order entry customers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 00:41:27 +00:00
David E. Jones
2c131ffaf1
Added a log message when auth fails with some details as to why for debugging purposes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429747 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 17:25:19 +00:00
David E. Jones
3e02ea2f86
Fixed bug caused when the addparty feature was introduced; the request routing in ecommerce was bad because it skipped the shipping and tax calc, and the payment verification
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429721 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 16:37:45 +00:00
David E. Jones
ee7f36d989
Added countyGeoId to PostalAddress, and changed the TaxAuthority rate calc code to use it if populated to support county level taxes; note that this commit does not include UI or background service to populate the countyGeoId
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429697 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 15:49:13 +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
Jacques Le Roux
4828c91776
Forgot China ;)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429479 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 21:07:44 +00:00
Jacques Le Roux
75fd0715f9
Minor changes, mostly formating and other cosmectics...
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429478 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 21:05:00 +00:00
Jacques Le Roux
2184f911c3
A patch from Christian Geisert : the link to the Product Categories from Edit Tax Authority Product Categories was wrong.
...
Tested OK, thanks Christian.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429462 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 20:24:05 +00:00
Jacques Le Roux
7ec50b868d
The height of one button was too weak under Linux (was ok on Windows). With all default values.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429377 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 16:14:02 +00:00
Jacopo Cappellato
71d55474f1
Implemented printer friendly screen for the inventory level report.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429356 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:52:20 +00:00