Commit Graph

490 Commits

Author SHA1 Message Date
Ariel Backenroth
cb80c75014 first pass at add content from xforms ui
- added an add content panel to the file picker which enables browsing the local disk to select content to upload.  the file is uploaded without requiring a browser refresh by targeting a hidden iframe.  the server response includes a js call which notifies the form that the upload is complete.
- added annotations to ajax methods to enable specifying the response mime type of the method.  needed for uploadFile which returns html rather than xml
- minor cleanup in schemaformbuilder
- added mapping between xsl-fo mimetypes and those in mimetype map


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-12 03:13:23 +00:00
Kevin Roast
66ca97a16a . CreateWebContentWizard can now be used to create inline TXT and HTML files again...
. Fix to display of deleted file/folder icons in Submit Dialog

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 23:01:45 +00:00
Kevin Roast
87e57b8fac . Deleted Files and Deleted Folders now show file/folder icon
. Fix to my over zealous refactoring in Submit Dialog

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 18:35:25 +00:00
Gavin Cornwell
84ca33ed6f - Made the client side context path dynamically driven
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 16:43:42 +00:00
Kevin Roast
bedaafd781 . Files in the submit dialog list are now matched against the regular expressions provided for web project workflow definitions
. Configuring the workflow file match regular expression has been moved into the Configure Workflow screen

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 16:07:10 +00:00
Gavin Cornwell
c102cc20d6 Fixed refresh issue with sidebar actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 15:05:26 +00:00
Gavin Cornwell
e209f28898 Replaced default tree node implementation with our own
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 13:57:34 +00:00
Kevin Roast
b74ed71045 . Single item, multiple item and all items submit now all go through the same Submit Dialog
. Changed submit form rendition calculation code to use new helper method provided by Ariel

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 12:21:22 +00:00
Ariel Backenroth
a29917d3ff - some refactoring of xforms generator. extraced schema utility functions into their own class since the size of the generator itself is out of control
- fixed bug with item ordering for select and select1 widgets

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-09 19:10:29 +00:00
Ariel Backenroth
39703b19ae inserting prototype nodes into instance data. repeats should basically be totally working at this point with the exception of some bugs with move up/move down.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-09 06:21:30 +00:00
Ariel Backenroth
9d20f79087 scrubbing repeat prototypes from generated xml
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-09 03:42:08 +00:00
Ariel Backenroth
77f80f1a27 lots of progress on prototype clones and repeat bugs
- fix for setXformsValue in repeat updating all repeat instance (had to set the bind reference for the control itself to .)
- added back groups for repeat items - but this can likely be removed
- handling prototypes properly for both nested and unnested repeats
- generating prototype sample data for all repeats

