Commit Graph
489 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 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 91cb9346b8 Fixes "Form ListRequestItemNotes is not referenced in Screens" https://issues.apache.org/jira/browse/OFBIZ-5971 as reported by Pierre Smits
Removes the useless ListRequestItemNotes form from the project mngr component (confirmed by Hans who committed it)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679957 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 08:23:13 +00:00
Jacques Le Roux c1bc5c2769 A patch from Pierre Smits for "Tasks menu item should only be visible to persons with appropriate rights" https://issues.apache.org/jira/browse/OFBIZ-5833
Currently the menu item Tasks (and the subsequent overview) is visibe to all persons having basic access to the application.
However, persons with assigned tasks can view these through the My Tasks options and project managers of assigned projects can view the tasks via the project.

jleroux: this makes sense to me, else what for "My Tasks" would be?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650967 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 20:43:15 +00:00
Jacques Le Roux 4215bc0934 A patch from Pierre Smits for "link of dependent task in Task Dependencies of task links Dependencies of Task" https://issues.apache.org/jira/browse/OFBIZ-5815
In the dependencies overview of a task links are provided for the tasks listed.
These links link to the dependencies overview of the task that has been accessed.
The links should point to the dependent task.

jleroux: while testing I had a doubt about Pierre's assertion, but I agree it makes more sense to link to the dependent tasks than to the dependencies overview

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650887 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 11:25:00 +00:00
Jacques Le Roux 4ebf9fda0e A patch from Deepak for "Incorrect use of if-has-permission tag" https://issues.apache.org/jira/browse/OFBIZ-5920
Deepak: here is the patch for this issue, found some more places where if-has-permission tag used in different way, will create a new ticket to fix the if-has-permission tags and will used the consistent pattern.

jleroux: I wonder if this commit does not fix some other already reported issues, anyway it's good!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647266 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:13:12 +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
Nicolas Malin a230eea6cb Improve screen projectmgr/control/EditProjectContents, to display the creation form instead of the update content (that doesn't works) when a workEffortContent is deleted. Raise by Dhiraj Gupta on issue OFBIZ-5730.Review the form to display only modification's field that can be modified.
Clean attribut's links by auto-attribut-entity

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643384 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:36:33 +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
Jacopo Cappellato 912cdbcee9 OFBIZ-4854: added from/thru dates to summary box for project resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610385 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 11:00:09 +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 7cc0bd93c1 A patch from Ankit for "Priority field is missing on Add/Edit Project form." https://issues.apache.org/jira/browse/OFBIZ-5230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494202 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:00:37 +00:00
Jacques Le Roux 1cce08ae64 A patch from Ankit for "No the date fields showning on edit project page." https://issues.apache.org/jira/browse/OFBIZ-5222
No date fields are showing on Edit project page(https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/EditProject?projectId=10005 create a new project) for the following:

Estimated Start Date
Estimated Completion Date
Actual Start Date
Actual Completion Date

Also on the Project Summary page no dates are showing in Project Information.
https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectView?projectId=10005

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1492673 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 13:52:07 +00:00
Jacques Le Roux db0841345b A patch from Nicolas Malin for "ProjectMgr : list project's company, error on form to resolve currency" https://issues.apache.org/jira/browse/OFBIZ-5071
To solve this issue, I change bsh script to groovy script.
After the patch application, on the same page, the currency appears near "Your Company Name Here [Company]"

jleroux: actually I did a bit more and rewrote it using safe-navigation and elvis operator, nice to read hèè ;)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1408408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:59:38 +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
Erwan de Ferrieres 51bc39e557 renaming gantchart as ganttchart to remove the error in the chart name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1376030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 13:21:07 +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 2f5ddb1b12 A patch from Pierre Smits "Project resource overview doesn't show the resources with a thru-date before the current date." https://issues.apache.org/jira/browse/OFBIZ-4853
When a project manager expires the assignment of a resource by clicking the delete button in the Project Resources overview the resource is deleted from the overview. It should be that the resource is still shown in the overview with the tru-date visible.
Otherwise there will be a discrepancy between the overview of resources of the project and the project dashboard.
The name of the button is also wrong. It should state 'expire' not 'delete'.

