Commit Graph
2896 Commits
Author SHA1 Message Date
Jacopo Cappellato ad8de3b8b6 Modified some of the form rendering method to output to a Writer instead of a StringBuffer: this will allow form widgets to be used to process large lists (not paginated).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@612492 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:46:32 +00:00
Jacques Le Roux c342f744b2 Add checkIndexes in checkDB to be able to use check-indices-on-start="true" on entityengine.xml
Replace // TODO: also check the declared indices on start, if the datasourceInfo.checkIndicesOnStart flag is set

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611626 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 19:40:26 +00:00
Jacques Le Roux 5ac9e1bd1d Oops... Reverted trunk in place of release
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611280 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:53:20 +00:00
Jacques Le Roux ddb461f3cb Reverted from previous commit merged automatically from trunk to merge changes by hand now...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611275 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:45:36 +00:00
Scott Gray 11e8f68718 Workaround a problem where DateFormat parses 00:00:00.2 to 00:00:00.002
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611102 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 08:20:03 +00:00
David E. Jones 5b83a1eb8b Improvement to error message to better describe what is happening when this value isn't found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610472 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:28:02 +00:00
Adrian Crum 7d9b622afc Fixed problem with simple method call-service operation, reported by Chris Juettner on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610440 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:32:21 +00:00
Adrian Crum 43e7c199dd Properties file resolver fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@609173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 16:44:09 +00:00
Adrian Crum a14add5e9a Added CommonOpen to CommonUiLabels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608931 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 17:23:27 +00:00
Adrian Crum a9736740ec Added "expanded" and "collapsed" <li> styles to screenlet-title-bar style, useful for rendering collapsible screenlets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608923 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 17:10:22 +00:00
Scott Gray 2911048a6f fix my last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608752 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:59:35 +00:00
Scott Gray 1c36c726d6 Use a Set when adding layoutSettings.javaScripts to the header so that each script is loaded only once
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608747 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:07:59 +00:00
Scott Gray 66523651b4 When using auto-fields-service in the form widget, whether a service parameter is optional or not is now carried over to the form field being required or not, obviously required = !optional.
Also when overriding a form field you can now override whether the field is required or not.  This involved updating the form widget schema to remove the default value, so it won't have any effect until I update the website.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608730 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 03:40:39 +00:00
Jacques Le Roux d3669ceeee A slightly refactored patch from Chris Howe "visit tracking should default to on" (https://issues.apache.org/jira/browse/OFBIZ-1554) OFBIZ-1554
Maybe the title could have better been "Allow requests to provide guidance on tracking"

Refactoring : one liner syndrom, but note I kept uriString : not totally affected, some brain remains. I also wondered if keeping appStat and appVisit could provide some kind of information but finally chose to do like it was already done in lines just below. This note only to follow the discussion we had on this topic in dev ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608574 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:52:27 +00:00
Adrian Crum 6dcaa603bd More refinements to properties file resolving. Many thanks to Scott Gray for his feedback.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608571 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:45:43 +00:00
Adrian Crum aff0cffce9 Fixed properties file resolver in new UtilProperties code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 02:50:58 +00:00
Adrian Crum 987b444bdf Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:41:16 +00:00
Scott Gray f022a2e134 The menu widget's hide-if-selected wasn't working, turns out that ModelMenu's currentMenuItemName was never being set, so fixed that and changed ModelMenuItem.isSelected() to make use of it as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607999 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 04:04:22 +00:00
Scott Gray e73aafe89a Fixed a problem when a property isn't found in the bundle, the bundle throws an exception which wasn't being caught. Reported by Chris Lombardi in the user list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607848 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 14:08:07 +00:00
Scott Gray 996202bf95 Finally got around to getting rid of those annoying xml validation errors, should resolve OFBIZ-244 although I didn't test specifically for that error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607833 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 12:53:58 +00:00
Scott Gray 474906df72 Renamed ExampleXmlUiLabels.xml to ExampleUiLabels.xml, it was either that or rename all the references in the minilang services but this seems to make more sense.
I used Subclipse to rename the file so hopefully it comes through as a rename rather than delete and add

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607828 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 11:44:00 +00:00
Scott Gray 9883a45efe Fixed a small problem with the new xml uiLabels, fail-property in minilang wasn't able to retrieve any xml properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607823 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 10:50:01 +00:00
Scott Gray 6155c32d9e Fix small bug, wrong default map name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607805 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 05:37:15 +00:00
Adrian Crum 708c353436 New methods for UtilDateTime - get period end Timestamps. The new methods are needed for the forthcoming <set-calendar> simple method operation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607776 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 21:02:41 +00:00
Adrian Crum a1e21d498e Final change to UtilProperties.java, based on work in https://issues.apache.org/jira/browse/OFBIZ-1485.
The ResourceBundle cache is now managed by the custom ResourceBundle class - which reduces memory used and also allows for better properties file cache clearing. Clearing the "properties.UtilPropertiesBundleCache" cache works as expected now.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607574 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 18:35:23 +00:00
Adrian Crum 7a20f41fe8 Improved Webtools logging screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607565 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 17:47:34 +00:00
Adrian Crum 35fad8baff Add ability to specify alternate webapp footer - contributed by BJ Freeman, https://issues.apache.org/jira/browse/OFBIZ-932.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607553 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 16:11:48 +00:00
Adrian Crum e841ce4734 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607454 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 18:18:00 +00:00
Adrian Crum cdd0e8517c Improved Webtools job management screen. Patch submitted by Anil Soni - https://issues.apache.org/jira/browse/OFBIZ-1553 - with additional modifications by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607446 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 17:13:35 +00:00
Adrian Crum ba4c36e272 Small enhancement to main style sheet. screenlet-title-bar style now supports the <span class="head1 | head2 | head3"> elements - which the screen widgets generate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607445 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 17:03:29 +00:00
Adrian Crum 5fd21c9c37 Small enhancement to menu widget rendering to make it more compatible with other widgets. Rendering of <a> elements is suppressed if no link target is specified. This will allow the rendering of labels, captions, etc by using the <link> menu widget element without the target attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607444 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 16:43:28 +00:00
Adrian Crum bdafd3b7ff Small fixup in form widget rendering.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607322 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 20:21:15 +00:00
Adrian Crum 4b20e7adc2 Improved error handling in the FOP view handler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607100 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 17:54:35 +00:00
Jacques Le Roux bce4f0cb55 Refactored from a Fabien Carrion's patch "Send mail through gmail with the javamail api in ofbiz" (https://issues.apache.org/jira/browse/OFBIZ-1256) - OFBIZ-1256
With the help of Chris Howe

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606789 13f79535-47bb-0310-9956-ffa450edef68
2007-12-25 13:19:29 +00:00
Jacopo Cappellato 1cbd9fe070 Added missing primary key; part of OFBIZ-495
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606439 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 09:55:16 +00:00
Adrian Crum 2b5150dad0 Oops, I forgot to remove debugging code before the last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606283 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:32:29 +00:00
Adrian Crum 65d64af698 User preferences feature - https://issues.apache.org/jira/browse/OFBIZ-495. This is the Java version - I'll commit the simple method version as soon as one is available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:02:28 +00:00
Jacques Le Roux d10d6edda3 A patch from Joe Eckard "Adding new string utility methods to collapse characters" (https://issues.apache.org/jira/browse/OFBIZ-658) - OFBIZ-658
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606035 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 21:49:42 +00:00
Scott Gray 863e81f9d4 added selectall.js, required for calls to submitFormDisableSubmits()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605835 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 08:40:07 +00:00
Andrew Zeneski 5462f70138 updated thread list to show ttl and # of jobs processed per thread
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605372 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:58 +00:00
Andrew Zeneski 0d8ed37403 fix to the synchronization of threads being removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605371 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:28 +00:00
Adrian Crum f6bb7cb42b Clarify OFBTOOLS_VIEW permission description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605296 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:58:58 +00:00
Andrew Zeneski 81dbc56019 added initial status when using the schedule() method; changed wait() to sleep() in invoker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605290 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:46:02 +00:00
Andrew Zeneski 3d7be35a6e addded status to the job list display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:11:35 +00:00
Andrew Zeneski e66a3cb049 updated job list UI with new link to reset a RUNNING job
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:13:36 +00:00
Andrew Zeneski a0ffc4e42b added new service to reset scheduled jobs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:12:58 +00:00
David E. Jones f96673b421 Based on new comments in an old issue (OFBIZ-1116) setting this to false and commenting about want; I meant to do this a few months agoout want; I meant to do this a few months ago but obviously never got around to it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605129 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 08:17:36 +00:00
Jacques Le Roux c264e55817 A patch from Eriks Dobelis "WSDL returns error if datatype of parameter is Long or Timestamp" (https://issues.apache.org/jira/browse/OFBIZ-1263) - OFBIZ-1263 where string is used for Timestamp for simplicity reasons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605075 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 04:07:06 +00:00
Jacques Le Roux 728c3f4446 Replacing unused ACCOUNTING_ATX_ by ACCTG_ATX_
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604987 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 20:33:59 +00:00
Jacopo Cappellato d28cfcb26a First step in the implementation of past due date invoices: created a service that computes the due date(s) and outstanding amount(s) based on the Invoice terms; added initial support for multiple payment terms per invoice (e.g. 'pay after 30 days the 50% of the invoice, pay after 60 days the 40%, pay after 90 the 10%').
Part of issue OFBIZ-1530
Modified the getDayEnd util method to be usable in Minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 16:40:35 +00:00