Adrian Crum
9dbbcd1082
Fixed a bug in UtilDateTime.java - getWeekEnd() returned the wrong value.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801023 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 23:38:55 +00:00
Adrian Crum
ca1861d05f
Removed unused method from TimeDuration.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797229 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:27:33 +00:00
Scott Gray
3f2d963f91
Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00
Adrian Crum
5de4beaf9e
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 16:33:54 +00:00
Adrian Crum
e4ee374a66
Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
...
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.
I'll let the dust settle from this, then I'll add the user-selected calendar capability.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
David E. Jones
3f8f20e601
Added example of nested view-entity with entity-condition on a view member entity; adjusted view-entity entity-condition to handle naming consistent to other places for nested views, other small cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792836 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 08:47:16 +00:00
David E. Jones
497a7cbf0d
Change to handling of error messages in simple-methods called as a service to pass errors through in List/Map and not combine into one big String, add text you can't change, etc; now logs details and passes errors as-is
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792633 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 18:51:00 +00:00
Adrian Crum
8c20ac5313
Small fix for DateRange.java - made the default range smaller. For some reason, external programs have problems with dates in the range of 2 million BC to 2 million AD.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 23:14:15 +00:00
Anil Patel
1e2f095bb6
Removed method I added earlier. Solution already exists in ExpressionUiHelper.java. Adrian, Thanks for reporting and helping locate existing method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792196 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 15:55:12 +00:00
Anil Patel
6e76144c8e
Convert monthNumber to string. Form widget options list does not like Integer as value of entry.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792136 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:43:36 +00:00
Anil Patel
24208d63e9
Added method to return List of month number and month name entries for the year. Will be useful for building dropdown lists.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792113 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:33:16 +00:00
Scott Gray
dec24b29f2
Sorry for the big commit, got a bit carried away.
...
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Adrian Crum
7d300cecc0
Added a UEL function to convert a DOM Node to an HTML String.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 23:28:55 +00:00
Adrian Crum
f83c020c1b
Code cleanup and bug fixes in WebDAV and iCalendar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789871 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:46:10 +00:00
Adam Heath
04c6a9b2b1
New upstream; fixes line numbers in wrap, and improves the css rules
...
matching.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789866 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:31:12 +00:00
Adrian Crum
67ee5db3c0
Oops, forgot something.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789835 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:21:15 +00:00
Adrian Crum
ddf6086b2f
Code cleanup in UtilXml.java - eliminated some redundant methods. Document, DocumentFragment, and Element all extend the Node interface, so we only need one method that accepts a Node argument.
...
This change is completely backwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789830 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:07:07 +00:00
Adam Heath
91130de63f
Add readXmlDocument variants that can store the line/column numbers
...
of elements; nothing uses this yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789401 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:15:14 +00:00
Adam Heath
dd51c0108b
Add a simple initCause helper method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789400 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:13:19 +00:00
David E. Jones
a1b519b5fa
Small change to allow the span tag in safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789233 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 06:49:44 +00:00
Adam Heath
3bf2c24c1c
Egg on face, need to be more careful with undoing changes that aren't
...
ready to be commited. This actually compiles now. :|
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788176 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 20:39:32 +00:00
Adam Heath
69da3c66d7
Helper method for getting an attribute from an element, with default
...
value processing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788175 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 20:37:23 +00:00
Scott Gray
2676632af8
Removed unused import and added some generics
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@787655 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 12:15:20 +00:00
Anil Patel
c4224f5983
Part of code from OFBIZ-2627. Thanks.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786400 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 07:34:06 +00:00
Adrian Crum
361e4bef0e
Minor change to UtilXml.java DOM 3 method signature. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786117 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 15:17:22 +00:00
Hans Bakker
7f02d99bb3
correction on revision 783603 as suggested by Adrian, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@784399 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 14:32:25 +00:00
Jacques Le Roux
34cfcf2d60
Everybody agreed that it's simpler to use false than to explain ftrue...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783905 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:08:16 +00:00
Hans Bakker
84c30dd1a7
make the party viewprofile request also working when only an emailaddress or telephone number is provided. usefull when this url is called from other webbased systems.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783603 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 02:14:32 +00:00
Adam Heath
03b030b475
Yet another update. Very very close. Hunting rabbits.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783564 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 23:00:26 +00:00
Adam Heath
783130b58d
Add ability for simple methods to be wrapped with a custom compiled
...
class. The resource location from where the simple method was read
is encoded as the classname of the proxy. This makes debugging
simpler to do. This feature is turned off by default.
The wrapping code has support for setting the line number, to include
in stack traces. However, DOM-based xml parsing doesn't record line
numbers, so it's not possible to encode that into the wrapped proxy
class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783060 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 16:19:50 +00:00
Adam Heath
22adfe3826
Upgrade to a newer groovy.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783054 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 16:10:53 +00:00
Adrian Crum
f796c21344
Another trivial JavaDoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779255 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 17:37:57 +00:00
Adrian Crum
5b2374e186
Trivial JavaDoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779194 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:47:28 +00:00
Jacopo Cappellato
452fbe184f
Misc fixes and enhancements to the Catalina cluster support.
...
Patch from Scott Gray and me, based and bug reports and tests from Sam Hamilton and Nico Toerl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778560 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 05:10:57 +00:00
Scott Gray
4d35a95876
Searched for and fixed any other code incorrectly using BigDecimal.equals() as reported by Hans for r778302
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778358 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 09:00:39 +00:00
Adrian Crum
8b3859b9e5
FileUtil.java improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776980 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 07:02:17 +00:00
David E. Jones
f0a919be57
Small change to use the stream that was opened and closed instead of opening another one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776726 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 15:08:47 +00:00
Adrian Crum
818d0ac7b7
Closed an InputStream that was left open.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776563 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:29:52 +00:00
Hans Bakker
d8a175d4a6
added a function to check for the presence of a companent, make the projectmanager custrequest creation working using the commevent as the data, added some allow-html= safe flags
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@775883 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 10:07:51 +00:00
Adrian Crum
2621ec1c01
Small improvement to UEL - added $null variable name modifier so variables can be compared to null.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773927 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:09:11 +00:00
Adrian Crum
a5000b773b
Reverting part of my previous commit that wasn't necessary.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773721 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:16:08 +00:00
Adrian Crum
b0cf3e7122
Some new UEL functions. Mini-lang can now be used to implement simple web page scrapers or mashups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773709 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 22:05:57 +00:00
Adrian Crum
da19441232
Small change to new JAXP TrAX methods - they now accept Node arguments instead of Element arguments.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773706 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 22:01:55 +00:00
Adrian Crum
6193535231
Small improvement to FlexibleStringExpander.java to help cut down on error messages.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773145 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 00:40:28 +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
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
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
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