Erwan de Ferrieres
002a8ed79f
Adding generic service messages for error/succes, so any service could use them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947611 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 11:50:10 +00:00
Erwan de Ferrieres
ee7d17c8cd
Better French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947506 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 22:08:00 +00:00
Jacques Le Roux
b76b4f3808
A patch from Sascha Rodekamp " Calendar Don't open in Lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3780 ) - OFBIZ-3780
...
After all the last Patches the calendar didn't opened in the lookups ... But here is the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947424 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 15:08:57 +00:00
Jacques Le Roux
14adf43d86
* Especially fix a bug in fieldlookup.js.
...
When using description-field-name in a layered lookup called from another layered lookup (recursively or not) the description-field-name parameter (target2) in the call from the 2d lookup button was not modified, therefore the link was not working.
Miscellaneous:
* Format and fix some typos in fieldlookup.js
* Removes now useless commented out functions set_value and set_values in lookup.ftl
* Improves comments in FormWidgetExampleForms.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947392 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 10:08:21 +00:00
Jacques Le Roux
1105653227
Add documentation to description-field-name attribute in lookup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947005 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 13:44:41 +00:00
Jacques Le Roux
ed4edcb32e
A patch from Sascha Rodekamp fix an issue with layered lookups call recursively in IE (see https://issues.apache.org/jira/browse/OFBIZ-3450 ) - OFBIZ-3450
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947004 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 13:42:45 +00:00
Hans Bakker
4ed7d3a044
fix a chart problem when a newer birt version in eclipse is used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946940 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 09:18:30 +00:00
Jacques Le Roux
3334d58ec8
A patch from Sascha Rodekamp "When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens" https://issues.apache.org/jira/browse/OFBIZ-3450 - OFBIZ-3450
...
Fixes: when user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.
Another issue related to external key is still existing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946596 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 11:47:30 +00:00
David E. Jones
5b7c6b73c2
Small change so that the lookup->target-parameter attribute is supported when also using the lookup->description-field-name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946593 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 11:27:16 +00:00
Erwan de Ferrieres
962c6f3ccc
udpating derby version to 10.6.1.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946556 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 07:48:15 +00:00
Adrian Crum
b832282533
Updated model widgets to eliminate calls to methods deprecated in previous commit. Widget comment state is stored in the renderer, not in the model. All widget comments work properly now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946431 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 21:57:18 +00:00
Adrian Crum
16929cabeb
Small change to ModelWidget.widgetBoundaryCommentsEnabled method - added ability to pass the rendering context in addition to the request parameters, plus I fixed the logic so it works the way it was originally intended.
...
To summarize:
1. The widget.verbose property in widget.properties is the global default setting.
2. The setting can be changed at the application level by putting the widgetVerbose parameter in the web.xml file.
3. The setting can be changed at the widget level by putting the widgetVerbose variable in the rendering context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946384 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 20:49:06 +00:00
Adrian Crum
30a5cffa2c
Moved 4 methods from ModelWidget to WidgetWorker and made them static. ModelWidget is supposed to be nothing more than a super class for the model widget classes, but it was starting to look like a "catch-all" or utility class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946298 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 17:38:08 +00:00
Adrian Crum
f44fb0e298
Reverting 946262 and 946264. The changes compiled okay, but they wouldn't run.
...
I'm going to take a different approach in a future commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946286 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 17:08:39 +00:00
Adrian Crum
0121b2bab3
Deprecated some methods in ModelWidget.java that are not thread-safe. Plus, the implementation of widget comments was flawed. Widget comments can be enabled/disabled on a per-request basis, but the setting was saved on a per-widget basis.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946270 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 16:50:27 +00:00
Adrian Crum
aea89155d3
Changed two more ModelWidget.java methods to static.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946264 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 16:36:58 +00:00
Adrian Crum
1598bfb858
Changed two ModelWidget.java methods to static.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946262 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 16:30:06 +00:00
Jacques Le Roux
fda988d301
Closes "Allow to open a layer lookup from a layer lookup recursively" ( https://issues.apache.org/jira/browse/OFBIZ-3693 ) - OFBIZ-3693
...
This commit removes all remaining <presentation="window">
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux
bcff9669d5
A patch from Atul Vani (modified from a Sascha Rodekamp's patch) "Allow to open a layer lookup from a layer lookup recursively" ( https://issues.apache.org/jira/browse/OFBIZ-3693 ) - OFBIZ-3693
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946061 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:26:08 +00:00
Erwan de Ferrieres
1769a48bb1
Missing screen when using the portal admin in webtools
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945728 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 16:10:10 +00:00
Erwan de Ferrieres
9e7053e953
XHTML validation errors round 2++ (framework) - OFBIZ-3761 ( https://issues.apache.org/jira/browse/OFBIZ-3761 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945582 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:34:42 +00:00
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