Commit Graph
295 Commits
Author SHA1 Message Date
Adrian Crum 0a591e6583 Made the Temporal Expressions UI more France friendly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701257 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:00:11 +00:00
Adrian Crum 1171dcddb0 Temporal Expression UI fixups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700497 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 15:17:28 +00:00
Adrian Crum 39bdbd700e Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700313 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 00:13:25 +00:00
Adrian Crum 08d114f1d8 Temporal Expression UI artifacts. There is a Temporal Expression Maintenance screen in the Webtools component.
I tried my best to break this up into re-usable pieces and put them where I thought they made sense. Feel free to move things around if you have a better idea.

Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700310 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:58:59 +00:00
Jacques Le Roux ca5aac7376 A bunch of i18n for Project and My Page, included French Translation
Also fix r693536

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@694216 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 11:06:04 +00:00
Jacques Le Roux 9aa78c323a Fix typos in error msgs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691522 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 06:17:36 +00:00
Jacques Le Roux c1dcca1fc5 A patch from BJ Freeman " Change the text of the Induce DB." (https://issues.apache.org/jira/browse/OFBIZ-1936) - OFBIZ-1936
BTW, is it normal that to view the result in FF3 you have to view the page source (Ctrl+U) ? Same in Opera (but faster ;o) in IE7 I get an error...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690538 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:27:02 +00:00
Scott Gray 92e100a004 Another groovy fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688968 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 06:07:15 +00:00
Scott Gray 5a7c81d4b5 Another groovy fix, this is actually more of a problem with the ModelService class which implements the Map interface but when groovy tries to determine the size of the map, the entrySet() call unexpectedly returns null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688854 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 19:58:12 +00:00
Jacopo Cappellato 6bbb26c243 Fix for NPE happening for service implemented in Java in the service detail screen of the Artifact Info menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688631 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 06:23:45 +00:00
Jacopo Cappellato b0a9ad29de Fixed typo in new groovy file that was causing an error in the Artifact Info screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688627 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 06:04:13 +00:00
Scott Gray 43fd1226ec Groovy fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688614 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 04:56:42 +00:00
Scott Gray 75e810a2d3 Converted the remaining framework bsh scripts to groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688450 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 05:36:54 +00:00
Jacques Le Roux a4f59ca86a A patch from Luke Prentice "Sort related entities in ViewGeneric" (https://issues.apache.org/jira/browse/OFBIZ-1921) - OFBIZ-1921
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687614 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 07:43:51 +00:00
Jacques Le Roux e7905f2c8c Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Scott Gray c98e7dc59f Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adrian Crum cd3a137731 Removed deprecated CSS style sepBar, removed unnecessary align="left" HTML element attributes.
I did a global search and replace for the align="left" aatribute - I didn't check each replacement because there were hundreds of them. This shouldn't break any layout. If you spot something wrong, post a message on the dev mailing list and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684548 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 16:28:14 +00:00
Jacopo Cappellato 8b9fc02614 Fixed wrong file name; I actually tried to use svn rename to change the file name but I had issues because the svn command seems to ignore upper/lower case characters.
Thanks to BJ for the bug report in the ml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682350 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:56:37 +00:00
Adam Heath 43e9cdc2ff Generics galore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682078 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 23:31:04 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
David E. Jones 0065182657 A few more view and request/event handlers, though not terribly common
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 02:05:42 +00:00
Jacques Le Roux ff3b3617d3 Better handling of bsh->groovy migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680062 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:36:22 +00:00
Jacques Le Roux 88aa3dc618 Undoing change committed in r680047.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680061 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:27:06 +00:00
Jacques Le Roux 58a88148db bsh -> groovy conversion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680047 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 21:05:02 +00:00
Jacques Le Roux 78b3a22c59 A fixing patch from J.Enrique Ruiz "Data File bug fixed (CONTRIBUTION)" (https://issues.apache.org/jira/browse/OFBIZ-1888) - OFBIZ-1888
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680046 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 21:01:21 +00:00
Jacopo Cappellato a23589412a Added select box to filter entities by group, for example useful ootb to quickly see all the entities related to the BI component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679456 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 16:40:18 +00:00
Jacopo Cappellato fa9f0a3253 The default-group-name is now returned by the group name methods of ModelGroupReader.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679331 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 09:43:27 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux 6c9bdbb127 A patch from Bruno Busco "New and improved Italian labels" (https://issues.apache.org/jira/browse/OFBIZ-1864) - OFBIZ-1864
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674749 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 09:32:18 +00:00
David E. Jones c489858f21 Changed FindGeneric to not do 2 queries, ie instead of doing a find count and then a find, now just does the find and gets the count using the new EntityListIterator method to seek to the end and get the index; that should be faster, though not totally sure; also changed FindGeneric and ViewGeneric from bsh to groovy and did some cleanups/fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673025 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 08:52:27 +00:00
Adam Heath 1dc13f6105 Number.valueOf changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:20:37 +00:00
Jacques Le Roux 798e0cb9ac Per David's advice revert change (was already done in another way in rev. 539527 (https://issues.apache.org/jira/browse/OFBIZ-593)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672687 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 00:56:20 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Jacques Le Roux f11fd686da Fix a bug when emptying a field (blanking it)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672187 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 08:32:16 +00:00
Jacques Le Roux b1ad3b5e14 A patch from Nicolas Malin "CheckDb interface not work for create fkidx" (https://issues.apache.org/jira/browse/OFBIZ-1819) - OFBIZ-1819
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663022 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 07:54:54 +00:00
Jacopo Cappellato a5159661af Removed unnecessary position attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661743 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 14:49:15 +00:00
David E. Jones 82df3529e2 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +00:00
David E. Jones b9d6f8b524 Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones 3543d6abe3 Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
Jacopo Cappellato b1bd619d66 Set correct template type for xsl-fo platform dependent templates: this is now required because the platform-dependent element can now accept different templates for different types.
Thanks to Jacques Le Roux for the report.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660107 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 06:25:57 +00:00
Scott Gray 75a4f5676b Fix for OFBIZ-1802 reported by Ashish Vijaywargiya, Error in Data File Tool. The uiLabelMap was being used in the bsh script without being defined.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659870 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 20:32:31 +00:00
Scott Gray 5560235815 Removed calls to the following deprecated GenericDelegator methods from all bsh files:
findCountByAnd
findCountByCondition
findListIteratorByCondition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655456 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 10:03:50 +00:00
Scott Gray 9bc49a5ce1 Removed calls to deprecated findByPrimaryKey* GenericDelegator methods from all bsh files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655449 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 09:21:26 +00:00
Scott Gray db43c9ca64 Removed calls to the deprecated findAll GenericDelegator methods from all bsh and ftl files plus some java ones in the shark component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655238 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:32:54 +00:00
Scott Gray 153653615b Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
There's still all the bsh files to check though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Scott Gray 3b9cedb7c9 Fixed a bunch of bugs (mostly typos) that show up while generating the artifact information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653201 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 11:34:32 +00:00
Scott Gray 112ae8dd76 Need to strip the comments when looking for called services as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653187 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 08:37:57 +00:00
Scott Gray 8ec7821177 Added a method to strip comments when parsing java files, the artifact info stuff was getting a bit confused by them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653181 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 05:38:38 +00:00
David E. Jones 329631a4b5 A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00