Commit Graph
26 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
Jacques Le Roux 35a56b13e0 A patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
Removes the lines related to the ViewSprintItem lines after a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:48:18 +00:00
Jacques Le Roux b92c8c1bf4 A modified patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
jleroux: rather than removing I rather commented out the lines related to the ViewSprintItem lines in case the original author decides to use it. I will remove in a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684129 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:39:39 +00:00
Jacques Le Roux b7c4773ae6 Comments out unused form in Scrum. Thanks to Pierre Smits report at "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684128 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:31:28 +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
Deepak Dixit 493bdffa18 OFBIZ-5974: Fixed entity-one tag error for ListProdBacklogNote and ListTaskNote forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679746 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 14:35:12 +00:00
Deepak Dixit dc402b9ef8 OFBIZ-5974: Reverting incomplete commit r#1679743
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679744 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:52:43 +00:00
Deepak Dixit aa94d7eb2c OFBIZ-5974: Added missing value field for entity-one tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:50:16 +00:00
Jacques Le Roux 1a585cf8d9 A patch from Pierre Smits for "Form TotalProdBacklog has typo in link" https://issues.apache.org/jira/browse/OFBIZ-5979
This bug was introduced in commit: http://svn.apache.org/viewvc?view=revision&revision=1142915

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652739 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:38:17 +00:00
Adrian Crum e5a06480cd Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +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 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 afe62dee1a Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Jacopo Cappellato 20f08138b9 Fix for wrong path name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:06:15 +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 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
Adam Heath 128242b927 DEPRECATION: specialpurpose/scrum: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338423 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:38 +00:00
Erwan de Ferrieres cfebe9483e (typo) Bulk replace planed --> planned
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294096 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 10:32:13 +00:00
Jacques Le Roux a65a3eacb1 Closes "Request Content delete operation is not working" https://issues.apache.org/jira/browse/OFBIZ-4707
There were simply no checks on thruDate in screen actions, also true for Project Manager and Scrum components.
Also where we see that we clearly miss a kind of factorization in those screen actions (same block changed 5 times), no time for that tonight...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1291472 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 21:54:30 +00:00
Erwan de Ferrieres 8fc98f84de Adding missing ASL2 license header in scrum component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230793 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:29:51 +00:00
Erwan de Ferrieres 8c0a41e885 tabs to spaces, no functional changes - xml files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:51:58 +00:00
Hans Bakker d5d264fca0 fix for the preference screen in scrum as reported in https://issues.apache.org/jira/browse/OFBIZ-4586
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1206093 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 09:30:42 +00:00
Hans Bakker 6ff0e4f1f8 move the public holiday definition from scrum to the HR component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170129 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 11:57:22 +00:00
Hans Bakker 796b5ea7d5 Scrum component update:
Add a 'new backlogitem' button when i selected an existing backlog item
It should be possible to delete a backlog even when hours are attached
the button 'billed' on a backlogitem to set the flag to billed, does not work, get an error message
if for a backlogitem, billed is no, the time entries are not combined into a single item on the invoice.
the email confirmation: Scrum - Your Sprint is started, has the wrong domainname in the sprint url: 127.0.0.1
Convert the service name 'addWorkEffortTimeToInvoice' to 'scrumAddWorkEffortTimeToInvoice' to allow a special grouping
Remove the causes for the entity warnings in the log, there were entity changes inside scrum, we do not expect usingh it yet but we can supply conversion programs if needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153071 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 09:00:06 +00:00
Hans Bakker d5ee364b77 add support for the scrum framework donated by Antwebsystems Co.Ltd. more info at: http://www.antwebsystems.com/control/ViewBlogArticle?articleContentId=21140&blogContentId=AWS_BLOG
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 08:15:32 +00:00