jleroux: I have also created a new label FormFieldTitle_expireButton copying labels from CommonExpire. I saw that labels where not sorted at all so I used Labels Manager for that. I put back CommonEmptyHeaderby hand. I will soon fix this issue. So, apart the sort changes, there is also a lot of false changes in CommonUiLabels.xml because Labels Manager now uses the right way for Language Identification: http://www.w3.org/TR/REC-xml/#sec-lang-tag (ie a - separate language from country instead of previously a _)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338695 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:27:54 +00:00
Jacques Le Roux 06add8ab01 A patch from Pierre Smits "Project resources overview shows button when thruDate < nowTimestamp" https://issues.apache.org/jira/browse/OFBIZ-4858
The button to end the assignment of a resource on a project should only be shown when the thruDate is not set or when the thruDate > nowTimestamp. But the button is also shown when the thruDate < nowTimestamp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1335946 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 07:15:19 +00:00
Erwan de Ferrieres bba2048fd4 A patch from Pierre Smits - Assigning a resource to a task is not reflected in the resource's tasks view - OFBIZ-3638
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1307092 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 20:18:16 +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 5a10c6678a OFBIZ-4679 - use a wrong return field name (from service getProjectTask) to show TaskActualHours - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1241165 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 20:35:20 +00:00
Erwan de Ferrieres e227fca4cf display for priority in TaskInfo should not have be set as date
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1157365 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 10:16:21 +00:00
Erwan de Ferrieres 15a25fba56 Adding missing uiLabels in projectmgr when closing or scheduling a project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1155465 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:40:30 +00:00
Erwan de Ferrieres c84348312f forgot entry-name at rev 1140520
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141528 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 13:19:37 +00:00
Erwan de Ferrieres d53c9e2352 Wrong parameter was used when displaying the project's info: the workEffortId was used instead of parentProjectId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140522 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 11:09:28 +00:00
Erwan de Ferrieres 7068845fac Correction on getProject when retrieving the parentProjectId and when editing a the parentProjectId from a project. Wrong parameter was used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140520 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 11:05:26 +00:00
Erwan de Ferrieres c2332f5f69 A patch from Pierre Gaudin - OFBIZ-4320 - can't select good phase into task edit form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137986 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 12:58:04 +00:00
Erwan de Ferrieres 2dabc89a73 Label on submit button when editing a task is now changing if the task is new or edited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1133924 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:19:57 +00:00
Erwan de Ferrieres 8dc71ab162 Making multiple conditions more readable in EditTask form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1133919 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:17:01 +00:00
Erwan de Ferrieres dcde0159aa Better header when displaying a task in projectmgr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1130211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:34:38 +00:00
Erwan de Ferrieres 900b7d6aeb Adding missing uiLabels for seqIds in ProjectMgr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1130163 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:33:44 +00:00
Sascha Rodekamp 1194ef701e BUG - PROJECTADMIN cannot create projects in projectmgr (https://issues.apache.org/jira/browse/OFBIZ-3201).
I add a new permission check to the ProjectMenu.xml to check weather the user have PROJECTMGR_ADMIN rights or not. If not he should not be able to create new Projects. 
That means that users which are in the security group PROJECTADMIN aren't allowed to create new projects by default. Because they are responsable for there own projects and not for creating new once. Maybe the name of the Permission group is a little bit confusing. The PROJECTADMIN is not the admin from the project module he is more a Project manager (an admin for his own projects).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087680 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 12:23:12 +00:00
Sascha Rodekamp f661e50719 Bug - Unable to create project task contents as admin (https://issues.apache.org/jira/browse/OFBIZ-3952). Apllied Jeremys modified patch. Just add an extra permission check for the PROJECT_ADMIN permission.
Orig.Msg.
When editing a task in the project manager application you cannot add content from the content tab if you have admin privileges. The permission is incorrectly labeled as "PROJECTMGR_ROLE_ADMIN" when it should be "PROJECTMGR_ADMIN."


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087596 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:38:01 +00:00
Jacques Le Roux 7bc8423407 A patch from Pierre Smits "my time screen in project mgr shows wrong labels with entry field for hours" (https://issues.apache.org/jira/browse/OFBIZ-3942) - OFBIZ-3942
The my time entry screen for hours in Project Mgr shows labels (in English) for the hour columns in following order: sun, mon,tue,wen,thu,fri,sat.

However when entering hours on in e.g the mon(day) column the actual date registered for the hours is for tuesday.

Seems like the week starts on monday, not on sunday

JLR: works well, would need more work for those who prefer to have weeks start on Monday...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062138 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 10:49:57 +00:00
Adrian Crum 316111c459 Removed deprecated box* CSS styles from some screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059364 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 16:27:42 +00:00
Adrian Crum 9596919a91 Moved user login UI artifacts from the Party component to the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050766 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:07:53 +00:00
Adrian Crum 692c1a51e4 Eliminated more redundant screens in Project Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050765 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:58:37 +00:00
Adrian Crum a4ae4a02c3 Eliminated a redundant screen in Project Manager. This is in preparation for moving userlogin UI artifacts to the framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050759 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:07:59 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Bruno Busco b4e72271e4 Used screenlet tag instead of label to separate forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032672 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:15:18 +00:00
Bruno Busco bfdbe35f71 ProjectSubTabBar menu is actually a ProjectButtonBar.
Added proper style to create button.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032671 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:13:57 +00:00
Bruno Busco 6aa252df3b Added UiLabels resources loading in Porlets.
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Bruno Busco dcfaf5e4d7 Added UiLabels resources loading in Porlets.
All Portlet screens should always load all needed UI resources since they can be rendered in different PortalPages that cannot be aware of what resources are needed.
This change will allow to eliminate all UI label resources loading in MyPortal decorators so that MyPortal will not depend on so many other components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:43:37 +00:00
Bruno Busco 2c78313a9e Moved TabBar menus in the pre-body section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987564 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 16:30:09 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux 86e817b533 Reverted on Scott's advice (useless and give some trouble on back button: POST => msg like "do you want to send again", not GET)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacques Le Roux 4943ab1e3b Secure some targets. Note that they have been introduced since OFBIZ-2243 has been closed.
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00