Commit Graph
234 Commits
Author SHA1 Message Date
Jacques Le Roux b61b18b490 A patch from Daniel Martínez "Make user input change background colours of formulars" (https://issues.apache.org/jira/browse/OFBIZ-660) - OFBIZ-660
Note : only when the change comes from calendar or lookup. I will revert if it annoys somebody...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603893 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 11:40:07 +00:00
Adrian Crum 5b7f4024ad Improved error handling in ScreenFopViewHandler.java. Original error handling was:
Try to render screen using fop
  If that fails, try to render error message using fop
    If that fails, throw an exception (results in blank screen)

The new error handling is:

Try to render screen using fop
  If that fails, try to render error message using HTML screen widget
    If that fails, log a debug message


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603703 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 18:51:53 +00:00
Jacques Le Roux d81e21d5e2 A patch from Fabien Carrion "Correct a problem with calendar window popup" (https://issues.apache.org/jira/browse/OFBIZ-1251) - OFBIZ-1251
Specific to Firefox and the extention Tab mix plus activated on enable single window mode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602586 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 00:02:17 +00:00
Adrian Crum 962ab2ef79 Added new FOP templates and decorator. The new FOP decorator operates more like the screen GlobalDecorator. Parameters can be passed to templates via the layoutSettings Map, and there is an assortment of standard page size templates.
This improvement was proposed in Jira - https://issues.apache.org/jira/browse/OFBIZ-1410. Many thanks to Jacopo for his great suggestions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602516 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:25:08 +00:00
Jacques Le Roux 703bafe452 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600355 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 18:44:18 +00:00
Jacques Le Roux e56f73b1e1 Where RBE proves its usefulness (though CMSSite seems not yet used)
I double-checked changes in rev 600214. Just some instability when opening already open files with RBE outside of RBE and saving them without having saved files in RBE before

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600270 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 11:11:53 +00:00
Anil Patel cf5eef5c10 moved screenxml and screentext handlers from facility controller to common-controller so that they are available in wider scoop.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600251 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 06:00:51 +00:00
Jacques Le Roux 828a4a3203 This fixes a problem in dropdowns using CommonGoTo (not localised). I moved CommonGoTo from eCommerce to Common because no components should rely on Ecommerce which is no really a "core application".
I used RBE to do the work (a breeze). There are a lot of false changes but don't worry, I checked them all (not a breeze). 
There are only 2 types of false
. properties not sorted (they are all sorted now)
. properties using lowercase for UTF8 encoding

I still thing that all properties should be sorted and should be using uppercase to avoid false changes. Anyway maybe soon we will not relay anymore on property files and this kind of inconveniences will not appear anymore.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600214 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 23:39:37 +00:00
David E. Jones 26e7099538 Applied patch from Adrian Crum in Jira OFBIZ-1442 to support a new format for localization in XML files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599356 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 09:37:10 +00:00
David E. Jones 39e6c63453 Added Uoms for special cases; technically the Each uom is assumed if there is no uom, but with this can make explicit, or qualify wi no uom specific, but with this can be explicit or qualified further with something like the per person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598575 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 09:53:04 +00:00
Jacques Le Roux 0dbf1e9425 A patch from Paulo Cristo "ramework/base and framework/common translation to portuguese" (https://issues.apache.org/jira/browse/OFBIZ-1390) - OFBIZ-1390
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596576 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 08:54:29 +00:00
Anil Patel e0cd2e1738 Providing EventMessages as a screen by itself. Added it to view in controller so it can be used in response to error condition in request process.
It will come handy when partial screen is updated in response to Ajax request.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595883 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 00:27:12 +00:00
Andrew Zeneski 925185eabc service to check status of file uploads
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594443 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 05:59:47 +00:00
Jacques Le Roux 76d9f6bfc2 A patch from Adrian Crum "Improved UtilDateTime.java, Framework Default TimeZone Suppor, with getMonthNames also" (https://issues.apache.org/jira/browse/OFBIZ-1377) - OFBIZ-1377
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594088 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 11:50:09 +00:00
Jacopo Cappellato 2659c05f3d Fix to prevent grammar validation error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593741 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 07:07:27 +00:00
Jacques Le Roux d538d9e02f A patch from Christian Geisert "New geos for Germany: federal states (Bundesländer)" (https://issues.apache.org/jira/browse/OFBIZ-1386) - OFBIZ-1386
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@592012 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 14:30:59 +00:00
Jacopo Cappellato 909c8d9b6e Set the base url for FOP for resolving relative URLs: the default value is 'http://localhost:8080'. Issue OFBIZ-242.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591256 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 08:12:14 +00:00
Andrew Zeneski c68348b42b applied patch which changes the check for existing userLoginId to be case insensitive
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590757 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:21:17 +00:00
Jacopo Cappellato 351b2b2c41 Moved Securityext labels from the applications to the framework to resolve because they are used by the LoginServices in the common component.
We should probably rename the files (and the variables that reference them), but for now I've just moved them.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 06:53:05 +00:00
Jacques Le Roux ecb48d58b5 A patch from Adrian Crum "CommonPermissionServices doesn't display service name in permission error message" (https://issues.apache.org/jira/browse/OFBIZ-1371) - OFBIZ-1371
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589134 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 15:24:35 +00:00
David E. Jones 75c26763e5 Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Jacopo Cappellato a786fd7032 Applied patch from Adrian Crum to remove redundant permission checks.
OFBIZ-1353

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586453 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:46:20 +00:00
Jacopo Cappellato 989624f0f5 Applied patch from Adrian Crum (OFBIZ-1349) to remove a redundant security check (recently added to the app bar) and documentation for the base-permissions attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585879 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:03:06 +00:00
Adam Heath c69096e93a Switch as much as possible from StringBuffer to StringBuilder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585805 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:56:02 +00:00
Adam Heath 2ff7a8a575 Make use of the single-arg variants of makePK/makeValue, removeAll,
and clearCacheLine


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Jacopo Cappellato e4723bd5b8 Fixed incorrect logic, introduced in rev. 584400, that was causing a problem in the main application bar: all the applications were visible to a user with the OFBTOOLS permission.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585432 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 10:00:52 +00:00
Jacopo Cappellato 449a91b728 Geo data for India. This is a modified version of the patch submitted by Vikash Anand in OFBIZ-1040
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585403 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 08:06:42 +00:00
Jacopo Cappellato e98a175f77 Applied patch from Adrian Crum to enhance support for RTL languages: if the user has selected an rtl language, then the rtl style sheet will be cascaded. OFBIZ-998
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585398 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:46:56 +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 4f33d28293 A patch from Adrian Crum "Main navigation won't display links for apps when user has only _ADMIN permission" (https://issues.apache.org/jira/browse/OFBIZ-1241) - OFBIZ-1241
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584400 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 13:37:01 +00:00
Jacques Le Roux 6404f9a8b1 A patch from Adrian Crum "Improved Common Permission Checking Simple Method & Messages" (https://issues.apache.org/jira/browse/OFBIZ-1246)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584399 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 13:35:05 +00:00
Jacopo Cappellato f0abf80501 In the 'convertUom' service the 'convertedValue' output parameter is now optional: if no converion is available, then null is returned, not an error (and a rollback etc...).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 08:12:07 +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
Jacques Le Roux b5a7d153c6 Changed name as suggested by Adrian and David in OFBIZ-1230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582717 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:25:12 +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 061dc78bb2 Forgotten to include this in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579921 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:45:39 +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
Andrew Zeneski 2efbbe6cca fixes possible NPE (from Anil Patel)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579088 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 06:29:34 +00:00
Jacques Le Roux 99018818b3 A patch from Bilgin Ibryam "Added a few missing UiLabels to order component" (https://issues.apache.org/jira/browse/OFBIZ-1225) with some more changes from my own
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574072 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 20:40:43 +00:00
Andrew Zeneski 24c6afd4ab added missing ui label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573664 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 18:38:01 +00:00
Andrew Zeneski 6548a71c1e implementation (from Anil Patel) to support restricting changed passwords to not allow the use of a previous password (the length of tracking is configurable in security.properties)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573458 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:58:35 +00:00
David E. Jones 1bd07f8dd8 Small message change so you know which permission is being printed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573137 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 03:02:18 +00:00
Jacques Le Roux e0504ef18d A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" (https://issues.apache.org/jira/browse/OFBIZ-1223)
This patch définitively corrects the problem David raised + some cosmetic UI changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572375 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:56:51 +00:00
Jacques Le Roux 02e0beac3c Revert 572172 on David's advice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572322 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 13:24:16 +00:00
Jacques Le Roux 504c87ddca A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" (https://issues.apache.org/jira/browse/OFBIZ-1223)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572172 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:46:01 +00:00
David E. Jones 772fb21047 Added generic invalid status change message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570036 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:36:30 +00:00
Si Chen 4847d30ca7 Not a political statement, but mail will not get there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569454 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 16:47:14 +00:00
Jacopo Cappellato 77c9e6e6a6 reverted part of 549443 because it is incomplete as is. Thanks to David Jones for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 04:29:46 +00:00
Jacques Le Roux c41674ea0b A patch from Adrian Crum "Recent Change To appbar.ftl Breaks App Navigation" (https://issues.apache.org/jira/browse/OFBIZ-1197)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564940 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 17:05:21 +00:00
Si Chen 0f622e6b45 A small change which makes it possible to have a webapp mounted at / show up on the appbar correctly. This worked ok for me but let me know if there are problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564733 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 19:47:27 +00:00