Commit Graph
831 Commits
Author SHA1 Message Date
Jacopo Cappellato 2fe07f1528 Implemented support for the 'position' attribute in list based form widgets.
1) added new attribute,  'default-position', to the auto-fields-entity and auto-fields-service element: this is useful to specify a default position for the fields inherited by an entity or service definition
2) change the signature of two methods in the FormStringRendered interface (and classes that implement it), to pass the number of columns spanned (in header and item rows)
3) a lot of code has been refactored/modified in the ModelForm class: new support for position in list, code cleanups with no functional changes, bug fixes (including bugs reported in OFBIZ-1071 and OFBIZ-542), added comments to code, formatting fixes



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550168 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 05:09:41 +00:00
Andrew Zeneski a6c08b0df3 checked in by mistake..
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549647 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 23:35:28 +00:00
Andrew Zeneski 41bb3567be updated http client with additional settings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549635 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 22:26:44 +00:00
Jacopo Cappellato 1fa251b2eb Formatting fixes: tabs to 4-spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549505 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:04:32 +00:00
Jacopo Cappellato d2169fd325 When a password is updated, added check to verify that the new password is different from the old one.
Also moved a a few of labels that were in the wrong component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549443 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 10:20:43 +00:00
Jacopo Cappellato 20cc92ef7d Small label fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549435 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 09:02:20 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Andrew Zeneski beed45c130 updated test running to log more details about junit tests, also added new option -case=name-of-case to run just a specifc test-case.
java -jar ofbiz.jar -test -component=[componentName] -case=[caseName]



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548763 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 15:25:41 +00:00
Jacopo Cappellato 399fab0d33 Applied patch by Adrian Crum to implement User Time Zone Selection Capability.
OFBIZ-1079


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548646 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 08:08:53 +00:00
David E. Jones 1e71343812 Added little request to test https and client cert required requests, just shows the current date/time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548588 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 04:57:48 +00:00
Jacopo Cappellato cbf5ef5efc Small label fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548234 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 06:46:52 +00:00
Andrew Zeneski 8984a0ef7c added new abstract class for making xml-rpc tests easier; refactored the sample (glue) test to use the new abstract test (also used as an example)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547526 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:55:45 +00:00
Andrew Zeneski 134213198a tomcat now starts with test containers for HTTP requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547522 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:32:20 +00:00
Andrew Zeneski c95c48f870 offset the error/event message background color a little
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547485 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 01:56:44 +00:00
Andrew Zeneski 1a6c81da7a added new RpcClient class which handles all the transport configuration internally (simpler to use); updated the RPC glue test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547443 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:24:08 +00:00
Andrew Zeneski 3d856adeb2 added tx timeout to blocking test (to verify tx timeout)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547442 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:22:49 +00:00
Jacopo Cappellato 48d3898de7 Fixed wrong field name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546833 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 12:04:25 +00:00
Si Chen 25bcdaf745 Fix an upload encoding bug. OFBIZ-1072 from Krzysztof Podejma
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546286 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 21:03:39 +00:00
Jacopo Cappellato b6e773dd42 Applied patch from Daniel Martínez (OFBIZ-582) to geo data for Spain to avoid duplicated ids with the US ones.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546064 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 09:47:01 +00:00
Jacques Le Roux ddf6027bda Some french labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545715 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 09:00:03 +00:00
Jacopo Cappellato f1d33d64a0 New date/time util methods that take into account TimeZones from Adrian Crum (based on an initial contribution from Vinay Agarwal): part of OFBIZ-2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545695 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 05:58:25 +00:00
Andrew Zeneski 156058dfd9 added toGMTTimestampString() method from Anil Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545578 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 18:21:12 +00:00
Jacopo Cappellato 7ed37eb27d A bunch of i18n and i10n improvements by Marco Risaliti: OFBIZ-1062 and OFBIZ-1057
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:06:47 +00:00
Jacopo Cappellato 44f5f4d1dd Russian labels from Oleg Andreyev OFBIZ-1037
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
Jacopo Cappellato a690d76407 Applied patch from Peter Goron to update jdbm to latest stable release: 1.0
OFBIZ-575


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545447 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 07:47:50 +00:00
Andrew Zeneski d885200436 fixed tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545349 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 23:38:38 +00:00
Si Chen eac10a9496 Remove a couple of SecurityGroupPermission references which don't correspond to any SecurityPermission. I fixed this with a bug Pointed out by Ignatius Reilly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545234 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 16:31:42 +00:00
Jacopo Cappellato 9c916e816e Implemented first simple version of the Screen Widget Renderer for Fo (Formatting Objects): OFBIZ-809
It is now possible to decorate the screen definition with container and label elements.
For a poc see the agreement item product report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545225 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 15:58:26 +00:00
Jacopo Cappellato fff5ef6210 Applied patch from Adrian Crum (OFBIZ-1063) to move the system messages to a container outside of the main content area.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544794 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 10:05:47 +00:00
David E. Jones 42c83d59a0 Change to adjust for Derby bug with null values in a unique index; this setting just turns off the unique part of maually declared indices when set, as it is now by default for Derby; now the seed data loading and other things will work though WARNING: unique indices will not work with Derby; we don't use these much but we need to watch for it in testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544640 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 21:24:21 +00:00
Si Chen e57831ea58 oops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544338 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 00:56:39 +00:00
Si Chen c050364083 Return an XML-RPC fault on service error in the XML-RPC event handler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544329 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 23:51:41 +00:00
Jacopo Cappellato 3f6d86c879 Applied patch from Adrian Crum to simplify outermost HTML containers: OFBIZ-1061
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544095 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 09:00:50 +00:00
Jacopo Cappellato aef48a6d77 Removed unused code that was causing a warning message while building OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543417 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 07:48:44 +00:00
Jacopo Cappellato f4c5f55894 Fixed warnings after upgrade of common* jars related to a deprecated class used to manage file upload.
Added a new folder (runtime/tmp) to store temporary files during upload and added new properties to configure the file upload to the general.properties file.
Issue OFBIZ-942.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543404 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 06:45:10 +00:00
David E. Jones c0b1dfc8f0 Changed default for alias-view-columns from true to false
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@542665 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 21:52:22 +00:00
Andrew Zeneski cfa218101c added Apache XML-RPC client extension to support passing specific aliases certificates to RPC servers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@542332 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 21:57:01 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
Andrew Zeneski 8448021670 fixed a few possible NPE; stopped post-proc from looping
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541931 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:23:53 +00:00
Andrew Zeneski b6ee74c3ed fixed to allow events to return 'null'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541927 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 18:51:18 +00:00
Andrew Zeneski 083ebf6c81 implemented a trust any SSL client
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541695 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 15:48:09 +00:00
Andrew Zeneski 6cf5ef16e6 added convenience for calling the doRequest method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541673 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 14:43:15 +00:00
Jacopo Cappellato 068789ea9c Applied patch from Scott Gray as a temp fix to disable all the roundings done in the ui.
This will help to expose all the processes where rounding should be better handled.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541209 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:11:12 +00:00
David E. Jones fd80b38061 Small change so this message is on the info level as it is mostly for developer info during testing and doesn't mean much in production
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541155 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:26:40 +00:00
David E. Jones 18ef0d30c3 A few changes to better handle errors and to log less information that isn't so critical by default, ie use more verbose instead of info; this is based on some production log reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541022 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:47:11 +00:00
Andrew Zeneski 880973970b updated log4j configuration; disabled socket output by default (example still there); turned off blocking when the async buffer is full
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541008 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:19:42 +00:00
Jacopo Cappellato 96c434b92d Applied patch from Adrian Crum to render languages in the language drop down box in the native language.
OFBIZ-1003

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540843 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 05:12:48 +00:00
Si Chen e45ca80d89 Fix for OFBIZ-1010 where a URI like ~pcategory/LookupPartyName would crash.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540773 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 22:22:14 +00:00
Jacopo Cappellato 1df72bc377 Applied patch to html encode the content of textareas. From OFBIZ-1002
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540456 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 07:39:04 +00:00
Hans Bakker c8f9d0e52d remove the alert screen for not supported browsers in the whizzywig editor. In these browsers however html can still be edited normally
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540386 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 01:11:35 +00:00