Gavin Cornwell
a07a545df9
MOB-1209: Add ability to pass optional context when generating a form. Also added a sample template to demonstrate a custom set layout.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-18 22:00:23 +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
cedcc20a4c
MOB-1208 & MOB-1214: Form customisation improvements, generated form UI model now creates a 'map' of fields so that they can be directly accessed in custom templates (this provides the groundwork required to fix the RM record metadata screen). Default controls mapping have dropped the "d:" prefix as this is a repo detail and should be generic.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15723 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-13 09:58:02 +00:00
Gavin Cornwell
5162e3e2e5
- Changed generation of unique identifier, no longer appears as a field on the create screens, instead gets generated after the node is persisted, the identifier is then generated using the same algorithm as used for records i.e. year-<pad0><node-dbid>. The idenifier still appears on the edit screen so can be changed if desired.
...
- Moved the StreamArchive webscript implementation to remote API project so it can be re-used by other non RM webscripts
- Added skeleton for transfer REST API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-11 22:12:48 +00:00
Gavin Cornwell
c728352e1e
More work on MOB-1188, RM custom metadata is now viewable and editable on RM container nodes created before the custom properties were defined.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-05 21:43:23 +00:00
Gavin Cornwell
b6c306dbf1
Another step towards completion of MOB-1188. Metadata of RM container types is now grouped when viewing and editing. All built in RM fields are grouped together (albeit in a semi-random order), all RM custom fields are grouped together at the bottom and all other 'general' metadata will be grouped together at the top.
...
NOTE: Custom RM metadata can still be missing if you're viewing a node created before the custom property was defined.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-05 12:14:44 +00:00
Gavin Cornwell
71b03eb014
Completion of MOB-1036: RM Form Filter. The form filter now retrieves any custom properties defined for the RM type being requested and adds their definition to the form. Updated the 'create' form config to use the 'hide' approach i.e. all fields are displayed except those explicitly hidden in the config, meaning all custom RM properties are displayed.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-30 12:55:26 +00:00
Gavin Cornwell
7d43509474
Part 1 of MOB-1036. Added form processor filter to intercept the requests for create forms for the records management container types i.e. series, category & folder. The filter adds a default value to the rma:identifier property so the 'Identifer' field in the create dialogs has a pre-populated default (a GUID for now).
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-24 14:19:41 +00:00
Gavin Cornwell
47f34d0c10
MOB-884: Select many control, renders a select list with configurable size (5 by default) and allowing multiple selections
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-07 10:38:38 +00:00
Kevin Roast
e025d28ebd
Merged DEV/RM-DEV to HEAD
...
14731: Branch for continued records managment development
14739: Records Management Action Service updates
14756: Declare/Undeclare record RM actions added
14791: RM dynamic modelling Stage One.
14878: Record mamagement events
14927: Importing the recordsCustomModel.xml
14993: RM. Handle changes to the Vital Record Definition
14996: Checking in comments that record the fact that this class is likely to be deleted soon.
15011: Typo in PublishVitalRecordDefinitionAction.
15027: Custom properties and associations for RM
15053: First cut of records management events
15057: Vital Records refactor, renaming and test fixing
15060: Form config for RM types and aspects updated to reflect current model
15071: - MOB-988: Completed type based form support, means that 'create' pages can now be implemented for RM
- Updated form test page to include 'destination' field to allow instances to be created
15075: Refactored defineCustomProp,Assoc out into RM actions.
Modified: svn:mergeinfo
Merged /alfresco/BRANCHES/DEV/RM-DEV:r14731-15075
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-07-06 10:07:37 +00:00
Gavin Cornwell
886dd5355a
Fixed form persistence issue with empty category fields
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-29 14:11:31 +00:00
Gavin Cornwell
65bdf48d96
Fix for ALFCOM-2970: System properties are editable if configured to appear in a form, also added title and description for sys:node-dbid property
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-18 09:55:31 +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
cbf2501f6e
- Added display labels to PeriodProvider's
...
- Period control now uses the display labels returned from the server
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 20:59:31 +00:00
Gavin Cornwell
60cd434285
Final minor forms refactor with the way data type parameters are handled
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-12 20:06:48 +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
0decb3ceb0
Completed MOB-876: Period control (based on new d:period data type)
...
- Removed temporary period control from DOD project
- Added proper period control based on new d:period type
- Added ability for a data type to return a set of parameters to describe it or its restrictions (used here to return the period provider definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-11 20:16:27 +00:00
Gavin Cornwell
896bfd8986
Completion of MOB-837 (type support in forms)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14621 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-06-10 09:33:58 +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
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