Commit Graph
4635 Commits
Author SHA1 Message Date
Scott Gray b033379d37 class is a reserved javascript keyword so you have to wrap it in quotes if you want to refer to an elements class attribute (I don't think Firefox complains but Safari does)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935117 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 03:23:25 +00:00
Adrian Crum b6e2455579 An improved Assert class - replaces the one I took out.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935096 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 23:29:07 +00:00
Jacques Le Roux cda9848407 Labels for r935075 ("Change the lookups in example to better demonstrate the differences between popup and layer")
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935084 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 21:52:30 +00:00
Jacques Le Roux f390b092a3 Change the lookups in example to better demonstrate the differences between popup and layer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935075 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:38:53 +00:00
Erwan de Ferrieres 6d4d2a3815 Shortening some French uiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934739 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 10:40:41 +00:00
Adrian Crum 0909a29080 One more small performance tweak for TimeDuration.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934543 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:50:04 +00:00
Andrew Zeneski d78152f6c8 implemented <script> tag in minilang that works exactly the same way as the screen widget version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934510 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:32:35 +00:00
Adrian Crum b5bd489ca5 Fixed a TimeDuration speed issue that was revealed by Coburtura.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934289 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 05:10:59 +00:00
Adrian Crum 896222b7fe Revert unintentional file change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934211 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:54:29 +00:00
Adrian Crum fa825dd956 Reverting my last commits. I just found out Apache Commons Validate does the same thing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934179 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:22:26 +00:00
Adrian Crum beb4b8bcaa Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:09:42 +00:00
Adrian Crum a05a3dfcab Added an Assert class. It should make argument checking easier.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934166 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:03:46 +00:00
Erwan de Ferrieres e0033c6c5c Applying OFBIZ-3694 "Pass Accounting label to Common Label". The AccountingNoRecordFound is now CommonNoRecordFound
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 09:19:52 +00:00
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