next step:
- clean saved instance data of prototype sample data, and reinsert it on edit.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-09 03:02:54 +00:00
Ariel Backenroth
8ae75b387e adding a check in create form to ensure that rendering engine template output path patterns don't clobber each other.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-08 20:21:18 +00:00
Ariel Backenroth
ca7e5bdc80 - fixing multiple preview image problem with create web content summary screen.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-08 18:39:02 +00:00
Ariel Backenroth
406f9b4f4e - adding in a getRenditions call to forminstancedata
- some further cleanup and fixes for summary screens
- adding new repeat icons from linton
- fix for filename expanding endlessly when pressing the back button at the summary page for create web content.
- making the primaryfominstancedata property of rendition a sandbox relative path so as to make it easier to retrieve the corresponding xml in the same sandbox

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 21:03:58 +00:00
Ariel Backenroth
c513c17e70 - slimming down the number of files we extract from dojo and tiny mce to reduce the size of our war file (and speed up the build)
- remove redundant dojo.js

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 20:59:27 +00:00
Kevin Roast
7b0a60dcdf Deleted items can now be passed to the submit dialog without blowing it up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 18:44:08 +00:00
Gavin Cornwell
e182432bbf Replacement icon for reset navigator action in sidebar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 15:21:00 +00:00
Kevin Roast
23f4f352e9 . Submit dialog now gathers all associated rendered assets and form instance data when files are submitted
- if the user attempts to submit either a single rendering asset or the form instance data for an Xform and does not include all the other associated files, then the Submit dialog will automatically add the missing assets/formdata to the submit list
 - this means that a form and all generated assets are always submitted together

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 15:07:43 +00:00
Kevin Roast
f9d92af4c8 . Fix for Forms with no workflows in Sumbit Dialog
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4550 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 11:33:13 +00:00
Kevin Roast
657c7a2b3f . Missing title/description in Forms selected in Web Project wizard now correctly taken from Form def
. Workflow package staging/sandbox changes copied from SubmitDialog to CreateWebContentWizard
. Fix to Form and Web Project summary screens to show workflow 'title' instead of 'name' (as 'name' is not a useful label)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 11:13:10 +00:00
Ariel Backenroth
e670b3dd33 moved these into simple test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 10:39:12 +00:00
Ariel Backenroth
b492c906ff - updating the all component test and moving it into the simple-test directory (trying to consildate the directory structure a bit).
- adding group headers for compound elements
- minor refactoring to groups and repeats.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 10:28:25 +00:00
Ariel Backenroth
f17262eed0 getting creating of html and text assets to working in createwebcontentwizard again (i thought we'd removed this feature). guess not...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 06:05:51 +00:00
Ariel Backenroth
a9c67fb93c cosmetic ui fixes to filepicker widget
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 05:14:46 +00:00
Ariel Backenroth
c4accfd269 adding a combobox menu for traversing parent paths from the file picker widget
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 03:40:31 +00:00
David Caruana
0a69421b22 WCM submit (for approval) workflow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-07 00:05:28 +00:00
Ariel Backenroth
43b533cd3f - cleanup of the way in which xform:items are created in the schema form builder (reduces some code)
- emitting xform:upload in schemaformbuilder if an xs:anyURI is encountered
- generating a file picker for xforms:upload


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 23:55:57 +00:00
Gavin Cornwell
98c5a2071c - Incorporated new sidebar which contains the shelf and navigator (tree) components
- Changed version number to 2.0.0 (dev)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 23:26:27 +00:00
Gavin Cornwell
8f17798cde - Incorporated new sidebar which contains the shelf and navigator (tree) components
- Changed version number to 2.0.0 (dev)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 23:22:41 +00:00
Gavin Cornwell
5d08e448dc - Yahoo scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 23:19:46 +00:00
Derek Hulley
4cab830fd9 Merged 1.4 to HEAD (More workflow)
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4166 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4167 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4183 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4184 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4206 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4207 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4215 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4216 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4301 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4302 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 18:34:19 +00:00
Kevin Roast
eba3b28fbe . Root webapp name "ROOT" now fixed for a web project
. Changes for NameMatcher usage in avm sync service compare() method
. Abstraction of AVM web-client workflow utils methods into AVMWorkflowUtil class
. Refactor of SubmitDialog to use workflow util
. Refactor of CreateWebContentWizard to use workflow utils
 - now launches a workflow on submit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 16:06:54 +00:00
Derek Hulley
e8d0027c9b Merged 1.4 to HEAD (Content upload servlet)
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4362 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4363 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 16:05:55 +00:00
Derek Hulley
5b086fc759 Merged V1.3 to V1.4 (Workflow changes required)
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4152 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4153 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4163 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4164 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4178 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4179 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4328 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4329 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4331 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4332 .



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 16:03:37 +00:00
Britt Park
f5f4a867f7 This checkin does two things:
1. Refines the semantics of ghost creation, so that they only appear when
warranted.
2. Implements a mechanism for filtering out files which should not appear in comparison
results or be pushed along by updates.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 22:26:02 +00:00
Kevin Roast
ae4d6a0fd2 . Checkpoint of the Submit dialog for user sandbox assets
- first pass of JSP layout
 - multiple items or all items available for selection
 - calculation of available workflows, from those assigned to form assets and assigned to the website
 - creation of AVM workflow package
 - starting of workflow containing AVM package (appears in users task todo dashlet!)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 17:19:23 +00:00
Ariel Backenroth
5c312a7ece fix for initial values for textareas
fix for insert before 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 08:43:43 +00:00
Ariel Backenroth
d8e78b8e22 - fix for tinymce usage where rather than collect all changes before unload, capture the onblur event and set the value then.
- use fle type image rather than rendering template icon in create web content summary screen
- save content before executing finish or next in create web content wizard - makes error handling more proper
- add output path pattern to summary screen for create form wizard
- handle chiba-state-changed event properly 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 02:24:08 +00:00
Kevin Roast
e57a636bc3 . Fix to WebDav name based path resolving util method
- now correctly handles Company Home root case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 11:39:37 +00:00
Ariel Backenroth
f06cb6ac6e implementing enforcement of repeat constraints. this is not being done in a correct way - but it's good enough for this release. while in xml schema you are limited to simple maximum and minimum constraints for repeats, xforms is a lot more flexible and allows an xpath expression to be used. interpreting this single constraint to determine whether the repeat is at a maximum or minimum is rather difficult - much less interpreting it for arbitrary constraints. for this release, i'm adding maximum and minimum to the bind element in the alfresco namespace and using them from the client. chiba still uses the xpath expression to manage the constraint - but ultimately for now both yield the same results.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 02:30:29 +00:00
Ariel Backenroth
adecb19898 fixing enabled/disabled logic for move up move down repeat controls.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 01:36:14 +00:00
Ariel Backenroth
a65248f1aa implemented expand collapse for repeats (need to work on groups for complexTypes)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 21:53:05 +00:00
Ariel Backenroth
afd865e5b2 more ui work
- tweaking img alignment for repeat controls
- beginning to implement expand collapse for groups

more fixes for 0 to n repeats

next:
- complete expand collapse for groups
- introduce client event model for managing repeat constraints.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 21:26:27 +00:00
Britt Park
f06bfad05d Moved a bunch of things to more logical locations.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 15:43:16 +00:00
Ariel Backenroth
271e55e016 ui updates for nested repeats.
- doing some indenting
- centering repeat controls
- putting borders around repeated items

next:
- expand collapse for groups and repeats
- borders and headings for compound elements
- nested repeat fixes.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 22:49:12 +00:00
Ariel Backenroth
8d2eb8ff45 fixed some basic xforms bug (too many setXFormsValue requests for textfields, multiselect lists not behaving)
- partial fix for repeat 0 to n bug.  still needs much work.

quasi functional nested repeats.  
- refactored the way triggers are generated to use nodesets rather than simple binding.
- reimplemented the way triggers are located in the xform to not rely on ids.
- reimplemented handling of prototype-cloned.  need to actually keep track of prototype ids, and different mechanism for locating the prototype node

what doesn't work:
- it's not usable for many reasons, among them no identation in the ui.
- setRepeatIndex calls aren't bubbling properly so occasionally things get added to the wrong repeat.
- constraints remain unenforced.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4490 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 04:46:23 +00:00
Britt Park
ce1ab1a6d0 Exported AuthenticationService via RMI. Insecure for now but we can switch over
to using SSL when needed.  Restructured exports of AVM specific apis to authenticate
remotely and pass the ticket with each remote service call.  These required some changes
to jndi-client and even to the web-client which uses the AVM remote interface within
the Alfresco server.  Oh, the point of this is that since I'm writing some CLTs, I might
as well do them correctly; we'll need the option of security sooner rather than later.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 00:54:41 +00:00
Kevin Roast
961ca8457c More WCM icon fun
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-01 16:25:03 +00:00
Kevin Roast
9b47676741 . Edit Web Project wizard
- Settings for Forms, Rendering Engines (templates), workflows and workflow config can be modified for a website
 - DNS name and Default Webapp cannot be changed at present
 - Fix to saving of workflow names against web project model
 - Users for a website are not managed in the Edit Web Project Wizard - instead use the Delete Sandbox and Invite Web Project users actions
. Preview Snapshot against previous version UI action removed (not being implemented in the vserver for GA)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-01 13:53:38 +00:00