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
Hans Bakker
57d3cd208c
use system userlogin to create role, so everybodu can create a communication event, only remove commevent role if it can be found, spaces for tabs(last change)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686581 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 01:34:06 +00:00
Scott Gray
f219aa1c43
Shouldn't have removed this one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686579 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:08:10 +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
Adrian Crum
adc1d1d145
Collapsible masthead, based upon a patch provided by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1919 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686515 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 15:52:47 +00:00
Jacques Le Roux
21cd086346
French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686442 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 03:21:25 +00:00
Scott Gray
85af94fabd
Various clean ups, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 21:40:30 +00:00
Si Chen
c22c243cb9
reverted last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686356 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 20:20:34 +00:00
Si Chen
a00fc0f160
more comments on OFBIZ-1915
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686311 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:32:58 +00:00
Adam Heath
bd9612ee6a
Set properties on new files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686307 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:26:47 +00:00
Si Chen
e5451f7f18
OFBIZ-1915 from Jeremy Wickersheimer for request-redirect-filter-param
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686301 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:15:39 +00:00
Adam Heath
a9084a6f0d
Add license header.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686256 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 15:41:20 +00:00
Adam Heath
fe7cddc3a2
More use of ServiceRegistry.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686251 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 15:29:29 +00:00
Hans Bakker
dbddcdf16b
some more corrections and adjustments for the display of customer requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686173 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 08:30:41 +00:00
Hans Bakker
e32a84c26e
use of new view and typo in view def
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686170 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 07:37:59 +00:00
Hans Bakker
759bf5a7e0
list all customer requests with optional workeffort....correcting link error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686168 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 07:36:16 +00:00
Hans Bakker
7a5b131015
small corrections and enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686164 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 07:10:35 +00:00
Hans Bakker
ee643259cf
error in project list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686150 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 05:56:35 +00:00
Hans Bakker
5e16a82f19
after creating a customer request return to the request list showing the new request at the top
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686144 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 04:36:50 +00:00
Hans Bakker
17a4f51ce7
change display order of security groups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686129 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 03:25:27 +00:00
Hans Bakker
f3784f3169
correct errors in propject list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686124 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 02:58:46 +00:00
Hans Bakker
15e4bc9bff
change order to be more usefull
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 02:57:50 +00:00
Hans Bakker
a5c197d3de
improoved readability of code on suggestion of jacopo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686100 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 01:26:47 +00:00
Adam Heath
32601006b7
Fixed the same as 686027.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686034 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:48:42 +00:00
Andrew Zeneski
dae87c2e67
appears the the <include> sub-element cannot contain a list, instead each one needs to be named. Changed so that the properties are included again.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686027 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:41:34 +00:00
Adrian Crum
89245c4d92
Better handling of the masthead logo image link.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685969 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:33:29 +00:00
Adam Heath
963b50cc44
Bah, bad doogie, bad. Always at least *compile* your changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685964 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:16:42 +00:00
Adam Heath
851c88ea77
User agent and referer were star-crossed lovers. Now they have gone
...
out on their own.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685962 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:12:01 +00:00
Adam Heath
5930d43294
Another anti-pattern discovery.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685951 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 16:24:56 +00:00
Adam Heath
66d7ec8c94
Use IN instead of looping and creating a bunch of sub-expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685945 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:37:17 +00:00
Adam Heath
83de5c84bd
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:14:11 +00:00
Adam Heath
4cf1e9d438
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:53 +00:00
Adam Heath
cf28c9d298
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685937 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:17 +00:00
Adam Heath
b1e3e54926
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685936 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:12:17 +00:00
Adam Heath
36b0cdafa2
Bah, forgot to save this before checking in.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:10:34 +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
Jacopo Cappellato
fd190b8a14
If the screen is used to create a new data resource, the list of content records associated to it is not rendered.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685899 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 14:02:45 +00:00
Hans Bakker
58aa50527b
check for missing data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685896 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 13:51:26 +00:00
Hans Bakker
38ab8053b5
simplify the custrequest layout within the project manager
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685837 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:41:42 +00:00
Hans Bakker
b9f9ad2cb9
when a custRequest is created, create also optionally the item because often the texual customer request consists out of a single item
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685836 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:38:42 +00:00
Bilgin Ismet Ibryam
5178df0121
Missed these files in my previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685809 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 08:37:52 +00:00
Bilgin Ismet Ibryam
4bd91223f8
Applied the patch from JIRA Issue # OFBIZ-1912 "Configurable products with Virtual product options".
...
Added a new entity ConfigOptionProductOption to store selected variant products per configuration.
Moved a code snippet about products with VV_FEATURETREE from ShoppingCartEvents to ProductWorker.
Added a demo product PIZZA to test demonstrate Configurable products with Virtual product options.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 08:30:07 +00:00
Hans Bakker
ac5da29f89
corrected problem with decorator when a loginid has employee AND customer permissions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685784 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 06:22:58 +00:00
Adam Heath
8328cfc565
Don't make base/start subdirs in build/classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685783 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 06:16:19 +00:00
Adam Heath
1dfdb73a7a
Add the standard license header.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685782 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 06:15:53 +00:00
Adam Heath
8caa026db8
Use a factory pattern to load available MethodOperation
...
implementations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685778 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 05:55:17 +00:00
Jacques Le Roux
4d1844cf8f
One i18n and some French l10n, more to do...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685755 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 03:07:17 +00:00
Jacques Le Roux
d78e519ca0
Oops, those ones have slipped in by error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685754 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 02:59:10 +00:00
Jacques Le Roux
0df3e54285
One i18n and some French l10n
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685753 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 02:57:39 +00:00
Hans Bakker
1dc53d1a0e
added security, also added the possibility for custumers to see their entered requests under the new security rules, added demo data to test all this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685746 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 01:56:28 +00:00