Commit Graph
869 Commits
Author SHA1 Message Date
Hans Bakker 512f29383d removed entries to non existing files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821710 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 07:56:50 +00:00
Adrian Crum a4d68934c9 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Bruno Busco 19463b758e Fixed markup for correct content list rendering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821498 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:19:45 +00:00
Jacques Le Roux ef8b371712 A patch from Patrick Antivackis "Improving the ContentMapFacade class in order to filter and sort results." (https://issues.apache.org/jira/browse/OFBIZ-2988) - OFBIZ-2988
Today's ContentMapFacade.class is mapped in the content application to the ${thisContent} variable in Freemarker templates.
Using {$thisContent.subcontent_all} return all the "subcontents" associated with thisContent sorting by -fromDate.
(in fact you usually use it like
<#list thisContent.subcontent_all as contentItem>
${contentItem}
</#list>
)
Using {$thisContent.subcontent.foo} return all the first "subcontent" associated with thisContent and mapped by foo mapKey (first sorted by -fromDate).
Unfortunatelly this facade don't bring any filter or sorting options.
I updated this class in order to allow to :
- sort the subcontents (both sucontent_all or subcontent.foo) by whatever field of the ContentAssocViewTo view. For this you need to write in the Freemarker template ${thisContent.setSortOrder(sortString)} before using the sucontent_all or subcontent .foo operations.
- filter the output of subcontent_all by mapKey. For this you need to write in the Freemarker template ${thisContent.setMapKeyFilter(mapKeyString)} before using the subcontent_all operation.
- filter the output of subcontent_all or subcontent.foo by statusId of the content. For this you need to write in the Freemarker template ${thisContent.setStatusFilter(CONTENT_STATUS)} before using the sbucontent_all or subcontent.foo operations.

Examples are given in the Jira issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821474 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 07:53:56 +00:00
Bruno Busco 18e1e159cc Changed back from <screenlet> to <container style="screenlet"...> pattern since the first seems still not usable in multicolum screens :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821280 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:26:23 +00:00
Jacques Le Roux fe6a959a74 A patch from Rohit Jain "In Content Manager component Remove Survey question link of Edit survey question page is showing error." (https://issues.apache.org/jira/browse/OFBIZ-2993) - OFBIZ-2993
Part of Main task for securing URLs in Freemarker templates files  (OFBIZ-2330)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821263 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 07:48:11 +00:00
Scott Gray 65221e1e3d Removed the following deprecated methods from DataResourceWorker:
renderDataResourceAsText(GenericDelegator, String, Map, GenericValue, Locale, String)
renderDataResourceAsText(GenericDelegator, String, Appendable, Map, GenericValue, Locale, String)
renderDataResourceAsTextCache(GenericDelegator, String, Map, GenericValue, Locale, String)
renderDataResourceAsTextCache(GenericDelegator, String, Appendable, Map, GenericValue, Locale, String)
getDataResourceTextCache(GenericValue, String, Locale, Map, GenericDelegator)
writeDataResourceTextCache(GenericValue, String, Locale, Map, GenericDelegator, Appendable)
getDataResourceText(GenericValue, String, Locale, Map, GenericDelegator)
writeDataResourceText(GenericValue, String, Locale, Map, GenericDelegator, Appendable)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821252 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 05:24:00 +00:00
Scott Gray e419be8e1f Remove usage of a deprecated DataResourceWorker method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821250 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 05:16:30 +00:00
Scott Gray 13d77a190f Remove usage of deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821248 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 05:06:54 +00:00
Scott Gray 9d6f469d3f Removed use of a deprecated DataResourceWorker method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821244 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 04:57:00 +00:00
Scott Gray 9e77901bf8 Cleaned up imports
Additional generics markup
Enhanced for loops
Fixed a comment typos
Removed an unused method variable


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821238 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 04:12:28 +00:00
Scott Gray d02b770738 Removed the deprecated method getImageType(GenericDelegator, GenericValue)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821234 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 03:41:43 +00:00
Scott Gray 013ceb9961 Removed use of a deprecated method from getImageType(GenericDelegator, String) and deprecated the method itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821233 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 03:39:29 +00:00
Bruno Busco 122bdc4154 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820887 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 05:20:03 +00:00
Hans Bakker 0b7fe13bb1 On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Hans Bakker 00a9e08354 if the visual scheme not found use the one from general properties for the cmssite display of docbook files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819467 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 07:34:39 +00:00
Hans Bakker 87a48231f0 added a chapter how to internationalize the help files show with: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#helpInternationalization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818850 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 13:37:35 +00:00
Hans Bakker 68060069ae some enhancements suggested by MR Ashish
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 10:05:24 +00:00
Hans Bakker 2b095cfc84 check if no visual scheme defined in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818782 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:30:11 +00:00
Hans Bakker 4533720a3e docbook files now converted to html using a first (simple) visual scheme dependent css stylesheet. This css is now also used for the display of the help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:16:26 +00:00
Hans Bakker 0fdf9568c8 added webtools/selenium to the help and corrected some problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818733 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 06:31:20 +00:00
Scott Gray a46440d697 spaces for tabs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818327 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:38:31 +00:00
Hans Bakker dd9ae86426 added another level in the accounting help data, added info and reorganized a bit, also fixed the problem with the selenium info which did not load
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817524 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 07:39:53 +00:00
Hans Bakker 77fc9fefef added a selenium option to webtools which partially tests if all settings have been done and will now automatically download the selenium server. Sponsored by Antwebsystems, programmed by employee Gan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817493 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 04:00:22 +00:00
Jacques Le Roux 24cbb5aec6 A patch from Wickersheimer Jeremy "compilation error with uno libs" (https://issues.apache.org/jira/browse/OFBIZ-2940) - OFBIZ-2940
The OpenOfficeServices.java does not build due to some errors after the ByteWrapper refactoring.
Since it is an optional package and not built by default it got unnoticed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816863 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 07:18:21 +00:00
Jacques Le Roux e54998738f A slightly modified patch from Erwan de FERRIERES "Proposal on French translations" (https://issues.apache.org/jira/browse/OFBIZ-2958) - OFBIZ-2958
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816758 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 19:46:40 +00:00
Marco Risaliti 40096417d8 Fix the content decorators and add some labelTitleProperty to various screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816728 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 17:48:15 +00:00
Jacopo Cappellato b0818f9800 This should fix the issues related to the html editor box.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816525 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:19:45 +00:00
Hans Bakker 5bced52dc0 added a view button the the document list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816488 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 06:51:30 +00:00
Hans Bakker e7e8ff14c6 unwanted change by the community
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816193 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:57:14 +00:00
Jacques Le Roux 0c9df22a34 A patch from Erwan de FERRIERES "still some references to smooth_feather" (https://issues.apache.org/jira/browse/OFBIZ-2952) - OFBIZ-2952
There was still some references to smooth_feather theme. This patch replaced them with a call to bizzness time

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816125 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 10:18:55 +00:00
Hans Bakker 9161b85ce2 spaces for tabs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816036 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 03:22:32 +00:00
Jacques Le Roux ef54998974 Fix a bug reported by James McGill on user ML :
content/control/EditSurveyResponse puts escaped HTML on the page instead of
the rendered survey.
applications/content/webapp/content/survey/EditSurveyResponse.ftl  has
${surveyString}    but
that apparently escapes the page.   ${surveyString?html} just adds another
level of escaping, and
I couldn't see how to "unescape" from here.
It looks to me like there really should be a call to surveyWrapper.render()
or something like that --
or is it the intended behavior to show the  HTML output instead of the
rendered survey?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815687 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 09:28:30 +00:00
Jacques Le Roux f6232d1c70 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815668 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 08:43:47 +00:00
Hans Bakker d34dbebce8 all upload content screens (hopefully we did not forget any) can now also select an existing contentId which can be selected from a navigation tree. Added also the possibility when a file is uploaded to put it at a particular leave in the tree. Programmed by my employee Berm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815651 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 07:48:51 +00:00
Hans Bakker 7c99297356 moved temporary the party helpfile to the content component until solution is found because the party component is loaded first and need the content component (as reported on the mailing list)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814546 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 09:52:24 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Hans Bakker 073906c5df help system now using the mapKey in ContentAssoc so its size is now limited to 100 instead of 20. Suggestion made by Scott: thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:49:30 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Hans Bakker 3678724587 changed the request -> helptopic=contentId name generation when the name is longer than 20 because of duplicates in the accounting component + updated some documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813222 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 04:14:32 +00:00
Hans Bakker 8c1458e97e make the help screens also display properly in the business theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812477 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:13:50 +00:00
Hans Bakker fa4e7367bb added the possibility of assigning an existing account or lead to the logged user so it will show up on the screen, reused the contact/account profile realtionship screens from party, added placeholders for help screens in the sfa application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:28:24 +00:00
Hans Bakker e0ba7104ce create a 'set' of documents: a technical and a user guide and added more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812021 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:31:11 +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 cc41bd2564 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810925 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 13:08:08 +00:00
Jacques Le Roux aa7a12bb16 A patch from Erwan de FERRIERES "small french typo errors" (https://issues.apache.org/jira/browse/OFBIZ-2846) - OFBIZ-2846
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:13:09 +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 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +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
Hans Bakker 9115ad2dc1 file did not compile anymore after r808734
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808737 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 02:47:17 +00:00