Jacques Le Roux
bb445da567
A patch from Erwan de FERRIERES "2nd amelioration on time-dropdowns" ( https://issues.apache.org/jira/browse/OFBIZ-2955 ) - OFBIZ-2955
...
When using drop-downs, the timestamp is fully displayed (date + time), this patch will show only the date in the date textbox, and the time (hours + minutes) are using the drop-downs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816943 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 16:56:41 +00:00
Scott Gray
d243d7a1fe
More xhtml validation: onSubmit -> onsubmit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816859 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 06:33:42 +00:00
Scott Gray
74d0173420
More xhtml validation: selected="selected"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816857 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 05:57:23 +00:00
Jacopo Cappellato
80c6b31e7f
Improved the way encoding is treated in the MacroFormRenderer, now encode-output attribute is always considered.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816522 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:18:12 +00:00
Jacques Le Roux
4f096038f2
A patch from Erwan de FERRIERES "time-dropdown should start at 0 and not 1" ( https://issues.apache.org/jira/browse/OFBIZ-2950 ) - OFBIZ-2950
...
When using a time-dropdown, drop-downs are starting at 1 and not 0. So we can't select times between 00:00 and 1:00. Timers start at 01:01.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816255 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:12:17 +00:00
Jacopo Cappellato
8069ba7431
Escaping characters to prevent issues with fields containing quotes etc.
...
Thanks to Marco Risaliti for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816051 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 05:01:42 +00:00
Jacques Le Roux
372e2f01fa
Some typos fix, after Scott's remarks on dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815770 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 13:27:05 +00:00
Jacques Le Roux
b71383f6ac
A patch from Nicolas Malin "Add confirm action before do submit action." ( https://issues.apache.org/jira/browse/OFBIZ-2916 ) - OFBIZ-2916
...
Add this feature to forms in a consistent way with existing feature in menu (enhancing this previous feature)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815734 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:16:03 +00:00
Anil Patel
e24a90645f
Oops, had little mistake in markup ending tags.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814262 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 02:54:13 +00:00
Anil Patel
64c906feda
Using style attribute value to determine appropriate html element and render it. Idea is to render better markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814260 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 02:03:46 +00:00
Jacopo Cappellato
86a3dd0f8a
Fixed (hopefully, after a few attempts) issue with " character messing up csv exports.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813360 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 10:40:56 +00:00
Hans Bakker
93d5874b72
disable not yet finished code, was under the impression it should not interfere with something else, reported by Jacopo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812811 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 08:08:59 +00:00
Jacques Le Roux
257a5b4d59
A replacing patch from Scott 'error to parse menu with " on screelet header' ( https://issues.apache.org/jira/browse/OFBIZ-2873 ) - OFBIZ-2873
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 15:02:16 +00:00
Jacopo Cappellato
e0b0efe89f
Wow, I did another error in my last commit: removed a wrong quote from my last commit; thanks again to Pranay Pandey for the report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812511 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:49:23 +00:00
Jacopo Cappellato
5c0d54d731
Missing quote from my last commit; thanks to Pranay Pandey for the report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812504 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:37:50 +00:00
Jacopo Cappellato
f175fb2fae
Misc fixes for html form widget rendering, including patch from Pranay Pandey OFBIZ-2910
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812485 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:52:03 +00:00
Jacopo Cappellato
5a48eefcc0
Fix for error happening when using a csv export with fields containing quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812483 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:46:28 +00:00
Scott Gray
9d3a5f1a11
It's invalid to render a select element without any option elements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812465 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:24:23 +00:00
Scott Gray
cc24956df1
validation improvement, onSubmit -> onsubmit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812454 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 10:56:13 +00:00
Scott Gray
7adc4e75cc
Hidden forms don't have submits so there's no point in trying to disable them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812421 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 09:48:45 +00:00
Jacopo Cappellato
0b0e5143d7
Fix to prevent NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812120 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 13:09:47 +00:00
Hans Bakker
d6a65c264a
helpscreens placeholders now converted to the docbook V5 format inclusive of namespace support, updated the apache ofbiz document to explain how to create helpscreens, created an ftl template to display the docbook help screens, docbook pdf generation now almost working: it can create a local pdf file, but streaming to the browser does not work..if anybody interested to help me check modelscreenwidget.java line 1206
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:39:20 +00:00
Jacques Le Roux
f2016738d1
A patch from Nicolas Malin 'error whan parsing menu with " on screelet header' ( https://issues.apache.org/jira/browse/OFBIZ-2873 ) - OFBIZ-2873
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810807 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:22:49 +00:00
Hans Bakker
fe0c90452e
correction in testing for empty...could cause a NPE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810019 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 13:12:46 +00:00
Scott Gray
49fe2b05ce
Switched back to using scroll insensitive cursors, fixes problem reported by Jacques and Jacopo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809425 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:15:01 +00:00
Scott Gray
c15dc88751
Fix potential issue pointed out by Jacopo, double quotes with a field value must be replaced by double double quotes
...
e.g. "42" Television" needs to be "42"" Television"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809263 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 08:14:41 +00:00
Scott Gray
61fbc38342
Continuation of Jacopo's commit, surround everything in quotes and the space removed in r809249 will prevent Excel from handling them incorrectly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:34:37 +00:00
Jacopo Cappellato
905a966ddb
Based on feedback from Scott Gray, removed space between fields separated by commas in CSV exports: it was causing values with quoted texts in fields imported in Excel.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809249 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:17:06 +00:00
Hans Bakker
841efcfafd
updated license files and improved docbook pdf generation: still however an empty pdf document
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809136 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:45:00 +00:00
Scott Gray
271e2f3430
Removing unnecessary beforeFirst() call, fixes problem reported by Matthieu Bollot on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:22:59 +00:00
Scott Gray
4f373bdf8e
Changes to the performFind and performFindList services to limit the size of the resultset where possible.
...
Changes to ModelForm to allow using form supplied pagination information as service parameters in the action tag, plus changes to how the list size is retrieved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808814 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:40:58 +00:00
Hans Bakker
59040b5ec8
Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Jacopo Cappellato
406a78b5ba
Temporary solution to avoid messed up CSV exports: commas are removed from the content of the fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805711 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:02:16 +00:00
Jacques Le Roux
7befd1d25e
no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Jacques Le Roux
4c442ee379
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Hans Bakker
31a5a0c5f4
reverted 804104 because of compile error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:48:06 +00:00
Hans Bakker
e40f03e356
adjustment of storing/retrieving timestamp in the proper timezone. In the database the time zone is always GMT
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:42:30 +00:00
Scott Gray
e371344391
Fixed double encoding problem reported by Jacopo on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803848 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:36:56 +00:00
Anil Patel
efb6d2cc8d
1) All columns with the exception of the first one have double-quotes around the text and the number fields.
...
Status : Resolved
2) I also noticed that the column headers (labels) are not matching the data after Column N.
Status : Resolved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803557 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:33:18 +00:00
Jacopo Cappellato
3367a59a28
Fix for bug reported by Hans Bakker in OFBIZ-2823.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803013 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 07:30:06 +00:00
Jacopo Cappellato
16a1a6e98a
Implemented CSV screen macro renderer; cleaned up existing csv widget forms that are now much more clean.
...
This is a good example of the great flexibility of widgets and the new macro renderer (no code was needed to implement the CSV renderer).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802400 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 15:49:04 +00:00
Anil Patel
0a2d41a6bc
Fix multi select option in form widget.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 06:50:27 +00:00
Adrian Crum
af68683f6b
Fixed a problem with HTML whitespace compression. Patch provided by Bob Morley - https://issues.apache.org/jira/browse/OFBIZ-2781 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800461 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:43:59 +00:00
Adrian Crum
2b9121fd39
Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Jacopo Cappellato
ba18ab3728
Fixed bug that was preventing the red-when attribute to work properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 16:05:36 +00:00
Adrian Crum
1f76c2f5ec
Moved user preferences code from Global Decorator to ScreenRenderer.java. Now user preferences can be queried before the Global Decorator is run.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796896 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:27:27 +00:00
Hans Bakker
c5cc3ef131
removed debug log statements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:32:48 +00:00
Anil Patel
a8d9581734
Enhancement to dropdown element of form widget. Now it can handle data of types other then String.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 05:27:54 +00:00
Adrian Crum
e4ee374a66
Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
...
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.
I'll let the dust settle from this, then I'll add the user-selected calendar capability.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
Jacopo Cappellato
d797f8fb8d
Fixed issues with new renderers when a link was inserted in the form title. Thanks to Divesh Dutta for the bug report and partial fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 09:20:07 +00:00