Commit Graph
326 Commits
Author SHA1 Message Date
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Michael Brohl 0027619e9e Manually applied patch from jira issue OFBIZ-5679: Functionality to add WebSitePathAlias records is missing.
This adds a "Create Website Path Alias" menu item to the WebSiteAliases view and allows to edit/delete teh entries.

Thanks Pierre Smits for reporting the issue and Willem Janssen for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682295 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 18:10:51 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Jacques Le Roux 23c89bab02 This defines the NotoSans font as default for report and FOP-PDF examples
With NotoSans by default, no need to specify the NotoSans "font-family" to write special characters in examples PDF (including content called from example).
This already worked in reports because of "fop.font.family=NotoSans" in fop.properties. It's also the way to use for custom reports.

I also added <auto-embed/> like we have <auto-detect/> but I'm unsure of what it does exactly (I suppose it embeds the fonts glyphs in the PDF) because the FOP documentation is unclear about it (to say the least). If someone knows better please chime in!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1675061 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 08:03:41 +00:00
Jacques Le Roux 4879e9c470 This reapplies r1519245: The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:04:39 +00:00
Jacques Le Roux 9bfe114d10 Fixes a bug, there is no LookupParty only LookupPerson and LookupPartyGroup. anyway I believe here we should rather use LookupUserLoginAndPartyDetails because no reasons to exclude a PartyGroup or a Person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653934 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 16:28:14 +00:00
Adrian Crum 888b7c08cc Fix for rev 1649090. In that rev I removed the hard-coded Content default entity, but that broke trees that didn't specify Content as their default entity. This commit specifies the Content entity in the Content tree definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649222 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 17:30:50 +00:00
Hans Bakker debf19025c wrong default map name causing field conflict error, fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1648286 13f79535-47bb-0310-9956-ffa450edef68
2014-12-29 03:08:27 +00:00
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Ashish Vijaywargiya b889daf058 Applied patch from jira issue - OFBIZ-4362 - MapKey for CMS content cannot be updated.
Thanks Manuela for reporting the bug, Thanks Deepak for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639867 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:19:44 +00:00
Anil Patel 20d5e4975f [OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626452 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:04:58 +00:00
Anil Patel 495dab207d [OFBIZ-5515] Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618365 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 14:21:28 +00:00
Jacques Le Roux ef9582c387 A patch from Pierre Smits for "User with update permission can't access screens in content application" https://issues.apache.org/jira/browse/OFBIZ-5676
When a user has security permission 'CONTENTMGR_UPDATE' he should be able to access various screens in the content application, but he can't.

This applies to screens associated to menu-items:
Content
DataSource
Content Setup
DataResource Setup
Template
CMS

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609885 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:13:49 +00:00
Jacques Le Roux b81b183404 A patch from Rong Nguyen amended by Nicolas Malin for "Approvals function doesn't work for first time" https://issues.apache.org/jira/browse/OFBIZ-5555
Scenario:
1. Go to content webapp
2. Go to CompDoc
3. Find all record
4. Edit any record
5. Click Approvals tab

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1581997 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 18:38:25 +00:00
Jacques Le Roux bd6c3c7dad A slightly modified patch from Rong Nguyen for "Render multiMenu problem when linktype="hidden-form"" https://issues.apache.org/jira/browse/OFBIZ-5557
Scenario:
1. Go to Content webapp
2. Go to CompDoc menuitem
3. Search
4. Go to 'Tree' view
5. We can not use 'Up' and 'Down' function

When menu with linktype="hidden-form" was render for each menu, they has the same name for form element, so it cause error.
My solution is add extra attribute(extra-index) for Menu, and then in menu definition we provide this attribute and the forms with different name will be rendered.
My implement was tested in this bug for Content webapp

jleroux: I have simply amended the up and down labels to have them more legible. I'd have preferred to not have all uppercased, but ran out of time for such a trivial change


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576891 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 20:37:56 +00:00
Jacques Le Roux 4d9e447e11 Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacques Le Roux 513d684918 Closes https://issues.apache.org/jira/browse/OFBIZ-5521 as not a problem
It was my bad, I was simply stupid on this, reverts r1519245


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1562767 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 10:33:26 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacques Le Roux 06e7d2a646 The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519245 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 08:18:47 +00:00
Jacopo Cappellato 6071e8d8e0 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Jacopo Cappellato 47cc76394c OFBIZ-4908 Added missing target attribute from form definition that was preventing the update to work: thanks to Harsha Chadhar for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461551 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 12:48:45 +00:00
Hans Bakker 26eb43592b re-installed locale lookup with an appropriate fix: adding the locale search
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351928 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 03:17:59 +00:00
Sascha Rodekamp 56c2c6123a Reverting the local lookups which where introduced in Rev 1124153.
The locales are not searchable because they come from a property file and not from the database. It's more handy to have a drop down list instead of a lookup for them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351614 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 09:13:09 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 00a8e18252 Adrian suggested to removes all link-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340390 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:40:48 +00:00
Jacques Le Roux b4cc50a2ac Adrian suggested to removes all style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340389 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:39:47 +00:00
Jacques Le Roux 3e7b774156 Adrian suggested to removes all default-tooltip-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:37:35 +00:00
Jacques Le Roux 9ee7384202 Adrian suggested to removes all widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340385 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:32:48 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Jacques Le Roux 86d74bd36b No reasons to not show those fields titles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340367 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 07:55:29 +00:00
Jacques Le Roux 2936e36573 Removes old unused code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340362 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 07:05:40 +00:00
Erwan de Ferrieres a7eaf555b8 moving GetMenuContext.groovy to its right location with the other groovy scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327181 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 17:00:59 +00:00
Jacques Le Roux 0acaefd402 A patch from Nicolas Malin "On extend form, use call-parent-actions element to run the herited form action" https://issues.apache.org/jira/browse/OFBIZ-2889
On widget form at this time the actions on parents form is not executed if child form contains also actions.
A solution is to implement a new element call-parent-actions on <actions> and <row-actions> element.
for more info see : http://markmail.org/message/hy3puy3fhpzqo7fd

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293565 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 10:00:43 +00:00
Erwan de Ferrieres f2b62e9cbb Another superfluous jquery declaration. related to OFBIZ-4683 - Thanks Wai
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1242519 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:50:46 +00:00
Hans Bakker 7245203a92 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Hans Bakker fbbda360c4 update of the content -> website -> cms:
1. can not update image 2. do not display mapKey field whan create new successful 3. do not display image and mapkey field when click on tree, all fixed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 03:20:31 +00:00
Sascha Rodekamp 91ffcbdae6 Update jQuery:
jQuery library to version 1.7
jQuery UI to version 1.8.16
jQuery Validation to version 1.9
jQuery Flot to version 0.7
jQuery datetimepicker to version 0.9.7
and jsTree

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1199218 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 12:35:33 +00:00
Hans Bakker 3420b210a6 move blog labels from ecommerce to content and use them from there.....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190180 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 07:17:34 +00:00
Jacques Le Roux e39b17220a Closes "i18n for elrte editor" https://issues.apache.org/jira/browse/OFBIZ-4051
Fixes the i18n elrte Editor issue in Freemarker templates (Content and Ebay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178175 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:42:39 +00:00
Sascha Rodekamp 28eff53625 Update to the current jQuery Version 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163547 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 09:26:56 +00:00
Hans Bakker f2e79151ab website list for a contentId listed all websites: corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162014 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 07:49:20 +00:00
Hans Bakker 80fc19704c more forms files which were emptied with the recent renaming attempt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160971 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 03:34:18 +00:00
Hans Bakker 69884d9ec1 another formsfile where the content was lost
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 02:38:54 +00:00
Hans Bakker d6cc603297 content of forms file mssing, probably after the recent move of forms files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160557 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 06:17:36 +00:00
Vikas Mayur 153203cd03 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:14:25 +00:00
Vikas Mayur a9372fbb65 Reverted r1160209 & r1160213 as the files aren't moved correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160226 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:03:21 +00:00
Vikas Mayur d6f433a5e1 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160209 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:30:31 +00:00
Hans Bakker 4102bee329 update websiteContactlist entity according Jacopo's comments, added services and screens to website and contactlist to maintain the data, a contribution of 'M', an employee of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 05:57:25 +00:00
Hans Bakker 53abb5b2ac added an function on the website level: 'SEO' to generate missing seofiendly url's on a catalog, category, product and content level. entities records which have alread a seofriendly alternative url are not touched
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153034 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 05:56:47 +00:00
Sascha Rodekamp dab9603a73 Filtering and Sorting of WebSite Path Aliases (https://issues.apache.org/jira/browse/OFBIZ-4334) - Patch from Manuela Gruendlinger
When using lots of WebSite Path Aliases, it is quite hard to find a specific Path Alias in a list with about 30 pages. Searching for a path alias and sorting the results would really help here.
Added patch that allows searching for path alias and sorting the list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144267 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:21:53 +00:00