Commit Graph
905 Commits
Author SHA1 Message Date
Jacques Le Roux 47b0eff762 More uses of is(Not)Empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885112 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 16:27:42 +00:00
Jacques Le Roux e07ab48fb4 Some cleaning related to is(Not)Empty
* remove duplicate ()
* remove casts no longer needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 15:46:52 +00:00
Bruno Busco 964588402b Content and Humanres component
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883769 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 16:30:31 +00:00
Jacques Le Roux c72b29cb1f Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Jacques Le Roux 5518e9baf8 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.size == 0)
Complete r883492

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883516 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 22:02:05 +00:00
Jacques Le Roux 8ae9319710 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.size == 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883492 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 20:34:27 +00:00
Jacques Le Roux f64c440775 A patch from Surya Kusumakar "New feature to upload multiple Additional View Images at Product Content." (https://issues.apache.org/jira/browse/OFBIZ-3244) - OFBIZ-3244
Add a new feature in Product Content to add all four images at a time and one can preview those images in larger view on mouse over of particular image. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 08:48:43 +00:00
Jacques Le Roux d41f62b0a0 A patch from Carsten Schinzer " Extend ContentOperationData for LEGAL_INFO." (https://issues.apache.org/jira/browse/OFBIZ-3234) - OFBIZ-3234
The ContentOperationsData.xml file lists ContentPurposeTypes.
I found that among the typical company / ecommerce content, there is also legal information such as: Terms and Conditions, Imprint / Legal Notices, Data Protection Policies, other policies.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882631 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 16:25:07 +00:00
Jacques Le Roux 21d20c1949 A patch from André Herbst "Danish translations for ContentUiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3191) - OFBIZ-3191
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835850 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 13:59:56 +00:00
Scott Gray 8ec19d56d8 Fixed incorrect package name, reported by Jeremy Wickersheimer in OFBIZ-3163
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835314 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:46:34 +00:00
Jacques Le Roux 17fc22e958 A patch from André Herbst "Danish translations for ContentErrorUiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3185) - OFBIZ-3185
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835105 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 22:28:42 +00:00
Jacques Le Roux 36823d499a A patch from André Herbst "Danish translations for ContentUiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3182) - OFBIZ-3182
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 22:27:15 +00:00
Hans Bakker bf3790cc50 ordered and itemized list now possible in the help screens and works in all three themes, see for an example in the example help screens: OFBIZ-3170 provided patch partly implemented
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834823 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 09:50:01 +00:00
Hans Bakker 96d54615ca removed default-option='contains' because now set from widget.properties which is the current default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834379 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:12:45 +00:00
Hans Bakker 14c0c8dcda help general index cleanedup, started first features list but need 'orderedlist' docbook tag for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834369 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 07:17:17 +00:00
Jacopo Cappellato c8546fe174 Removed some unused import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833076 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 16:37:12 +00:00
Bilgin Ismet Ibryam 8d98177970 Added missing permission check to an ajax screen.
Removed a wrong parameter name.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832919 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 23:54:36 +00:00
Jacques Le Roux b3318c2536 These files were missing in r832368, thanks to Erwan's comment in the corresponding Jira issue: OFBIZ-3097
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832472 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 16:52:21 +00:00
Jacques Le Roux 6e61b5e801 A patch from Erwan de FERRIERES "help link in example is not working" (https://issues.apache.org/jira/browse/OFBIZ-3097) - OFBIZ-3097
when clicking the help link in the example app, the showHelp request is not recognised.
-> added a request in the example controller
-> created the ExampleHelpData file
-> added the needed line to load the data in the Example ofbiz-component file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832368 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:58:06 +00:00
Jacques Le Roux 061b06acf1 Please gents, no words sentences, thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829875 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 17:41:41 +00:00
Scott Gray 9644ae0b9b seed and demo data should never use ids above 10000, seems to have been this way for quite while (a few years) and I'm not quite sure why it hasn't caused problems for anyone (aside from me, right now)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 02:34:37 +00:00
Jacques Le Roux 6dd78d7bd3 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829651 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 21:14:00 +00:00
Jacques Le Roux 06d24f1277 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829605 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 15:25:24 +00:00
Marco Risaliti b830ac5891 Some missing italian translations of content component, sorting the label keys
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829581 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 14:30:29 +00:00
Jacques Le Roux 77a14736e5 Replace component by application in help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829536 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 11:08:41 +00:00
Bruno Busco 1e39c7bd92 Part of OFBIZ-3067 - Menus and form widget files location
Content component
Moved menus from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828872 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:18:00 +00:00
Hans Bakker ae7f709875 cleanup the help template file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826605 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 08:30:38 +00:00
Jacques Le Roux 4e8ee167a7 Help data for Human resources. Work in progress : Introduction, Main page and Training
Training page done from Simranjeet Singh's "Trng Write Up.txt" file and comments in https://issues.apache.org/jira/browse/OFBIZ-2531
I used Oxygen DocBook editor and notably itemizedlist and orderedlist but it's not rendered in OFBiz help (all the contents under these tags are hidden).
Also when using help button in HR application it does not open the corresponding help pages. I'm obviously missing something here but I run out of time.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 10:43:27 +00:00
Bruno Busco fc2673cbfb A little start for Italian translation of the Online help content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 18:16:30 +00:00
Bruno Busco c30c24b95c Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826269 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:11:32 +00:00
Bruno Busco 40a72014a1 A patch from Patrick Antivackis "Addind Error Pages (404 - 410) possibilities for the Content app" (https://issues.apache.org/jira/browse/OFBIZ-3022) - OFBIZ-3022
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826205 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:12:39 +00:00
Scott Gray dc450c1890 Fix security issue reported by Alexandre Mazari - OFBIZ-2747
Request parameters were being made available to surveys which in turn were sending them straight back to the browser creating an XSS vulnerability.
This isn't a true fix because I've simply disabled the functionality but at least the security hole is plugged.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826196 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 08:40:17 +00:00
Jacques Le Roux 8bfd6d2c75 A patch from Erwan de FERRIERES "Translation of the OFBiz help system in French" (https://issues.apache.org/jira/browse/OFBIZ-3036) - OFBIZ-3036
Here is the beginning of the translation for the OFBiz help system in French. This is only the root page.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825046 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 07:36:33 +00:00
Bruno Busco 0cc834344c Removed the word "Application" from the Application menu title (OFBIZ-3016)
At this stage I did this for the primary applications only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823833 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 09:27:30 +00:00
Bruno Busco c6aad8c403 Ooops,
Removed a screenlet container that I wrongly left in a previous commit (container to screenlet change)
Thank you Patrick Antivackis for reporting this in ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821907 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 16:31:14 +00:00
Jacques Le Roux de29e9a826 French label change for the sake of consistency with CommonSelect
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821745 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 10:32:41 +00:00
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