Commit Graph
348 Commits
Author SHA1 Message Date
Divesh Dutta 9a1b4c8334 [OFBIZ-5703] Fixed: Project contents were not getting deleted. auto-parameters-entity does not seems to be working, for now passed all the needed parameters. Thanks Anuj Jain for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735778 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:57:27 +00:00
Nicolas Malin afd5f218a3 patch from Pierre Smits : Remove tooltip CommonNotModifRecreat from display fields (OFBIZ-6696), thanks for the screen clean Pierre
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1718970 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 21:24:44 +00:00
Jacques Le Roux d8e9befe1d Completes r1709882 for <<Remove tooltip="${uiLabelMap.CommonRequired}" from fields>> https://issues.apache.org/jira/browse/OFBIZ-6691
Removes nonsensical required-field="true" for <display* field types

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1710093 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 20:22:11 +00:00
Jacques Le Roux 9287152902 Completes r1709882 for <<Remove tooltip="${uiLabelMap.CommonRequired}" from fields>> https://issues.apache.org/jira/browse/OFBIZ-6691
Replaces all }*" by requiredField but for forms using auto-fields-entity or auto-fields-service for which I created the subtask "Enhance auto-fields-entity and auto-fields-service to generate required fields on PK ones" https://issues.apache.org/jira/browse/OFBIZ-6695

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1710086 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 19:47:33 +00:00
Jacques Le Roux e45a7b3db2 Removes tooltip="${uiLabelMap.CommonRequired}" from fields, https://issues.apache.org/jira/browse/OFBIZ-6691
Instead of a quiet S/R action, this was an unexpected pain in the ass. A considerable number of forms:
    EmployeeForms.xml
    EmploymentForms.xml
    EmplPositionForms.xml
    GlobalHRSettingForms.xml
    RecruitmentForms.xml
    QuoteForms.xml
    PartyForms.xml
    StoreForms.xml
    ContactForms.xml
    FixedAssetForms.xml
    TaskForms.xml
    scrumForms.xml
    TaskForms.xml
contained a large number of fields with 
  tooltip="${uiLabelMap.CommonRequired}"
but no 
  required-field="true"


Of course display and display-entity should not be concerned, I spotted a number of them in the lot.

I also removed a bunch of harcoded * at end of labels (those followed by required-field="true"* and spotted a number of others }*"  who still need to be carefully reviewed to see if required=true is not missing there :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1709882 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 16:57:25 +00:00
Arun Patidar 54ee4bfb56 [OFBIZ-5970] Removed unused form as discussed on ticket. Thanks Pierre for reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1703987 13f79535-47bb-0310-9956-ffa450edef68
2015-09-19 11:30:53 +00:00
Nicolas Malin 8995c4fd02 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/specialpurpose@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Jacques Le Roux 832e582052 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/specialpurpose@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Jacques Le Roux a05dda0f9b 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/specialpurpose@1679957 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 08:23:13 +00:00
Jacques Le Roux 1d94d306e8 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/specialpurpose@1650887 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 11:25:00 +00:00
Ashish Vijaywargiya f1c9a6f91e 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/specialpurpose@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Nicolas Malin 147a9ab920 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/specialpurpose@1643384 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:36:33 +00:00
Jacopo Cappellato 17ad717e1b OFBIZ-4854: added from/thru dates to summary box for project resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1610385 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 11:00:09 +00:00
Jacques Le Roux 519b1faf4d 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/specialpurpose@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacques Le Roux ef5cacd789 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/specialpurpose@1494202 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:00:37 +00:00
Jacques Le Roux fc31563132 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/specialpurpose@1492673 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 13:52:07 +00:00
Jacques Le Roux 825d838801 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/specialpurpose@1408408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:59:38 +00:00
Jacques Le Roux 18bb9d7c44 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/specialpurpose@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Jacques Le Roux 127e509288 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/specialpurpose@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Jacques Le Roux 3c34229687 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/specialpurpose@1338695 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:27:54 +00:00
Jacques Le Roux 98198fbbf6 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/specialpurpose@1335946 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 07:15:19 +00:00
Erwan de Ferrieres e87a109c02 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/specialpurpose@1241165 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 20:35:20 +00:00
Erwan de Ferrieres 9b0deec59a display for priority in TaskInfo should not have be set as date
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1157365 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 10:16:21 +00:00
Erwan de Ferrieres 88fe091d34 forgot entry-name at rev 1140520
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1141528 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 13:19:37 +00:00
Erwan de Ferrieres 9b84107daa 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/specialpurpose@1140522 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 11:09:28 +00:00
Erwan de Ferrieres 951fcaff76 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/specialpurpose@1140520 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 11:05:26 +00:00
Erwan de Ferrieres e0607b54a8 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/specialpurpose@1137986 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 12:58:04 +00:00
Erwan de Ferrieres e450c3b731 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/specialpurpose@1133924 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:19:57 +00:00
Erwan de Ferrieres 4efee89789 Making multiple conditions more readable in EditTask form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1133919 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:17:01 +00:00
Erwan de Ferrieres df4c42ab35 Adding missing uiLabels for seqIds in ProjectMgr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1130163 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:33:44 +00:00
Jacques Le Roux 9865a1d36b 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/specialpurpose@1062138 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 10:49:57 +00:00
Adam Heath 0f8f2093e3 Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux e5e4a3797b 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/specialpurpose@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacques Le Roux f559ac97df 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/specialpurpose@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Jacques Le Roux d5d5f100a1 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/specialpurpose@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 0789b813ed 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/specialpurpose@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux abac680115 Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Jacques Le Roux d2ba48ef1a Some other issues with layered lookups, bypassed for now using popups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@939999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:43:34 +00:00
Scott Gray 41cf2ab878 Get rid of a few Boolean instantiations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935162 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:25:42 +00:00
Bruno Busco 11b8f06bf4 A patch from Blas Rodriguez Somoza
OFBIZ-3617 - XHTML validation errors (specialpurpose_projectmgr)
https://issues.apache.org/jira/browse/OFBIZ-3617

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:
gantChart.ftl
Duplicated DOCTYPE

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932722 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:58:26 +00:00
Erwan de Ferrieres 68cc6e7979 Closing XML tags with empty body
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924765 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:27:08 +00:00
Scott Gray 370e3b227a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Hans Bakker 929752c6cf task created from customer request should not have the same id
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923552 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 02:35:32 +00:00
Hans Bakker dccfa2b090 add some more fields to the task overview listing of a project, reduce length of field titles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@920230 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 08:33:40 +00:00
Hans Bakker 15f446e69e show wbsId on project manager timesheets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@920212 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 06:59:23 +00:00
Erwan de Ferrieres 333746dd89 Project manager update :
milestones can be added to a project and are diplayed on the Gantt chart

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@918343 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 07:11:31 +00:00
Hans Bakker 41aa40d3b2 add optional sequenceNum to be able to order phases and tasks within a project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@915275 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 10:47:21 +00:00
Hans Bakker f395343423 after an update on the task list, remain on the same page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906796 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 03:27:40 +00:00
Hans Bakker 6af9ee3506 paginatiuon missing on the tasklist in the project manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906787 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 03:09:34 +00:00
Hans Bakker b9efb13daa allow the entry of planned hours on the project task list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906446 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 10:39:12 +00:00