Jacques Le Roux
058d6aed57
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@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux
31c97bf343
A patch from BJ Freeman "Explaination of where the data is in ModelInduceFromDb.jsp" ( https://issues.apache.org/jira/browse/OFBIZ-2432 ) - OFBIZ-2432
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772914 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:15:54 +00:00
Hans Bakker
adc224135a
Add:<portletName> button for categories with more then one portlet does not work(OFBIZ-2433)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772866 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 07:13:23 +00:00
Adrian Crum
d3403f89f5
Reverted one of my changes that is no longer needed.
...
I apologize for the repository thrash. I made the mistake of adding the apostrophe to quote substitution at the last minute without fully testing it. I'll try not to do that again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772735 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 18:15:39 +00:00
Adrian Crum
6bcc5b1100
Oops, missed one file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 18:03:35 +00:00
Adrian Crum
4146f9f466
Removed apostrophe to quote substitution. It caused problems with FreeMarker macros.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:59:23 +00:00
Adrian Crum
a2d620ba6c
Example component updated to use operator substitution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772722 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:38:06 +00:00
Jacques Le Roux
981b88a7e2
Fix Geolocation on R9.04 and Marco's server
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772712 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:12:52 +00:00
Adrian Crum
a8f4a77a6a
Improvements to recent commit suggested by Adam Heath.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772711 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:08:20 +00:00
Adrian Crum
f5473d2589
Updated model widgets to use operator substitution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772709 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 16:58:40 +00:00
Adrian Crum
0654f711a6
Added XML-friendly operator substitution to BeanShell and Groovy. BeanShell already supported operator substitution, but I extended it to convert apostrophes to quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772699 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 16:30:02 +00:00
Scott Gray
2bf7a5d9ab
Add the test suite name to the log output, otherwise it isn't very clear which test suite's results are being displayed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772560 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 09:04:08 +00:00
Adrian Crum
3130011465
Added UEL functions to read and write XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772517 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 06:43:53 +00:00
Adrian Crum
ab71e7b7ea
Improved FileUtil.getFile(...) method - now supports component:// paths.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772513 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 06:30:59 +00:00
Scott Gray
b715eb2070
Doubled the size of the log4j event buffer since I regularly suffer from discarded messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772502 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:54:49 +00:00
Scott Gray
e683a64fc5
Fix suite-name as reported by Vikas on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:37:31 +00:00
Scott Gray
94618cdef3
Add a template for test definitions to the create-component ant target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772481 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:54:43 +00:00
Scott Gray
2f0f45e927
Don't throw an exception if the test definitions aren't found, just log an error and continue with the rest of the tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772475 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:20:20 +00:00
Scott Gray
93ed76bce9
Restored the forms template to its previous state and added a readme file describing the purpose of the templates directory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772468 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 23:58:35 +00:00
Scott Gray
cd6bbff043
Fix the problem of fields without a use-when not overriding fields with a use-when condition OFBIZ-863
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772464 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 23:26:00 +00:00
Anil Patel
8b760b25fe
update ecommerce color.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772401 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 18:54:47 +00:00
Hans Bakker
7d03e179fc
set the default theme to the new updated smooth feather theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772091 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 07:59:19 +00:00
Hans Bakker
2a68d3e04c
inserted a log message that the requested theme could not be found and that the system reverts back to the old ofbiz theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771554 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 04:27:33 +00:00
Hans Bakker
52d2a69415
empty template file put back, and added message and header, thanks Vikas for reporting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771252 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 09:16:38 +00:00
David E. Jones
daebb63942
Small improvement in error message for location parsing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771195 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 06:29:36 +00:00
David E. Jones
5f2671153d
Changed to support component:// URLs, should fix issue reported by Hans in OFBIZ-2418
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771193 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 06:24:54 +00:00
Hans Bakker
68a72ef803
revert revision 771074 because this theme: BIZZNESS_TIME does not exist
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771170 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 03:56:07 +00:00
Hans Bakker
01523701b7
the system is currently unusable because the default scheme does not exist. to avoid these kind of problems in the future and also with new theme developments this change will at least show the 'good old' ofbiz scheme so the system can be used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771168 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 03:49:42 +00:00
Hans Bakker
f21b08ba2b
remove unused requests from controller as reported by Jacques
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771161 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 02:07:03 +00:00
Hans Bakker
3dda46db6f
remove unused requests from controller as reported by Jacques
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771157 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 01:58:55 +00:00
Scott Gray
e5cb2d7634
Remove unused properties file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771153 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 01:03:53 +00:00
Scott Gray
c17442843c
Code cleanup, removed unused imports, some unnecessary casts and one unnecessary null check, changed some whiles to enhanced fors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771147 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 23:25:57 +00:00
Scott Gray
05f15421aa
Fixed a FIXME, moved \n -> <BR/> replacement from the renderer to the html macro
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771146 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 23:04:58 +00:00
Adam Heath
2ec0d94197
Another generics fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771125 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:36:13 +00:00
Adam Heath
1a31984695
Several minor generics fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771124 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:35:52 +00:00
Adam Heath
2f59201bbd
Make this a bit nicer for generics users.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771123 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:35:00 +00:00
Adam Heath
a2fb671036
Remove unused EnumMap import.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:17:37 +00:00
Adam Heath
812b0e50d4
No more generics warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771120 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:16:24 +00:00
Jacques Le Roux
f29b4787b4
As suggested by David, these lines are not needed anymore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771090 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 17:19:37 +00:00
Jacques Le Roux
47a6553d40
Putting new BizznessTime theme as default theme in trunk. This should help to strengthen it (hoping reports from users)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771074 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:23:08 +00:00
Jacques Le Roux
1f5eb1e084
I missed some files in the 1st commit for BizznessTime theme.
...
I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771073 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:19:04 +00:00
Hans Bakker
71c58d0756
portal page generated menu changed other menus when cache was enabled, tabs for spaces and deleted empty forms file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771035 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 07:38:25 +00:00
David E. Jones
2c4cdde4b8
Reverted changes in SVN revs 770084 and 770408; this gets the example component back to the good old security until things settle and patterns are better established and agreed on for the new stuff that Andrew is proponing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771030 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 06:12:46 +00:00
Adam Heath
b23e2f79e0
Generics markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771016 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:16:13 +00:00
Adam Heath
e180117c27
Fix comparison of authenticators with classes loaded by different
...
classloaders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:14:11 +00:00
Adrian Crum
28bc332e04
Small change to Scott's UEL improvement - convert NodeList to a java.util.List so that it can be treated like a regular List.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770990 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 22:37:08 +00:00
Adrian Crum
f4b0b4aac9
UEL improvements:
...
1. Implemented operator substitution suggested by Jacopo and Scott. It is a subset of the beanshell operator substitution - http://www.beanshell.org/manual/syntax.html#Document_Friendly_Entities .
2. Added an extension to UEL that permits using variables that might not exist in expressions. Example: The expression ${foo + bar} will throw an exception if either foo or bar don't exist. Assuming foo and bar are both intended to be integers, the expression ${foo$integer + bar$integer} will not throw an exception. Instead, Integer instances (initialized to zero) will be created for the missing variables.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770973 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 18:04:21 +00:00
Scott Gray
2b55fa55da
OFBIZ-2397
...
Implement a custom JUEL ELResolver that handles string properties for objects implementing org.w3c.dom.Node
and org.apache.xerces.dom.NodeImpl. It takes the String and compiles it into an XPathExpression which is
then evaluated against the base Node. The JUEL evaluation returns either null, a single Node or a NodeList
depending on the result of the XPath evaluation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770915 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 08:45:22 +00:00
Scott Gray
4049b07769
A little documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770905 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 06:57:30 +00:00
Andrew Zeneski
485805fe3f
Renamed AbtractAuthorization to AbstractAuthorization (bad typo)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770836 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 21:53:29 +00:00