Commit Graph
181 Commits
Author SHA1 Message Date
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
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
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 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 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 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
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 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
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
Hans Bakker 458e86f0fa status should not be given to the update service because cannot be changed here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 09:20:17 +00:00
Hans Bakker bdf15dab53 formatting only, no functional changes as reported by Adam on the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906313 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:54:26 +00:00
Hans Bakker 386055f181 added missing 3 spaces on 3 lines as reported by adam on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906286 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 23:19:11 +00:00
Hans Bakker 05017950a0 also show middle name in the party dropdowns in the project manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@905947 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:15:03 +00:00
Hans Bakker 12647ca84e only show non deleted and active resources to be added to a project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@905945 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:11:28 +00:00
Hans Bakker 7e22069ffa 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/specialpurpose@834379 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:12:45 +00:00
Hans Bakker c64cbc3073 added the mailinglist function to a project. Initially to show the svn updates to the project. Also added from/to date to the WorkeffortContactmechId, including upgrade service. Also extended the storeEmail service to receive emails for a workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@827914 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 08:02:53 +00:00
Hans Bakker 16cfc1b31a all upload content screens (hopefully we did not forget any) can now also select an existing contentId which can be selected from a navigation tree. Added also the possibility when a file is uploaded to put it at a particular leave in the tree. Programmed by my employee Berm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@815651 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 07:48:51 +00:00
Jacques Le Roux 908f1a521f Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux 3585b3ea94 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Ashish Vijaywargiya 12f709ce58 Applied patch from jira issue OFBIZ-2867 - Cannot view uploaded project/task content.
Thanks Erwan for your contribution & Chris for reporting this issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809260 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 07:42:28 +00:00
Scott Gray 684156d029 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker b0887106e3 allow the assignment of a task to another project, small cleanup, added a link
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@800231 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 07:29:25 +00:00
Hans Bakker cf8934a1bf correction on previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@794208 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 09:32:10 +00:00
Hans Bakker e30cff8ab7 project create/update problem and some cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@794195 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 08:47:29 +00:00