Commit Graph
33 Commits
Author SHA1 Message Date
Jacques Le Roux 51dc47bb13 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/specialpurpose@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Scott Gray bc1d45481c 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/specialpurpose@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Adam Heath 5e00789519 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/specialpurpose@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adrian Crum 0930dd71a9 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/specialpurpose@684548 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 16:28:14 +00:00
Adam Heath f1ba2a8694 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/specialpurpose@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux cccfdf34bf 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/specialpurpose@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Adrian Crum 3d9f40d806 Removed deprecated CSS styles from back office applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@676212 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 18:41:44 +00:00
Adrian Crum aef4715b32 Removed deprecated CSS styles from the maincss.css file. I skipped the eCommerce component because it doesn't use that style sheet, and I also skipped the content component because it is used in eCommerce.
This shouldn't affect any layout. If it does, just post a message on the dev ml (with link please) and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@675831 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 04:02:30 +00:00
Adam Heath f4db945fe7 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/specialpurpose@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Scott Gray 4366f0c104 Updated all simple methods to use the new attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@667748 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:03:12 +00:00
Jacopo Cappellato 32280c150b Removed some unused event handler declarations from controller files; converted some Beanshell events to Groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@662338 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:40:50 +00:00
Jacques Le Roux 8aabca7e62 Show bottom buttons for Asset Maint, HH Facility and CMS site. Finally I did not put eCommerce as it would need more work : a direct link to https//host:8443... does not work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@661288 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 10:39:28 +00:00
Scott Gray 9343a54c1b 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/specialpurpose@655238 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:32:54 +00:00
Scott Gray 79e6da2121 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/specialpurpose@653201 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 11:34:32 +00:00
Jacques Le Roux b38bde19f6 A bunch of changes around "New attributes to ofbiz-component.xml" (https://issues.apache.org/jira/browse/OFBIZ-1714) - OFBIZ-1714
Better description of cryptic applications tabs (HR and SFA for now) using new tooltip/description attribute
CommonAccounting was useless : removed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@647451 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 13:53:49 +00:00
Adrian Crum 898a731e5e 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/specialpurpose@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Adrian Crum 454561794e Eliminated redundant code by switching components over to the common login and password change screens. I didn't change the hand held component - since it will probably need its own login screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@588474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 02:29:49 +00:00
Jacques Le Roux b4b97074a4 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/specialpurpose@582731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 07:08:34 +00:00
Adrian Crum 02188a792f Step two of OFBIZ-1230. Reduced redundant code by including common-requests.xml in each component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@582517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 17:25:42 +00:00
Jacques Le Roux 34a5926795 A patch from Arno Peters "javadoc creation broken" (https://issues.apache.org/jira/browse/OFBIZ-1162)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560546 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 13:42:58 +00:00
Jacopo Cappellato 3a2143d6e8 Sorry for the big commit.
Replaced all the field's titles in form widgets that were explicitly set to empty to ${uiLabelMap.CommonEmptyHeader}


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@550173 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 07:27:29 +00:00
Jacopo Cappellato d7b9d76a07 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/specialpurpose@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
David E. Jones a326315996 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/specialpurpose@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones 4b95a6b18f Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato 137ff83748 Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
Jacques Le Roux b15c1fb629 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux 1f9ae3717f This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Jacopo Cappellato 7a4cb0152f Change to not show the "Hand Held Facility" application in the top application bar.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@484940 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 07:25:11 +00:00
Jacopo Cappellato 2947f0b19e Applied patch from Anil K Patel (OFBIZ-531) to filter the list of facilities shown in the main hhfacility screen to the ones of type WAREHOUSE.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@483909 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 10:26:06 +00:00
Jacopo Cappellato 0b77521fb4 Minor formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@483261 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 22:13:58 +00:00
Jacopo Cappellato 298811f001 Formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@483229 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:12:50 +00:00
Jacopo Cappellato 304288a1ee First commit of the "hhfacility" component a special purpose application for warehouse operations done using hand held devices.
The application is still in a very initial stage, a lot of cleanups still need to be done, but it is a nice start.
It has been contributed by Daniel Goodwin and Ray Barlow; see OFBIZ-226 for details.
Daniel, Ray many thanks to both of you.



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@482801 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 22:00:29 +00:00
Jacopo Cappellato 2a69b2b530 First commit of the "hhfacility" component a special purpose application for warehouse operations done using hand held devices.
The application is still in a very initial stage, a lot of cleanups still need to be done, but it is a nice start.
It has been contributed by Daniel Goodwin and Ray Barlow; see OFBIZ-226 for details.
Daniel, Ray many thanks to both of you.



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk/specialpurpose@482800 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 21:57:06 +00:00