25 Commits

Author SHA1 Message Date
Gavin Cornwell
778078e26c Fixed ALF-4751 (When starting a workflow with no form configuration duplicated fields are seen), ALF-4859 (Lifecycle review and approve form is incorrect) & ALF-4649 (Node based forms render a form containing system properties when no configuration is present)
The set of default fields for each type of form processor has been updated, default node and type forms now don't return the 'sys' properties previously seen, a default task form no longer returns the identifier field and a default workflow form no longer returns the task level description, priority and due date fields.

Also completed a coding standards and comments sweep across all forms code.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-28 09:35:45 +00:00
Mike Hatfield
783ce15a2c SAIL-10 - Data Lists in Share. Various enhancements and improvements. SAIL-106 - Edit list page. SAIL-109 - Duplicate Row. New ScriptNode API, getTypePropertyNames
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-20 11:02:23 +00:00
Paul Holmes-Higgin
cefda8c965 Updated header to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 22:48:39 +00:00
Paul Holmes-Higgin
43e93f3c14 Updated header to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 22:09:17 +00:00
Gavin Cornwell
ba7d22e65d Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-17 09:12:34 +00:00
Gavin Cornwell
4ed7957b63 Last refactor of forms API before Labs release - FieldConstraints API now receives and returns a Map<String, Object> rather than Map<String, String>, a method to return the parameters as JSON has also been added and is used in the REST API. This means that parameters go all the way to client side validation handlers in their native form.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-15 23:32:40 +00:00
Gavin Cornwell
e9dfb3f64b - Refactored FormData class to remove unecessary API layer and fixed up fallout
- Renamed 'definition' webscript to 'formdefiniton' (no change to URL)
- Simplified and improved formdefinition webscript JS/FTL

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 15:15:19 +00:00
Gavin Cornwell
65a61fa306 First cut of MOB-837 (type support in forms)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-09 15:00:51 +00:00
Neil McErlean
c0a90f52df RM REST API for actions on records/nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-18 14:21:25 +00:00
Gavin Cornwell
4462069f68 Merged 3.1 to HEAD
13841: Build fix
   13988: Applied patch for ETHREEOH-1620 (webdav issues with WebSphere)
   13993: Partial (UI portion) fix for ETHREEOH-1500: Remove visibility of Workflow items
   13995: Fix for ETHREEOH-1883: Start advanced workflow wizard lists the WCM 'Direct Submit to Staging' workflow as one of the selectable workflows
   14061: Fix for ETHREEOH-1891: Form repeat element not working in 3.1

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-23 14:07:20 +00:00
Gavin Cornwell
966201871c FormService improvements
- A 'dataKeyName' property has been added to the field definition to point to the corresponding data
- FormProcessors can now return a submission url to use on the client
- FormProcessors are now responsible for returning a sensible URL to represent the 'item' being processed
- Updated all affected tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-20 14:53:04 +00:00
Gavin Cornwell
5b0a1b589a Merged DEV/FORMS-REFACTOR branch to HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-18 22:42:15 +00:00
Neil McErlean
b3a4b60f1d Added date testing in JS tests. taken from 3.1 branch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-06 12:12:36 +00:00
Neil McErlean
fda5fc143f Persistence of associations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13773 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-30 14:49:20 +00:00
Gavin Cornwell
df3e143e1c - Added support for duplicate named properties and associations
- Marked 'forms' REST API as internal for the time being

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13767 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-27 20:28:40 +00:00
Gavin Cornwell
984c87cb0b - Resolved issue where title, description and author could be missing, basically when aspect was not applied
- Added ability for transient properties to use standard controls and pick up config

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-25 00:12:44 +00:00
Neil McErlean
53f29f8fdf Rendering associations in the repo-tier webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-24 12:06:47 +00:00
Gavin Cornwell
3312360b0c - Added temporary support for repeating string properties (probably covers 80% of use cases) for use until rich UI appears in TB2
- Added hidden convenience target called "run-forms-engine-tests" which runs all tests for the forms engine (NOTE: The individual tests do not fail the build if a test fails so be vigilent if using)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-23 15:18:38 +00:00
Neil McErlean
61442fd07b Changed ScriptForm.getFieldDefinitionData return type to integer-keyed Map
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-23 11:32:26 +00:00
Gavin Cornwell
2e94b28d01 Added client and server side support for transient properties
- As long as a template for a control is configured fields without a definition can now be displayed
 - Added 3 well known transient properties; mimetype, encoding and size (these are similar to the propertyResolvers we had in the JSF client)
 - Added explicit persistence handling for the new transient properties, the name property and adds aspect if title/description and/or author property is present
 - Added saveForm test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-19 21:24:59 +00:00
Neil McErlean
52a639c2c8 Forms. Url-encoded submit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-25 19:55:21 +00:00
Neil McErlean
c819d08ddc Merged DEV/FORMS to HEAD (Merging r13070 through r13210)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-12 16:17:32 +00:00
Neil McErlean
c6a014b1a8 Merged DEV/FORMS to HEAD (r13057-13069)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-04 19:01:50 +00:00
Gavin Cornwell
5eb5855902 Merged DEV/FORMS to HEAD (all activity from branch creation r12855 through r13056)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-04 15:03:18 +00:00
Neil McErlean
1df71e1b03 Script layer impl of form.get
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12584 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-01-07 09:42:07 +00:00