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
Gavin Cornwell
a269ac3298
- Refactored low level form service to implement MOB-946 (add ability to do pre and post form processing)
...
- Added ignore patterns to new wdr-deployment project's build folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-05 14:09:34 +00:00
Gavin Cornwell
abeb02268a
Merged FORMS-TB3 to HEAD and fix for ALFCOM-2925 (The changes in document's metadata are not applied for 'Author' field)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-02 14:02:29 +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
17fd83154b
Fixed persistence of boolean properties, checkbox control was not sending false when unchecked and sending 'on' as value when selected
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-15 14:57:35 +00:00
Gavin Cornwell
c49ebae2d7
- Improved handling of associations in NodeHandler
...
- Child association data now correctly returned
- Added support for duplicate named properties and associations i.e. those referred to using the prop: or assoc: prefixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-07 21:19:22 +00:00
Neil McErlean
c83e76d6ec
Partial impl of requires-role handling on fields. Config API tidy-up.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14227 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-05-07 09:48:50 +00:00
Mike Hatfield
8a01781907
Association and Category Pickers (experimental)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-30 10:10: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
4b98b6c0d8
Completed MOB-792 (Add support for visually indicating a node is incomplete)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-21 21:15:00 +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
132fdb81cb
Minor change in creation of child assoc. qname now matches assocTypeQName
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-06 12:51:20 +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
a51ebd0441
Persistence of child associations
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-06 10:08:10 +00:00
Neil McErlean
44975e7ab1
Removed hard-coded association type in persist - does not yet work for child assocs
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-02 07:19:11 +00:00
Neil McErlean
2709828df3
Switched on negative test cases in association persistence and impl in product code
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-31 11:27:41 +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
Neil McErlean
436f79cb78
Fixing the build. Also changed forms test code to use multiple assocs
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13754 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-26 16:54:34 +00:00
Neil McErlean
b534affa68
NodeHandler was mishandling multiple associations of the same type.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-26 15:49:01 +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
b64489e53a
- Added support for 'LIST' constraint type, now if a property that has this constraint is shown on a form a drop down list of the allowable values is rendered
...
- Added new generic 'select' control which given a list of values renders a drop down menu
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-20 13:42:28 +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
0d984c724e
Added handling for colons,underscores in field names during post
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-23 09:25:49 +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
Gavin Cornwell
e04da90fac
Updates to data dictionary constraints
...
- Added getType and getParameters methods to Constraint interface
- Updated existing constraint implementations
Updates to FormService
- Implemented regex pattern match for selecting appropriate form processor
- Added constraints to Form object constructed in NodeHandler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-15 21:18:51 +00:00
Gavin Cornwell
c159cdbe90
FormService checkpoint - Configurable, extendable form processor mechanism introduced, default handler for building repo node based forms implemented and the unit test actually tests stuff now!
...
This is just the Java service API, there is no script or REST API yet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12342 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-10 13:06:38 +00:00
Gavin Cornwell
d3e0477d38
Initial checkin for foundations of repo FormService and FormUI Share component. Test page also added to Share which just contains the new FormUI component: http://localhost:8081/share/page/form-test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-11-28 19:21:16 +00:00