Jacopo Cappellato
9b9b427c44
Removed unused handler from controller files; replaced handlers that were still using the old ScreenWidgetViewHandler with the current MacroScreenViewHandler; deprecated compress.HTML property with output specific properties like screen.compress; this fixes a rather important issue happening when the compress.HTML setting is set to true: non html output screens like for example tab delimited exports were messed up.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1058056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:44:35 +00:00
Bruno Busco
19b909d62f
Better Italian labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052890 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 14:28:16 +00:00
Jacques Le Roux
e263a69b74
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
0d6f2776e4
<author>None</author> is totally useless and we don't need an author OOTB
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux
be88f832a2
Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux
ef2a1c044c
We don't need
...
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783 ) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Scott Gray
41cf2ab878
Get rid of a few Boolean instantiations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935162 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:25:42 +00:00
Bruno Busco
cb0334aff8
A patch from Blas Rodriguez Somoza
...
OFBIZ-3676 - XHTML validation errors round 2 (specialpurpose/shark)
https://issues.apache.org/jira/browse/OFBIZ-3676
XHTML validation errors
* Unclosed tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@934182 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:32:08 +00:00
Bruno Busco
3e55c60083
A patch from Blas Rodriguez Somoza
...
OFBIZ-3618 - XHTML validation errors (specialpurpose_shark)
https://issues.apache.org/jira/browse/OFBIZ-3618
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked)
* Unencoded ampersands in urls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932732 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:27:24 +00:00
Adam Heath
62ede2cc16
Fix lots of bad xhtml tags, need to have a space before the ending /.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Jacques Le Roux
2a00815eb3
While working at layering lookups I found that some of them are inappropriately named lookups and are actually lists (at least for now, locales, timezones and themes)
...
In this commit I rename them List (instead of Lookup) to avoid future confusion. If this has too much impact we may revert it of course...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@907310 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:33:01 +00:00
Adam Heath
f090fa7b20
Add a default-javadoc presetdef.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:01:39 +00:00
Adam Heath
59dabfc7e6
Remove most docs targets, they are all the same anyways.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath
aff93c1ef4
Switch all javac15 to javac16.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux
9042f7405b
Commented out Shark JavaDoc target to avoid the issue we got recently (since the build is also commented out)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@885390 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 11:57:25 +00:00
Adam Heath
d2685bb746
Shark compiles now. Except that you have to add the libraries uploaded
...
to https://issues.apache.org/jira/browse/OFBIZ-552 . Which you probably
can't, as latest shark(2.0 or 2.5, couldn't really tell) is LGPL. So we
should probably remove this anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884347 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 00:40:44 +00:00
Jacques Le Roux
14bfbc1335
Allow to build since move from framework. Waiting for community opinion about JavaDoc inside this build file...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884335 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 23:22:30 +00:00
Jacques Le Roux
f28de851d7
Oops fix r884308 (missed the >0 part when replacing xpdls != null && xpdls.size() > 0 by UtilValidate.isNotEmpty(xpdls)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884325 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:55:29 +00:00
Jacques Le Roux
7ad68ee86e
Complete Scott's fix in r884292 (using initial code in r821643
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884308 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:29:21 +00:00
Scott Gray
8a8f5fa0ac
Fix invalid code that causing the docs-all target to fail
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884292 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:03:53 +00:00
Jacques Le Roux
0698881e24
Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Jacques Le Roux
f7ac059bd1
Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.length == 0)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883507 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 21:42:18 +00:00
Adrian Crum
abf40da363
Updated client code to use the new Delegator factory method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@823633 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 17:44:24 +00:00
Adrian Crum
5664c8ad47
Replaced GenericDelegator.getGenericDelegator(...) calls with new factory method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@821649 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 01:53:50 +00:00
Adrian Crum
acfba61db1
Converted GenericDelegator concrete class references to Delegator interface references.
...
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Scott Gray
76ef067c73
Get rid of a whole pile of unnecessary string instantiations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@818665 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 23:49:02 +00:00
Adrian Crum
6835b24060
Reverted rev 802567.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@812692 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 20:56:14 +00:00
Jacques Le Roux
eae9d2668f
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Adrian Crum
3ec4d93980
Refactored GenericDelegator:
...
1. Converted GenericDelegator to an interface. We already have DelegatorInterface, but it isn't being used anywhere. Removed DelegatorInterface.java.
2. Extracted the static, cached data from the GenericDelegator implementation and put it in its own class - DelegatorData. The GenericDelegator implementation holds a reference to the DelegatorData instance. This makes it possible to have per-thread instances of GenericDelegator.
3. Replaced the ThreadLocal variables with regular variables. ThreadLocal variables are no longer needed. Client code doesn't need to be concerned with pushing and popping the GenericDelegator state.
This commit paves the way for the forthcoming ExecutionContext.
User modifications will have to replace GenericDelegator.getGenericDelegator(...) with DelegatorFactory.getGenericDelegator(...). Also, replace the push code with the new setXxx methods, and remove the pop code. If modifications used DelegatorInterface, replace that with GenericDelegator.
Aside from those changes, this commit is backwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@802567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 18:04:26 +00:00
Adrian Crum
5573fdfbdd
Chinese translation for the specialpurpose folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@798580 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:59:04 +00:00
Jacques Le Roux
382c9875d5
A patch from Ashish Vijaywargiya "Change Copyright Year" ( https://issues.apache.org/jira/browse/OFBIZ-2346 ) - OFBIZ-2346
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
David E. Jones
cf606a77c1
Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Jacques Le Roux
97bb3073c9
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux
08ae117fe5
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Bilgin Ismet Ibryam
4b3ef3a6fa
Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
...
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Adam Heath
d66e0bfd4c
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@759266 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:02:51 +00:00
Adam Heath
fc1111fea8
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@757111 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 00:38:47 +00:00
Marco Risaliti
9e8275c978
A lot of hardcoded labels cleaning and changes some wrong references
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@755005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:08:21 +00:00
Bruno Busco
cde214ae99
Changed WebSiteId parameter description to be more general
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Jacques Le Roux
3b088bf178
catch( => catch(
...
}else => } else
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux
bbe536f5c3
}else{ => } else {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:51:02 +00:00
Jacques Le Roux
dccf757031
}catch => } catch
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:50:08 +00:00
Jacques Le Roux
933c507164
try{ => try {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux
cd43ec38c9
while( => while (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Jacques Le Roux
c9a73c9b59
if( => if (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Jacques Le Roux
8960e50d6a
In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
...
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Hans Bakker
59e2ae640a
rename applicationext component to commonext
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@748388 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 04:05:47 +00:00
Hans Bakker
88631b87de
introduction of a common component for applications. moved the 2 lines containing party info to this component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@748144 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:36:51 +00:00
Marco Risaliti
f7bc039581
A lot of hardcoded labels cleaning and changes some wrong references
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746654 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 10:45:15 +00:00
Marco Risaliti
18be3df7c5
A lot of hardcoded labels cleaning and changes some wrong references
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:53:32 +00:00