Commit Graph
585 Commits
Author SHA1 Message Date
Andrew Zeneski 75fcdd6d46 added method to get the total number of defined parameters for a service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522929 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:28:33 +00:00
Jacopo Cappellato 257f417108 Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00
Jacopo Cappellato f6931798ff Applied patch from Adrian Crum (OFBIZ-844) to update fixed asset calendar style sheets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522825 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 09:13:47 +00:00
Jacopo Cappellato fc617a1cd3 Removed unused files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522802 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 07:25:17 +00:00
Jacopo Cappellato 1b382bf416 Removed empty files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522799 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 07:11:04 +00:00
Jacopo Cappellato 8460e851ab Refactoring of the webtools application: all the remaining region pages have been migrated to screen widgets, with jsp artifacts transformed in bsh/ftl ones. Many thanks to Adrian Crum (et others, see OFBIZ-771 for details) for this work; I've also removed a few more files no more needed after the above changes. This is a Commit-Then-Review commit, I did quick tests and everything looks fine (there is place for improvements on layout, especially in the entity maintenance screens), but since all these changes are about the ui, I think it is not so bad to follow this approach and let the community to do more tests on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522793 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 07:04:31 +00:00
Jacopo Cappellato 6a72e9cb80 Applied patch from Oleg Andreyev (OFBIZ-847) to update Ukranian currency from UAK (out of validity since 1996) to UAH.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522765 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 05:46:21 +00:00
Jacopo Cappellato 60d36ee7c8 Applied patch from Adrian Crum (OFBIZ-839) that fixes the calendarstyles.css file so that it will cascade correctly with maincss.css.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522317 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 18:13:08 +00:00
David E. Jones 428ab6b0d3 Added a bit of code to put FALSE in an SQL where clause instead of an empty IN set when that is detected; not sure if this is the best way to go, but it should be close to what we want and avoid a database error as happens now; chose FALSE because even though a value in the db could either always or never match an empty set, the never match seems to make more sense because if you would normally select various values and select none, you would be excluding all, unless you consider selecting none to mean that you want to include everything...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522000 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 10:00:57 +00:00
David E. Jones 0795cd0be1 This is a fairly complete rework of the UtilCache use and the loading code in the service engine; a reload of service definitions should now be possible by clearing the cache; also removed a bunch of the other caches that were either redundant and annoying, or dangerous because clearing them would break things, perhaps unknowingly; these are some problems and really messy weird code that has been around for quite a while, finally got sick of it and decided it needed to go
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521999 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 09:52:10 +00:00
Si Chen a7d812f630 Fix entity engine's upper function to allow searches for names with an apostrophe in them. From Leon Torres. OFBIZ-837
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521954 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 00:37:50 +00:00
David E. Jones 82547889be Fixed extra equals sign type reported by Sebastien Schirmer, part of tomcat session rep config
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521871 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 19:04:58 +00:00
Jacopo Cappellato 80d34638d7 This new version of the sendPrintFromScreen service is now working.
A lot of improvements can be done (in the way a printer is selected, in the printer options etc) but this is a good start.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521601 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 06:49:50 +00:00
Si Chen bf47327e39 Fix drag and drop funcitonality in dojo table rows. these are fixed in a different way in dojo 0.4.2, but instead of upgrading to new dojo we just fixed it here. From Chris Liberty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521520 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 23:02:38 +00:00
Andrew Zeneski 0620606b87 implemented XML-RPC to service engine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521060 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 00:51:42 +00:00
Andrew Zeneski ec22d58cac implemented new data loading arguement -component to limit data loading to a single component (by name)
example:
java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:48:21 +00:00
David E. Jones a464bda0e1 Changed advanced search page in catalog manager to support list price from/thru, feature and category include/exclude/always
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520479 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 16:56:48 +00:00
Jacopo Cappellato 85f85361b5 Added new field ('authUserlLoginId') to the JobSandbox entity to store the user login of the user that submitted the async job. The content for the field is retrieved from the context (using the 'userLogin' object, if available).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520300 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 07:20:30 +00:00
Jacopo Cappellato a3d44a07db Applied slightly (different patch) from Stefan Huehner to fix wrong npe check. OFBIZ-776
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519589 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 10:52:21 +00:00
Jacopo Cappellato 99794f9678 New language files from Mohamed Amine AZZI "Translation of Ofbiz to arabic" (OFBIZ-804).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519309 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 13:26:31 +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
Si Chen 16263e4fb4 Make appbar background color use a CSS. From Adrian Crum and Eric Schwartz. OFBIZ-646
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519070 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 17:21:24 +00:00
Si Chen 0e99a19e8c Fix up styles of entity sql query. From Adrian Crum, OFBIZ-821
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519052 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 16:35:05 +00:00
Si Chen 00f6d3a7b8 Fix critical bug with multi-select form with patch from Scott Gray. OFBIZ-812
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519046 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 16:28:23 +00:00
Jacopo Cappellato e57ff38045 Applied patch from Adrian Crum to fix a layout issue in the order entry page.
Issue OFBIZ-807


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518696 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 17:14:54 +00:00
David E. Jones 939fca3962 Chagned ofbizContentUrl to not NPE when there is no request in the context; now tries to do its best with the standard content prefix from url.properties; this was happening in the Order PDF with an image URL which should probably not use ofbizContentUrl in the first place, but now will at least work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517731 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:31:24 +00:00
Si Chen 2e79ee5e69 OFBIZ-793: Receive inventory verified against purchase order
- Adding a tab in shipment screens to receive purchase order items one unit at a time, while checking quantities against ordered quantity and previously received quantity for the purchase order

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517398 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 21:12:48 +00:00
Jacopo Cappellato 29a2f0044a Applied patch from Adrian Crum (OFBIZ-795) with misc layout improvement for form widgets.
Some minor formatting fixes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516668 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:10:31 +00:00
Andrew Zeneski d7e7a60f60 created a simple string output stream; funny how java doesn't come with this!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516635 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 01:35:20 +00:00
Jacopo Cappellato dfb82050a9 Misc improvements to the css styles by Adrian Crum (OFBIZ-782).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516473 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:22:27 +00:00
Jacopo Cappellato ceb6a3d411 Small layout improvements by Adrian Crum (OFBIZ-692).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516468 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:17:59 +00:00
David E. Jones 761e6161bf Added a bunch of stuff to do a pseudo converstion from objects to List and Set by creating a List or Set and putting the object in it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516321 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:46:51 +00:00
Andrew Zeneski c16b36a0de implemented multi-select
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516319 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:28:10 +00:00
David E. Jones 1a00b7bc7e Made check type field more useful with the options thingy underneath it; this may/will break old usage, if it ever was used...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516317 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:03:06 +00:00
David E. Jones 679f708b29 Uncommented test-suite that I commented to make things faster to test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516272 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:52:31 +00:00
David E. Jones b5a7493883 Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
David E. Jones 5b21bea3ca Changed service dispatcher name to not interfere with main name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516258 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:41:46 +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
Alfred Maxwell Byers 54789c1eca Added RenderContentTransform which does both content and subcontent rendering.
Linked to it in FreeMarkerWorker, but did not remove other transform defs.
This has not been tested - will be doing that now - just making available to other hackathoners.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516168 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:32:39 +00:00
Andrew Zeneski a95b3a70d9 refactored renderContentAsText to invoke content services when called; now requires a dispatcher to render content; all methods using this have been updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516158 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:46:09 +00:00
Andrew Zeneski 92fc817dfa changed resourceDescription to optional; will get set if not passed in the service engine BUT needs to get passed validation first
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:44:55 +00:00
David E. Jones 821e4438e1 Added startTest and endTest calls, as per Joe's patch in OFBIZ-784
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515889 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:01:52 +00:00
David E. Jones 9dfc0f8847 Added isNotEmpty method for Object, alternative to patch proposed by Joe Eckard in Jira #OFBIZ-785
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515877 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:24:35 +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 ebf8008f07 Applied patch from Joe Eckard to fix error message list handling; small change to use FastList instead of LinkedList; Jira #OFBIZ-792
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515870 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 00:56:54 +00:00
Hans Bakker daaf5676fd some strange characters removed in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515408 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 01:19:51 +00:00
Hans Bakker 91366ffcfc add dutch provinces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515405 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 01:15:59 +00:00
David E. Jones ba9034287d A couple of refinements based on conversation with Joe about this new implementation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515391 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 00:22:35 +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
David E. Jones ed67ae0bd7 Changed EntityDataAssert to throw exceptions so that calling method has more control over it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515285 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 20:27:36 +00:00