Commit Graph
10472 Commits
Author SHA1 Message Date
Adrian Crum 84626504a0 Updated the ICU4J library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933324 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 17:06:42 +00:00
Erwan de Ferrieres 08359da5c5 removing image path from request parameters after rendering the given hyperlink to avoid associating it to other link not having images in a list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933244 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:08:02 +00:00
Jacques Le Roux e9733780ce A patch from Sascha Rodekamp "Opening a lookup from a lookup in IE8 does not work", part of https://issues.apache.org/jira/browse/OFBIZ-3668 - OFBIZ-3668
The IE had problems with the variable 'item' ... maybe a reserved word ?!



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933226 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 13:27:02 +00:00
Jacques Le Roux b31485affb Fixes some duplicates labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 12:06:38 +00:00
Jacques Le Roux c9ae599f32 A patch from Sascha Rodekamp "Cross button does not work if you don't click on the layer before", part of https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933170 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:09:13 +00:00
Jacques Le Roux cf77b5e6a0 A slightly modified patch from Atul Vani "Calendar rendered position too low when you scroll in a layered lookup" (https://issues.apache.org/jira/browse/OFBIZ-3667) - OFBIZ-3667
This patch attempts to fix the problem,calendar is now relatively positioned, and the parent element's height is set appropriately. 

I just added some "mod for OFBiz layered lookups" comments around changes as suggested Sascha

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:04:39 +00:00
Jacques Le Roux 68acd1438f 20 is not a valid argument to position. This was not a big deal as it defaulted to empty, which for the moment defaults to normal. At term we will put "topleft" as default here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933151 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 08:53:52 +00:00
Bilgin Ismet Ibryam 12c181dea7 Added missing macro renderer parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933134 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 08:14:42 +00:00
Bilgin Ismet Ibryam 82a5bf6b02 A patch from OFBIZ-3555 "Show lookup value descriptions". This enhancements allows displaying a description for the IDs in lookup fields. To enable this feature set widget.lookup.showDescription to Y in widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933130 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:54:10 +00:00
Bilgin Ismet Ibryam 906d1cd234 Fixed wrong argument name passed to renderContainerField macro. Thanks to Blas for reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933099 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 06:13:40 +00:00
Jacques Le Roux 733cf6e562 Fix 2 comments,I commit because while I make some other changes during my tests I have to get this comments right again when reverting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932964 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:04:22 +00:00
Bruno Busco ea99105d8c A slightly changed patch from Blas Rodriguez Somoza
OFBIZ-3626 - XHTML validation errors (framework/widget) Bugs in ModelForm (fieldgroups, itemrows with links)
https://issues.apache.org/jira/browse/OFBIZ-3626

Errors in ModelForm in fieldgroups and itemrows.
I only removed some tabs and added curly brackets


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932840 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 06:29:53 +00:00
Bruno Busco 792f965046 A patch from Blas Rodriguez Somoza
OFBIZ-3643 - Error screen in webtools->Import Export -> Induce model from database (Ofbiz Demo)
https://issues.apache.org/jira/browse/OFBIZ-3643

Error screen when "induce model from database" option selected.
org.apache.jasper.JasperException: Unable to compile class for JSP:...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932737 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:53:12 +00:00
Bruno Busco 5d5e489598 A patch from Blas Rodriguez Somoza
OFBIZ-3637 - XHTML validation errors (framework excluding widget) round 2
https://issues.apache.org/jira/browse/OFBIZ-3637

XHTML validation errors

    * Unclosed tags INPUT, IMG, BR...
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * required attributes not included (alt in img, type in style, type in script etc)
    * Uppercase tags or attributes.
    * Unencoded entities (ampersands).

Other changes:

selectall.js
line 333. ajaxAutoCompleter must work with unenconded or encoded ampersands.

EntityRefMain.ftl
line 176. <div> must be </div>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932733 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:35:07 +00:00
Adam Heath fcd5a641ad s/test-case/test-group/, taken from OFBIZ-3661, so that all tests will
be run.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932233 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 03:19:27 +00:00
Scott Gray 80804f0931 Removed usage of the deprecated macro renderer constructors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:23:33 +00:00
Scott Gray 5796fe94d7 Deprecated the form and screen macro renderer constructors and added new ones that don't take an Appendable as an argument
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932173 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:23:25 +00:00
Scott Gray a255f30b29 Fixed a bug in the macro form renderer where the writer being passed in to the render* methods was being ignored and the writer supplied in the constructor was being used instead, this causes problems when multiple writers are being used to render a page.
Solved by ignoring the writer passed into the constructor (I'll deprecate that constructor and put in a new one shortly) and instead maintaining a separate freemarker environment for each appendable passed into the renderer using a WeakHashMap.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932172 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:14:17 +00:00
Scott Gray 1f29264b91 Fixed a bug in the macro screen renderer where the writer being passed in to the render* methods was being ignored and the writer supplied in the constructor was being used instead, this causes problems when multiple writers are being used to render a page.
Solved by ignoring the writer passed into the constructor (I'll deprecate that constructor and put in a new one shortly) and instead maintaining a separate freemarker environment for each appendable passed into the renderer using a WeakHashMap.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932171 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:14:12 +00:00
Scott Gray 06be6c89c0 Removed an unused delegator variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932167 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:53 +00:00
Scott Gray ef95f80dbf Removed some unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932166 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:49 +00:00
Scott Gray c47c48d412 Removed an unnecessary null check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932165 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:44 +00:00
Scott Gray 44e130fc03 Removed an unused import and a couple of unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932164 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:33 +00:00
Adam Heath a9a3b1058c When rolling back a transaction, and there is already an exception
available, then don't bother logging a new temporary exception.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932104 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:42 +00:00
Adam Heath 8bfe0b1b51 Reduce excessive service error exception logging, removes 2 cases of the
logged exception.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932103 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:36 +00:00
Adam Heath c279273652 Don't specify java.io.Serializable fully, import it instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932102 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:30 +00:00
Adam Heath 1922547f81 Fix bad exception logging pattern, now you actually get an exception
trace.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:24 +00:00
Scott Gray bc0607b0c8 Remove some unused view-maps that point to a non-existent screen def
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931987 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 16:01:09 +00:00
Scott Gray cce3a162fb Fix wrong location path
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931791 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:48 +00:00
Scott Gray af90db7432 Removed an unused view-map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931790 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:45 +00:00
Scott Gray 6e6e78c569 Fix copy/paste error (incorrect property default), good thing I review my one commits :-)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931779 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:12:40 +00:00
Scott Gray b2e06c24b6 Increase the transaction timeout for rendering the artifact info screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931775 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:50 +00:00
Scott Gray 7263531123 I can never remember if the timeout is seconds or milli-seconds, so I've added documentation to remind me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931774 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:47 +00:00
Scott Gray 7bd3330fc6 Remove some unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931773 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:44 +00:00
Scott Gray f97e54b11f dispatcherName wasn't being retrieved from the container config, causes a warning in the logs about the default dispatcher being assumed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931772 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:38 +00:00
Jacques Le Roux dc8327dbb9 A patch from Ankit Jain related to 'Allow to open a layered calendar from a layer lookup' https://issues.apache.org/jira/browse/OFBIZ-3580 - OFBIZ-3580
This patch mostly solves this issues and it's clearly a progress: it's operationnal with some drawbacks, so I don't close the issue for now
here are the issues:

    * some parts of the calendar are hidden (see screenshots in Jira issue)
    * if you 1st click on the button the position is OK (just below) but if you scroll before and then click the position is to low (seems to follow the scroll)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931523 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 12:32:11 +00:00
Hans Bakker 158fd4aec9 Update dutch translation, a contribution by Willem Janssen: OFBIZ-3652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 04:27:42 +00:00
Scott Gray 9658e8c30e Remove some unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931422 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 03:51:02 +00:00
Scott Gray 9b4de5dadc Added support for setting a class attribute (using widget-style) on the div rendered by ContainerField.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931416 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 03:31:24 +00:00
Scott Gray 990e174e75 Cleaned up renderContainerFindField [sic] to use the writer directly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931393 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 01:06:14 +00:00
Scott Gray 3f0a06483f Removed an unnecessary cast, some autogenerated TODO commments and added a missing @Override
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931378 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 00:18:52 +00:00
Scott Gray 29bf43bb3a Removed a field declaration that was already present on the superclass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931377 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 00:18:47 +00:00
Scott Gray 0b42ce7ffa A few basic code cleanups, nothing functional:
- Static field wasn't being accessed in a static way
- Removed a bunch of unnecessary casts
- Removed a redundant null check

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931374 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 23:57:22 +00:00
Scott Gray eee7ea6436 The noConditionFind parameter wasn't being passed from the performFind service to the prepareFind service but it's needed to perform some logic around the filterByDate condition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931283 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 19:29:46 +00:00
Scott Gray 90cc6d7794 Store the ArtifactInfo's Recently Viewed Artifacts list in the session as basic maps instead of ArtifactInfoBase objects that aren't serializable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931222 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 17:00:05 +00:00
Adam Heath 70d017f130 Bother, me == stupid, inverted the equalsHelper test. This fixes the
buildbot problem.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930979 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 23:09:31 +00:00
Adrian Crum 11f0e07d97 Corrected spelling/grammar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930741 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 19:44:06 +00:00
Adrian Crum 7a73dc39a1 Fixed broken compile.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930740 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 19:41:27 +00:00
Adam Heath 160e608257 Thread-pool baesd dependency resolution framework. This implementation
is also non-blocking.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930739 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 19:14:04 +00:00
Adam Heath 9a1b52fc36 Don't always recreate the nameSet each time; instead, make it a global
static.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930738 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 19:08:52 +00:00