Commit Graph
70 Commits
Author SHA1 Message Date
Jacopo Cappellato 5b104d9938 Updated signature for renderSubmitField macro for text, xml, fo, csv
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:15:18 +00:00
Jacopo Cappellato 6a845bf5a4 Added empty menu widget macro renderers for csv, xml, xsl-fo, text: they are require to properly render screens containing menu.
However they are empty and so the menu will not be rendered with this output (which should be fine).
OFBIZ-3207


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 15:26:45 +00:00
Bilgin Ismet Ibryam a68a8a722f Added FTL macro for the tree widget.
https://issues.apache.org/jira/browse/OFBIZ-2550

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880683 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 09:16:24 +00:00
Jacopo Cappellato 40dc7cd9ab Replaced hardcoded value for view size in pagination macro with the viewSize variable.
Thanks to Divesh Dutta for the patch, OFBIZ-3194

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835925 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 17:12:52 +00:00
Scott Gray aa499be644 Span elements weren't being created for the ajax in place editor, fixes OFBIZ-2494 reported by Jacques Le Roux
Also removed inPlaceEditorId from the code since it is always equal to idName anyway

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835585 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 22:06:34 +00:00
Bilgin Ismet Ibryam 108bcc056e Fixed rendering of image elements inside link elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835081 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 21:38:16 +00:00
Anil Patel ca9ba906dd use has_content to check if text parameter has any value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834748 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 03:13:35 +00:00
Jacques Le Roux dc05c50d69 A patch from Bruno Busco "The icon used for accessing the lookups should be defined by the theme" (https://issues.apache.org/jira/browse/OFBIZ-3176) - OFBIZ-3176
In this patch the lookup field renderer has the link image not as a static img field but specified by the theme through a style class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833937 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 22:35:51 +00:00
Jacques Le Roux c1ccfd9975 A patch from Bruno Busco "Collapsible Field Groups with clickable title" (https://issues.apache.org/jira/browse/OFBIZ-3176) - OFBIZ-3176
in the attached patch there is a new rendering for the Group Field Title bar.
I removed the table and used simple divs.
Moreover the field group title is now all clickable in order to collapse expand the group.

The necessary changes to all themes are also included in the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833910 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 18:36:30 +00:00
Jacques Le Roux e4df776a22 A patch from Bruno Busco "Adding pagination icons to Bluelight theme" (https://issues.apache.org/jira/browse/OFBIZ-3168) - OFBIZ-3168
A change that allows a theme to replace the "Prev" "Next" labels with icons. Now only on Blue Light theme/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833378 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 12:43:22 +00:00
Jacopo Cappellato 0a94eb4edc Added missing macro renderer parameters. Thanks to Mridul Pathak for the (slightly modified) patch. OFBIZ-3147
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833094 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 17:32:49 +00:00
Jacopo Cappellato b46bc41636 Added missing input parameters for widget renderer macros.
Fixed the xsl-fo code to display the text of an hyperlink field.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833077 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 16:44:46 +00:00
Bilgin Ismet Ibryam 2f84835b65 Enabled on-field-event-update-area on lookup elements which was already available in HtmlFormRenderer.
This can be seen in Add example feature application form.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832551 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 20:52:01 +00:00
Hans Bakker 7248f6db66 Jira issue: https://issues.apache.org/jira/browse/OFBIZ-3128
1. New SFA Account/contact/lead find/list screens replacing ftl/partysearch with form/performfind.
2. SFA now compatible with the party manager with the 'all' option still have the previous 'my' option
3. added new widget property: 'text find' to set the default here and not in the xsl
4. added 'container' as a field to the form in order to insert forms dynamically with an ajax request
5. fix bug for using radio field.
6. Implemented comments on this jira issue including using the find decorator 

Contribution by Chattree, an employee of Antwebsystems Co.Ltd.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 03:59:01 +00:00
Bilgin Ismet Ibryam fea3c7fca3 A patch from Bruno Busco "Adding a page size selector in the pagination bar" - https://issues.apache.org/jira/browse/OFBIZ-3083
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831676 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 13:51:42 +00:00
Bilgin Ismet Ibryam a5654d9e1a Added a missing curly brace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831590 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 20:33:12 +00:00
Adrian Crum 6281f15b38 Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +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
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
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
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
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
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
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
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 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
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
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
Jacopo Cappellato b2eb5fc5b1 Misc fixes for the text macro renderer's templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791442 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 11:25:49 +00:00
Jacopo Cappellato 2645431346 Fix for a bug that was causing layout issues in widget forms definitions containing use-when directives when rendered thru FO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791046 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 01:35:53 +00:00
Jacopo Cappellato 266bbababb Misc fixes for the templates of the text widget macro widget renderer. Thanks to Rishi Solanki for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790894 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 13:04:49 +00:00
Jacopo Cappellato 0ca20af910 Added missing </macro> tag. Thanks to Brajesh Patel for the bug report in OFBIZ-2671
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789855 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:05:55 +00:00
Jacopo Cappellato 33a12bff54 Wrong macro parameters defined in the text widget macro library. Thanks to Brajesh Patel for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788793 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 17:58:14 +00:00
Jacopo Cappellato 3193098744 Applied fix for pagination in new macro renderers from Guo Weizhan: OFBIZ-2549
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786387 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 06:32:05 +00:00
Jacopo Cappellato dcdffcc54e Added missing arguments to widget renderer macro; thanks to Marco Risaliti for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785509 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 08:43:28 +00:00