Scott Gray
31f94919b7
Replaced the Tigra calendar with Calendar Date Select ( http://code.google.com/p/calendardateselect/ ) - OFBIZ-1808
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 08:45:10 +00:00
Adrian Crum
c596c106e6
Eliminated duplicate CSS style.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663415 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 23:27:16 +00:00
Adrian Crum
037401a477
Fixed a type in header.ftl.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663412 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 23:17:40 +00:00
Andrew Zeneski
fe68a160d9
now excluding mx4j, commons-el and mail.jar since they are included w/ JBoss and causing conflicts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663395 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 22:41:23 +00:00
Adrian Crum
1f1f2552c1
A basic implementation of a help system, based on work contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1750 .
...
There is an example of how it is used in the EditExample screen of the Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 21:49:38 +00:00
Adrian Crum
399d67552b
Small fix for HtmlMenuRenderer.java - tooltip and style attributes were being ignored.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663376 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 21:30:13 +00:00
Andrew Zeneski
bc578cce65
changed old usage of tryGenericConnectionSources() to getManagedConnection()
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663349 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 19:14:41 +00:00
Jacques Le Roux
b1ad3b5e14
A patch from Nicolas Malin "CheckDb interface not work for create fkidx" ( https://issues.apache.org/jira/browse/OFBIZ-1819 ) - OFBIZ-1819
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663022 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 07:54:54 +00:00
Andrew Zeneski
fdc09904a6
updated DBCP with latest snapshot from Maven repository 2007-11-25. This should correct the memory leak reported in JIRA OFBIZ-1818.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662852 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 18:09:56 +00:00
Adrian Crum
bbd26287a1
Fixed thread-safe issues in the tree widget. Eliminated compiler warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662847 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 17:32:07 +00:00
Adrian Crum
8074d39e80
Fix for NPE reported by Jacopo on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662825 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 15:20:10 +00:00
Jacques Le Roux
d4df5f50e0
reverted r662598, I used Oxygen CSS editor and it seems that it is doing some things by itsef. It's a pity because it was very convenient (and it has a formating/indentation feature).
...
Re-added the hide class
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662732 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 10:19:16 +00:00
Jacques Le Roux
5186b7d652
An undesired change has slipped in my previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662699 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 08:38:32 +00:00
Jacques Le Roux
4921c2e15b
A skip navigation hidden button (accessibility)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662598 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 23:08:54 +00:00
Adrian Crum
7da9f667dc
Eliminated compiler warnings from most of the screen widget library. No functional changes.
...
I skipped the tree widget because it is not thread safe and it needs some work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662590 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 22:23:55 +00:00
Adrian Crum
e6cf1921c2
Small enhancement to the UtilGenerics class. Added two helper methods to make it easier to write type-safe code.
...
Now you can do things like
Map<String, Object> params = UtilGenerics.toMap(context.get("parameters"));
without causing compiler errors or throwing ClassCast exceptions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662589 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 22:20:54 +00:00
Adrian Crum
3cb3602fcb
Small improvement to the MapStack class. The create(Map baseMap) method will create a standalone stack if baseMap is a MapStack. This will help reduce the code needed in calling methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662511 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 18:40:05 +00:00
Jacopo Cappellato
42723effc3
Implemented new event handler for Groovy scripts; converted two Beanshell events to Groovy.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662337 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:28:55 +00:00
Jacopo Cappellato
2128610fa6
Based on a recent discussion in the dev list, and especially on the comments from David Jones and the work done by Adrian Crum, I'm committing a patch to refactor all the widget rendering methods and some of the content and Freemarker rendering classes to use Appendable instead of Writer. OFBIZ-1816
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662328 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 05:27:12 +00:00
Jacques Le Roux
64aae96be1
Some French labels fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662287 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 21:04:21 +00:00
Jacques Le Roux
471f12f8b3
Some French labels fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662285 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 20:44:05 +00:00
Adrian Crum
c37f4f58f7
Screenlet widget bug fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662258 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 18:05:58 +00:00
Adrian Crum
2f776dc3e5
Improved Find Screen decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662221 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 14:35:26 +00:00
Adrian Crum
c058f0872d
Screen Widget refactor - changed StringBuffer arguments to Writer arguments to help make the screen widget API more consistent. Also added some parameterized data types to cut down on the unchecked warnings.
...
There are no functional changes to the screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662123 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 01:50:41 +00:00
David E. Jones
670dabded0
Fixed bug reported by Ritesh Trivedi where an encrypted field accessed through a view entity was not decrypted
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662090 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 21:34:01 +00:00
Adrian Crum
674077d6c2
Fixed bug in rendering Timestamp milliseconds, https://issues.apache.org/jira/browse/OFBIZ-1815 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661962 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 06:33:27 +00:00
Anil Patel
5f06a4c753
Adding tooltips effects javascript library,
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661954 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 05:46:44 +00:00
Adrian Crum
834219e652
Small enhancement to the screenlet widget - you can specify if its initial state is collapsed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661798 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 18:01:42 +00:00
Andrew Zeneski
a935abe496
added jboss 4.2.2 app server configuration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661787 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 16:44:09 +00:00
Andrew Zeneski
9e17c4838a
added additional data to the dataMap; cleaned up imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661762 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 15:24:39 +00:00
Jacopo Cappellato
a5159661af
Removed unnecessary position attributes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661743 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 14:49:15 +00:00
Scott Gray
48c686d203
Applied patch from Raj Saini OFBIZ-1812, added additional support for Visa Electron card numbers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661677 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 12:13:29 +00:00
Adrian Crum
2d89f0f365
Form widget Ajax refinements.
...
Changed attribute-based ajax calls to on-event-update-area elements. Fixed bug in autocomplete. Cleaned up some of the rendering code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661450 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:48:24 +00:00
Adrian Crum
90932e0a09
As discussed on the dev mailing list, add a new form widget field sub-element called on-field-event-update-area - intended initially for Ajax support. Each field widget renderer will perform Ajax calls appropriate for the control.
...
I'm in the process of finishing the widget code that implements this, but I wanted to get this out there right away due to the parallel Ajax efforts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661345 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 15:06:42 +00:00
David E. Jones
64399e2f2e
Small change to fix NPE by checking for null instead of checking to see if there is an entry as it could be null
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661338 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 14:31:56 +00:00
Scott Gray
a94020d6df
Add support for groovy scripts to form widget actions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661274 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 09:54:52 +00:00
David E. Jones
120c80da1a
Added type attribute to drop-down element for auto-complete variation; will use a server-side event that gets the form name/location and the field name from the session and then look at the form definition to see the option tags under the drop-down element to see what to query on along with the partial text entered for the results to send back to the client
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661182 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 02:23:55 +00:00
Adrian Crum
1e1f0cf697
Oops, missed one file in last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661096 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:29:05 +00:00
Adrian Crum
f6d176bff3
Misc layout fixes:
...
1. Reverted rev 659942.
2. Added new CSS class no-clear. Example of how it is used can be found in the SFA component.
3. Some IE7 CSS fixups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661095 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:26:52 +00:00
Jacopo Cappellato
da20a6682c
Fixed the direction of the relationship for group members of Europe.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660988 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 15:47:48 +00:00
Jacques Le Roux
9a687d6094
Suggest a workaround for RMI on Windows. More at https://issues.apache.org/jira/browse/GERONIMO-4037?focusedCommentId=12600300#action_12600300
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660877 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 09:31:25 +00:00
David E. Jones
a97dcc600a
Added further support for javolution ObjectFactory which will bring the efficiency improvements that along with syntax cleanup are part of this whole factory method effort
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660850 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:58:13 +00:00
David E. Jones
82df3529e2
More cleanups of now deprecated constructors and what what
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +00:00
Jacopo Cappellato
fbc52e02dc
Several improvements to the Italians labels by Bruno Brusco: OFBIZ-1805
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660816 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:38:39 +00:00
David E. Jones
b9d6f8b524
Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones
3543d6abe3
Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
David E. Jones
c434fd1614
Based on some comments from Joe Eckard and looking at the source for GroovyScriptEngine to see what it caches this now caches and runs based on parsed scripts, increasing performance
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660695 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 20:44:13 +00:00
David E. Jones
76196922b9
Fixed issue with groovy where if Script was cached the context was ignored; note that I could not find a thread safe way to run a parsed script, so this versio only caches the script text; need to find a way to parse just the script and run from the cache; the performance in this isn't terrible, but isn't good either
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660228 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 16:52:54 +00:00
David E. Jones
dd61115acd
Moving jpim from marketing to base to be more reusable
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660123 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 08:38:02 +00:00
Jacopo Cappellato
b58053df4b
For backward compatibility we load the html platform-dependent template if the one for xsl-fo is not found.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660108 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 06:37:58 +00:00