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
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
Marco Risaliti
ac14458aed
Same changes to eBay application after that some groovy files has been converted.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684640 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 05:49:47 +00:00
Adam Heath
2617681b51
Remove svn:executable on a bunch of stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +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
Adrian Crum
75191fa776
Removed deprecated CSS styles from back office applications.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676212 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 18:41:44 +00:00
Jacopo Cappellato
099743dda4
Fixed bug reported by Sam Hamilton in the dev ml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674166 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 09:12:39 +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
David E. Jones
ffc592614e
Finally deprecating the old workflow engine which hasnt been used in years; moving it to the specialpurpose directory and have pulled out the order task list stuff in the order manager that used to use it and though that stuff still exists the controller entries and such are in comments in the screen def file; also moved shark to the specialpurpose directory as it is also rarely used and is not used in any OFBiz applications as it requires LGPL libraries, among other issues that leave it short of complete
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@665981 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 04:53:52 +00:00
David E. Jones
05d4eb1eb1
More cleanups of now deprecated constructors and what what
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Jacques Le Roux
11acdcacc2
Labels cleaning an enhancing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658358 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:44:52 +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
Jacopo Cappellato
4e5d5791b3
New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
...
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer.
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
Hans Bakker
2d093c4531
convert language properties file of OAGIS,EBAY and GOOGLE to the xml format and added the Thai language
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630809 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 11:09:35 +00:00
Marco Risaliti
888e14c705
Applied patch from JIRA Issue #1633 .
...
Possibility to choose the product descriptions during the duplication of product.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628297 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 13:53:59 +00:00
Adrian Crum
68c1dbbaf9
Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
...
The ecommerce component is excluded from this commit.
These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.
I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Marco Risaliti
2b97140df8
Fix a small bug into eBay application on Edit Product during product searching.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618320 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:37:31 +00:00
Marco Risaliti
96fda14e23
All the eBay forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1614)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618314 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:16:27 +00:00
Adrian Crum
91dff14f8f
Oops, forgot to save a file before committing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:59:25 +00:00
Adrian Crum
8cc27f578b
Minor UI fixups in the eBay component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604257 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:55:02 +00:00
Marco Risaliti
3bf046ed80
OFBiz instead of Ofbiz into the EbayUiLabels.properties (Part of issue OFBIZ-1441)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603349 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 20:29:11 +00:00
Marco Risaliti
bf305e15ad
The seed data for security in the eBay application was not correct (Part of issue OFBIZ-1441)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603345 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 20:00:24 +00:00
Marco Risaliti
e849b5a08d
Forgot to removed some tabs in space (Part of issue OFBIZ-1441)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603325 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:33:20 +00:00
Marco Risaliti
0f65ed6a03
Integration with eBay in specialpurpose application (Part of issue OFBIZ-1441)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603323 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:31:25 +00:00