Erwan de Ferrieres
ed69193490
BIRT is starting at 1, so need to add 1 to the list size
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990829 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 15:50:07 +00:00
Jacques Le Roux
0bcdc3e955
Better comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990328 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:08:45 +00:00
Erwan de Ferrieres
fc024e7080
OFBIZ-3901 - Birt charts and PDF generation -- now Birt PDF files containing charts are generated.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989593 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 10:27:19 +00:00
Erwan de Ferrieres
0c34a47300
no functionnal changes, just reorganizing data order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989041 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 12:06:37 +00:00
Erwan de Ferrieres
99eace2c07
Examples on creating charts with Birt -- HTML generation is OK, still some work to do on PDF
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988846 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 07:53:56 +00:00
Jacques Le Roux
792aa82bee
A solution for "State field is missing - Not in List or N/A" reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3247 - OFBIZ-3247
...
I finally decided to use the new Dependent Dropdowns mechanim.
I have also refined how it's used in Example to avoid confusion, so changed setDependentDropdownValuesJs.ftl to pass paramKey when it's different from mainId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988508 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 12:32:52 +00:00
Erwan de Ferrieres
75b0af3628
Refactoring on Example controller to include the Birt's one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987555 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:49:46 +00:00
Jacques Le Roux
72e99f8d44
revert r987277, the comment was right, sorry :/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987348 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 23:20:50 +00:00
Jacques Le Roux
0a06065137
This comment
...
<!-- here mainId and its key are same -->
was false in this case (true for category/products)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987277 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:34:16 +00:00
Jacques Le Roux
c7f7506a48
Not a big deal: Forgot to replace selectedStateProvinceGeoId by selectedDependentOption
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987276 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:28:58 +00:00
Erwan de Ferrieres
becc213433
removing trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987271 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:07:34 +00:00
Jacques Le Roux
be40037bef
Forgot to comment out now useless setCountryStatesEventJs.ftl call in r987266
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987267 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:54:43 +00:00
Jacques Le Roux
e3ee5b8035
From Scott's remark, removes dependency from Product component in dependent dropdowns example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987266 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:49:32 +00:00
Erwan de Ferrieres
6e2431837e
removing dependency to product and using new example demo data for reporting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987265 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:46:27 +00:00
Erwan de Ferrieres
7c2cd523bf
Adding example demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987264 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:45:02 +00:00
Jacques Le Roux
7a285eed10
Miscellaneous improvement in Form Widgets examples. Notably introduces an, as much as possible generalized (so far), dependent drop-downs example. I have introduced 2 couples of dependent drop-downs.
...
The 1st one, country/states, is a common one and does not need (ie it's better to not) to be generalized. It can be used as is. It needs some pieces which are all included, see comments and follow...
The 2d, category/products, have been taken as example but is not a good candidate. What if you get much categ or/and products? Anyway it's a good OOTB example and I had it at hand, so I used it. I have tried to generalize (abstract the couple of dropdowns) and it's almost there. The only issue I crossed, is when you want to use a couple of dependent drop-downs in the same form. As it's not a common case, the setDependentDropdownValuesJs.ftl template-script can be used in most cases...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986370 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 16:18:24 +00:00
Erwan de Ferrieres
70767d45b9
removing trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986096 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:58:02 +00:00
Erwan de Ferrieres
0ae7083542
Adding geolocation using openstreetmap, examples are taken from the google existing ones
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986095 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:56:25 +00:00
Adam Heath
b273b52dad
Finally created a script to find and fix tons of missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adam Heath
ac2299c50e
Fix a bunch of no final newline issues.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Hans Bakker
7801aaf359
add a explanation how the 'widgetVerbose' parameter can be used in web.xml and comment out the setting in the example component because widget comments should be shown out of the box there.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962392 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 02:34:22 +00:00
Jacques Le Roux
9ef845d0ad
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
47b0020afe
A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller( https://issues.apache.org/jira/browse/OFBIZ-3469 ) - OFBIZ-3469
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux
6193dd4e53
<author>None</author> is totally useless and we don't need an author OOTB
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux
63fd94e778
Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux
2a1a5aee14
We don't need
...
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783 ) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +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
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
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
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
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
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
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
dd11ac1b1a
A patch from Ankit Jain "Allow to open a layer lookup from a layer lookup" https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
...
Uncomment the line to return the name in the calling screen
I have also added groupName in the name returned (when looking for partyGroup)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940401 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 09:10:49 +00:00
Jacques Le Roux
465213125f
Temporary workaround to fix an issue in the lookup in lookup Example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940248 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 15:48:53 +00:00
Jacques Le Roux
4891c2f0cd
A modified patch from Sascha Rodekamp "Missing Buttons on LookUp Search" ( https://issues.apache.org/jira/browse/OFBIZ-3745 ) - OFBIZ-3745
...
For the pagination issue in bluelight and droppingcrumbs, the calendar issue in bluelight still exists
I have also added 2 lookup and calendar test fields in the 2d lookups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940234 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 14:15:34 +00:00
Jacques Le Roux
ad20beb7a9
An improving patch from Chris Snow "Provide better user help" ( https://issues.apache.org/jira/browse/OFBIZ-3702 ) - OFBIZ-3702
...
Answers 3 of 4 points Scott outlined on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939216 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 06:39:25 +00:00
Scott Gray
52b08f4574
Removed all references to the deprecated GenericDelegator method findAll(String)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938947 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 11:30:23 +00:00
Jacques Le Roux
2f6a7c3d09
A slightly modified patch from Chris Snow "Provide better user help" ( https://issues.apache.org/jira/browse/OFBIZ-3702 ) - OFBIZ-3702
...
Provides help by hovering over the field label. See Example for... an example :o) And also https://issues.apache.org/jira/secure/attachment/12442717/fieldLabelTooltip2.png
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938844 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 10:02:57 +00:00
Jacques Le Roux
4cd873d37c
A slightly modified "only one lookup decorator" patch from Sascha Rodekamp related to "Replace popup lookups by layer lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3442 ) - OFBIZ-3442
...
Merge the 2 lookup decorators in only one and dynamically adapt the rendered content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935578 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:03:41 +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
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
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
Adrian Crum
da42890638
A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) ( https://issues.apache.org/jira/browse/OFBIZ-3622 ).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00