Erwan de Ferrieres
ebbef0d683
As suggested by Bruno in this thread, refactoring in charts
...
http://ofbiz.135035.n4.nabble.com/Charting-in-OFBiz-td2219378.html#a2219378
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945523 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 07:14:50 +00:00
Hans Bakker
3d6839ca91
date range selection in a form did not work for 'lessthan' operator added to the find services
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945482 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 03:55:48 +00:00
Erwan de Ferrieres
f4fc13be2e
Adding ISO216 pageMasters, and including all the page formats in start.fo.ftl, so it can be used when printing a document
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945340 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 20:17:30 +00:00
Adrian Crum
f485030987
Small fixup for my previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945324 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 19:26:20 +00:00
Erwan de Ferrieres
212b8a6ba2
First version for a spinner when calling ajax requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945126 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 13:01:20 +00:00
Jacques Le Roux
31d2f5094e
A patch from Ankit Jain "Link back to login page from Forgot Password page" https://issues.apache.org/jira/browse/OFBIZ-3469 - OFBIZ-3469
...
This one works! (with a little help from me)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945061 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 10:19:18 +00:00
Erwan de Ferrieres
f2810debd0
Adding the flotr debug library (not compressed), forgot to add it in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945045 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:33:34 +00:00
Erwan de Ferrieres
a877c6fc4b
Adding the capacity to create charts in OFBiz. Examples are based on the example component, and examples must be created to show charts.
...
Charts are using the flotr library (http://code.google.com/p/flotr/ ) which is under a MIT license and is based on the Prototype Javascript Framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945044 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:29:38 +00:00
Jacques Le Roux
ed6dda1757
Revert r945037, because I found it's not right when going back from logout -> forgot password, I got this error message
...
org.ofbiz.webapp.control.RequestHandlerException: Unknown request [authview]; this request does not exist or cannot be called directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945042 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:26:48 +00:00
Jacques Le Roux
9bdd97a693
A patch from Ankit Jain "Link back to login page from Forgot Password page" https://issues.apache.org/jira/browse/OFBIZ-3469 - OFBIZ-3469
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945037 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:13:36 +00:00
Adrian Crum
e9c4e5c9c5
Converted screen widget sub-widget creation over to the factory pattern. Users can create their own sub-widgets to augment or replace the existing ones.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944898 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 19:31:19 +00:00
Bruno Busco
4e389ec6b1
Bug Fix: The pagination controls at the top of the form are not rendered for "multi" forms but only for "list" forms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944669 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 15:42:08 +00:00
Jacques Le Roux
62976e36fb
We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
...
It's not related to previous patches committed but an issue which is remaining and we have to face now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux
e7264809aa
A patch for "Allow to open a layer lookup from a layer lookup recursively" ( https://issues.apache.org/jira/browse/OFBIZ-3693 ) - OFBIZ-3693
...
I keep the issue open because there is still a not blocking little quirk. I will have a look soon...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944621 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:03:11 +00:00
Jacques Le Roux
ed63676d23
A patch from Ankit Jain "Layered lookup inside the layered lookup not working" https://issues.apache.org/jira/browse/OFBIZ-3768 - OFBIZ-3768
...
This patch definitely closes this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944614 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 11:42:01 +00:00
Scott Gray
70a9563491
Removed the following deprecated classes:
...
org.ofbiz.webapp.event.JSONSimpleEventHandler
org.ofbiz.webapp.event.AbstractJSONEventHandler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944549 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 02:22:11 +00:00
Adrian Crum
2c6bdf1f97
Removed deprecated ApacheFopFactory.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944517 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 23:40:17 +00:00
Scott Gray
86457f2510
Removed redundant null check
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944487 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:37:33 +00:00
Scott Gray
3d643b426a
The following deprecated methods have been removed from org.ofbiz.base.util.UtilXml:
...
writeXmlDocument(OutputStream, Element, OutputFormat)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944486 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:37:24 +00:00
Scott Gray
a4e5993cab
The following deprecated methods have been removed from org.ofbiz.base.util.StringUtil:
...
htmlSpecialChars(String)
- Use StringUtil.HtmlEncoder.encode(String) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944180 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:47:27 +00:00
Scott Gray
11adb3c8c4
The following deprecated methods have been removed from org.ofbiz.base.util.cache.UtilCache:
...
setMaxSize(int)
- Use setMaxInMemory(int) instead
getMaxSize()
- Use getMaxInMemory() instead
hasExpired(Object)
clearExpired()
clearExpiredFromAllCaches()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944179 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:47:14 +00:00
Jacques Le Roux
7bb30f3c4f
A patch from Sascha Rodekamp "The minimize/enlarge buttons (+ -) blocks the layer" ( https://issues.apache.org/jira/browse/OFBIZ-3692 ) - OFBIZ-3692
...
The previous related fix (r942084) was working locally but not on the demo server. We have not ideas why yet but this patch is a try to fix this issue...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943909 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 15:20:18 +00:00
David E. Jones
602873de70
Made widget link parameter treatment more consistent; before if you specified a paramaeter name without a from-field then it wouldn't convert the object according to locale; now it does the same thing no matter where the object comes from (ie explicit from-field or implied by the parameter name); this fixes a timeZone inconsistency that causes links with time/timestamp parameters to not work
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943843 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 08:32:09 +00:00
David E. Jones
125c247997
Removed extra space; no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943842 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 08:30:25 +00:00
Scott Gray
d32a394855
Fix bug in UtilCache, setSizeLimit(int) had no effect
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943755 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 23:55:24 +00:00
Erwan de Ferrieres
e32f2be361
Better French uiLabels for PRUN statuses
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943415 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 09:01:56 +00:00
Jacques Le Roux
df9963f0e5
A patch from Nicolas Malin "Pass eCommerce label to Common Label" https://issues.apache.org/jira/browse/OFBIZ-3694 - OFBIZ-3694
...
Some labels changes, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942818 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:41:18 +00:00
Jacques Le Roux
25f33ca608
Try to keep things clean (well formatted)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942702 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 10:12:18 +00:00
Jacques Le Roux
b2b396cee1
Makes things clear: documentation never hurt (when accurate)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942668 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 06:42:28 +00:00
Jacques Le Roux
2cec8a31b0
client-autocomplete-field="true" is useless since it's the default value (thanks to Scott for the reminder). I was thinking about lookup descriptions, but Bilgin has activated it by default at r936638, so nothing is needed :o)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942667 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 06:36:43 +00:00
Jacques Le Roux
b759c6031b
Show client-autocomplete-field usage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942576 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:39:03 +00:00
Jacques Le Roux
d8e6120200
By default, the layer is not centered anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942574 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:47 +00:00
Jacques Le Roux
b9ccc674b9
Clarify things a bit more (from a question on user ML)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:04 +00:00
Jacques Le Roux
c44089d6a9
As it's the default, presentation="layer" is not needed anymore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942572 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:13:01 +00:00
Erwan de Ferrieres
4661365954
Facilities management for a productStore, made using the new set of portals/portlets.
...
It can be reached at this address :
https://localhost:8443/catalog/control/ProductStoreFacilities?productStoreId=90100
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942544 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 14:59:11 +00:00
Erwan de Ferrieres
4f90299ebd
Following a discussion on dev list, moving portal administration to webtools instead of myPortal ( http://ofbiz.135035.n4.nabble.com/erwan-contributions-td2122600.html#a2122600 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942406 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 15:52:31 +00:00
Scott Gray
0f30714350
Set svn properties on all freemarker files that were missing them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00
Jacques Le Roux
abf9a51d32
A patch from Sascha Rodekamp "The minimize/enlarge buttons (+ -) blocks the layer" ( https://issues.apache.org/jira/browse/OFBIZ-3692 ) - OFBIZ-3692
...
This fixes the last issue with the FTL layered lookups but is actually more general as it uses a 1999 origin when the HtmlScreenRendere class uses 999.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942084 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 14:27:26 +00:00
Jacopo Cappellato
0dd1427f0a
Added ability to override the type, colName and description of an existing entity field using the extend-entity definition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942076 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 14:08:39 +00:00
Scott Gray
60707b87bf
Added the tomcat-juli and tomcat-juli-adapters jars from tomcat extras, logging is back to normal now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942028 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 08:29:17 +00:00
Erwan de Ferrieres
4c87323d82
Modification on previous commit (941261) : we need to return an empty string if there is no value found for the key, regardless of whether debuging is on or off
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941600 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 07:56:23 +00:00
David E. Jones
a89f19306e
Improved error message when screen marco rendering fails to show the macro icall text to give you a clue about what failed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941329 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 14:53:03 +00:00
David E. Jones
1b2bbe40c5
Check for bad entity name and return a better error message than an NPE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941284 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 13:40:33 +00:00
Erwan de Ferrieres
c2ecf31559
A slighty modified patch from Chris Snow "Field description tooltips show key if help text is not found" OFBIZ-3749
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941261 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 11:53:06 +00:00
Scott Gray
87d4de1711
Missed one of the calls to the now deprecated methods. Removed a couple of unnecessary casts while I was at it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941205 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 08:51:07 +00:00
Scott Gray
2ed23a85e6
ModelMenu objects were being instantiated with (and then keeping references to) Delegator and LocalDispatcher objects. Obviously not ideal for multi-tenanting and the like.
...
To fix:
- Deprecated the ModelMenu constructor and replaced it with one that doesn't take a delegator/dispatcher
- Removed ModelMenu's dispatcher/delegator fields and deprecated the get methods for them
- Took the getDispatcher and getDelegator methods from ModelForm and pushed them down to ModelWidget so that they can be used by ModelMenu as well
- Deprecated the MenuFactory methods that take delegator/dispatcher and replaced them with ones that don't
- Altered any code that was using the newly deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941181 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 07:17:12 +00:00
Scott Gray
549302a5de
Remove a couple of unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941178 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 07:16:55 +00:00
Scott Gray
94bc3f63ca
Put the null check a little higher so that it actually does the check before an NPE can occur. Giving up on this transform, I hate the content component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941139 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 02:25:26 +00:00
Scott Gray
8bc1d451e0
Document the list of transform arguments (no idea what they do at the moment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941130 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 01:13:58 +00:00
Scott Gray
5f0606e67f
Rearrange some local variables in the hope of making things more readable
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941129 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 01:13:47 +00:00