Commit Graph
3497 Commits
Author SHA1 Message Date
Jacques Le Roux 45b97b7861 Remove a C/P duplicated snippet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829525 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:27:59 +00:00
Jacopo Cappellato 1755bb5560 Added demo truststore file to be used by client applications invoking services using the RemoteDispatcher (see for example the ExampleRemoteClient class).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 01:00:28 +00:00
Jacopo Cappellato 49da966a43 Fixed typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829466 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 23:28:27 +00:00
Jacopo Cappellato 1a6d504e5a Anonymous UserLogin is referenced by services in various components, so I have moved it into a file that is loaded with seed data; also removed unnecessary password and set is as not enabled since it will not be used to log into the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829464 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 23:14:59 +00:00
Bruno Busco c3ac175016 Part of OFBIZ-3067 - Menus and form widget files location
Ecommerce, Webtools and hhfacility components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829443 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 20:20:18 +00:00
Jacques Le Roux 1bf15fc0a9 Palliative : to show how to use it... for now...
Sorry only in English and French

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829084 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 14:55:40 +00:00
Jacques Le Roux 88e2f9ef3e A patch from Bruno Busco "Locale strings for portal pages" (https://issues.apache.org/jira/browse/OFBIZ-3068) - OFBIZ-3068
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828936 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 05:30:38 +00:00
Adrian Crum 0c084368db Added a new CSS class "page-title" intended to be used for the page title in the main content area of the page. Patch provided by Bruno Busco, https://issues.apache.org/jira/browse/OFBIZ-3044 with a minor modification by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828882 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:38:57 +00:00
Jacques Le Roux 4f40f26228 A patch from Erwan de FERRIERES " Misc. internationalization on projectmgr" (https://issues.apache.org/jira/browse/OFBIZ-3069) - OFBIZ-3069
Some translations related to timesheet's status


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828845 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 20:49:08 +00:00
Scott Gray 8a46a8ae24 Fixed a bug in the RouteEngine service engine (engine="route") where no ECAs were being triggered when running a route service asynchronously, this is caused because in general ECAs aren't triggered until a service is called synchronously but the RouteEngine was simply returning instead of doing a runSync on a separate thread. Fixed this by changing the RouteEngine to extend the GenericAsyncEngine and letting it handle the async calls in the same way it does for other engines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828839 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 20:27:10 +00:00
Jacques Le Roux 33ad7b2cc0 A bit of internal documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828804 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 18:10:35 +00:00
Jacques Le Roux e779dea4a9 Oops, forgot this unversioned files in previous commit (about -pos and -both)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828798 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:49:39 +00:00
Jacques Le Roux 1f46c6f5cc Now that it works OK, cleans things a bit about -pos and -both
Needs OFBiz to be build before it works (classloader)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:45:22 +00:00
Scott Gray d360614c52 When scheduling a service to be run do it within it's own transaction.
This resolves a bug I encountered where a long running (couple of minutes) service was scheduling jobs but the poller was unable to get a lock on those JobSandbox rows which prevented the poller from queuing any jobs at all for the duration of the service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 03:19:21 +00:00
Jacques Le Roux 6baf037be2 A patch from Erwan de FERRIERES "Internationalization of the "Last system notes" function" (https://issues.apache.org/jira/browse/OFBIZ-3058) - OFBIZ-3058
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826614 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 09:03:15 +00:00
Jacques Le Roux f55a88669d A patch from Bruno Busco "Moving from container-based screenlets to widgets" (https://issues.apache.org/jira/browse/OFBIZ-3050) - OFBIZ-3050
Bruno : I have completed the change in ALL ofbiz XML files. In the attached path I included the BI files that I cannot commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826513 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 20:11:57 +00:00
Adrian Crum 6281f15b38 Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +00:00
Jacques Le Roux 20a3ba3f33 A patch from Bruno Busco "The screenlet Global decorator is not needed any more" (https://issues.apache.org/jira/browse/OFBIZ-3048) - OFBIZ-3048
In the attached patch I just removed the "screenlet" global decorator that is not used any more since we have now the screenlet widget.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826437 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:42:51 +00:00
Jacques Le Roux 2aae4156ec Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 11:29:25 +00:00
Scott Gray aa6d7bcd67 Catch ClassCastExceptions in <store-value/> operations, these will occur if you have a null GenericValue (perhaps from a lookup that returned no results), set some fields on it and then try to store it. What you actually have at that point is a FastMap created when you set the fields.
Also added use of the utility MethodContext.setErrorReturn(String, SimpleMethod) rather than manually adding errors to the environment context.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826322 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 00:34:29 +00:00
Jacques Le Roux c6c27c59e4 This was working, because of the way logical font names works in Java.
But could lead to ambiguities letting the wrong file name in xpos.properties.
Anyway symmetry is beautiful, in code as in other places.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:35:02 +00:00
Jacques Le Roux 8655543761 Actually there was no AWT bug. This is fixed in XuiContainer.java.
Note that this works but not the 1st time. 
Because it dynamically changes the xpos.properties file but XUI has to load it.
I tried using setPropertyValueInMemory, that I introduced recently for dynamic password changes, but it did not work.  I guess XUI would have to reload it, but did not try this way... yet...
So if you want it to work from the start, as for the Language parameter, you have to set it in xpos.properties by hand before launching the OFBiz-POS
Anyway I will rewrite a complete documentation about that and other things.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826303 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:10:34 +00:00
Bruno Busco 12b525b77b Changed container-based search screan with FindScreenDecorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826108 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:13:52 +00:00
Bruno Busco bbe0252048 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826107 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:11:55 +00:00
Jacques Le Roux 08d0e9875c A patch from Erwan de FERRIERES "Proposal on French translations" (https://issues.apache.org/jira/browse/OFBIZ-2958) - OFBIZ-2958
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825903 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:13:36 +00:00
Jacques Le Roux 6a652db7a3 New swipWithCard property in parameters.properties, only used in ClientProfile.java for card number field for now
+
* Suppress serial warning
* Better French translation
* replace ShowKeyboardInSaveSale by showKeyboardInSaveSale in Java code

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825444 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:19:40 +00:00
Jacques Le Roux eac20099b0 I stupidly committed with "en" in 1st place :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825185 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:42:51 +00:00
Jacques Le Roux 523763730f A patch from Pierre Smits "Remove old currencies of EURO countries." (https://issues.apache.org/jira/browse/OFBIZ-3034) - OFBIZ-3034
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825182 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:36:56 +00:00
Jacques Le Roux 1f9804b03b This slipped in with r825046. Thanks to Erwan who noticed it in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825057 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 08:38:35 +00:00
Jacques Le Roux 8bfd6d2c75 A patch from Erwan de FERRIERES "Translation of the OFBiz help system in French" (https://issues.apache.org/jira/browse/OFBIZ-3036) - OFBIZ-3036
Here is the beginning of the translation for the OFBiz help system in French. This is only the root page.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825046 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 07:36:33 +00:00
Jacques Le Roux 5dbe1fe524 I put a modified file in, this fix it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824967 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 22:58:19 +00:00
Jacques Le Roux 7beb1ad4a9 In this case I don't need to persist the property.
This changes just do that : set temporary the property in memory, and reset it back to its original value

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824937 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:37:49 +00:00
Jacques Le Roux a6fefdbeab When working with the POS I often need to use it in conjunction with back-end and sometimes even eCommerce.
This Windows batch file and container configurations just allow that. 
    startofbizBoth.bat loads the POS+EPR+eCommerce
    startofbizPos.bat loads only the POS
I did not care to write scripts for Linux yet because I do not have any needs.
I will certainly later if nobody has done it before...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824935 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:30:00 +00:00
Jacques Le Roux 78314a684f Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824117 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:38:48 +00:00
Jacques Le Roux b69054a8ab Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824115 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:33:09 +00:00
Bruno Busco c3b196b5c4 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823958 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 21:53:14 +00:00
Jacques Le Roux e35a3b0105 Remove duplicates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823954 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 21:39:23 +00:00
Bruno Busco 8097c21171 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823861 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 14:41:14 +00:00
Bruno Busco d711af1dd7 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823857 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 14:09:08 +00:00
Bruno Busco 6926457840 Added TabBars menus for the WebTools application. (OFBIZ-3020)
The WebTools main screen is still untouched so that all screens can be reached in the same way as before.
When we are OK with the new screens grouping under menus we will remove the main screen as it is now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 06:46:57 +00:00
Adrian Crum 9ee18d37c5 Updated client code to use the new Delegator factory method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823633 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 17:44:24 +00:00
Bruno Busco 907c48eae6 Fixed HTML markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823558 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 14:07:28 +00:00
Jacques Le Roux 8221fd7899 New feature : in the POS adds the possibility to create a client profile (for now : name, email, phone#, card id for promo), email is also used to create an user login with card id as pwd (login/pwd couple follows changes).
The card id is stored in the Person.memberId field. It's used as a promo code. So if the same id is defined as a promocode, any promotion using this promo code will be added to the cart when you select a client from the Client Profile screen. Else a message will pop when selecting the client.
The idea is to generate promo codes and to use them as card id when creating the physical card.

The Client Profile screen (from Promo button in promo panel) allow you to search for all client (all fields empty) or to focus on a client (at least one field files). For now the search use a stric equals but I plan to allow also contains (ie %like%)
You may edit the client profile and as explained above select a client to apply promotions related to his/her card id.
I plan to add a status bar at bottom of the POS screen to see promocodes used (you may still enter arbitrary promo code with the Promo Code button) or even maybe rather the related promotions (but I doubt there will enough place).
The promo code is used as long as the cart is open.

There are also some generics enhancement in PosTransaction not all related to this new feature.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823475 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 09:24:54 +00:00
Bruno Busco 5a89692be7 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823416 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 06:04:13 +00:00
Adam Heath 7f94829d66 Don't use the internal CacheLine value iterator, instead iterating
over the keys, fetching the value, and then removing when it matches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823319 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:49:17 +00:00
Adam Heath f4ce5e6276 Remove unneeded CacheLine import.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823317 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:48:43 +00:00
Adam Heath 05f7b61a95 Generics markup for service method signatures.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823313 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:39:32 +00:00
Adam Heath d9b4865da7 Misssed a few createCache calls, bother.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823299 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:51:50 +00:00
Adam Heath 2275cb5b78 Don't create CacheLineTable each time setPropertiesParam is called.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823298 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:49:57 +00:00
Adam Heath 3162462a72 Remove protected method, that isn't used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:38:29 +00:00