Commit Graph

61 Commits

Author SHA1 Message Date
Ariel Backenroth
f5e16dfcd0 fixing some bugs with setting repeat indices. tinymce was blocking capture of click events so it was never setting repeat indexes so that was causing issues. secondly, for nested repeats, now setting the full hierarchy of repeats in order to avoid any blocking issues when events aren't being properly propogated. a bit brute force, but does seem to make things more stable.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4778 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-10 06:21:20 +00:00
Ariel Backenroth
33ad926233 - fixing edit form wizard to properly show when no default workflow is configured
- fixing row highlight bug in repeats when they're moved around
- attempt to fix move up move down issues for tinymce - but mce is really not behaving at all
- fix for folder icon in manage task screen, but doesn't really solve the problem that inappropriate actions are available.
- some minor fixes for create form wizard summary page.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-09 23:34:49 +00:00
Ariel Backenroth
cabab31ec0 adding pager to manage task resources list
fixing columns in create form wizard to not move around wildy once files are uploaded

fixing some bugs in repeats as a result of the chiba1.3 upgrade.
- xpaths were not being resolved for newly created instances (and shouldn't be)
- xpaths for nested repeats weren't behaving properly

fixed caching issue in edit which was causing the wrong form to be loaded for instance data

using alfresco namespace as defined in NamespaceService

passing namespace uris and prefixes to js to avoid errors if they should change

fixed a bug where the renditions property of forminstancedata was getting duplicate renditions (and thus regenerating way too much stuff when doing an edit)

using an italic 'description not set' when description isn't set in several screens.

using the avm service to set properties in renderingenginetemplateimpl.

upgrading to xalan-2.7.0 in order to be able to use bsf for extension functions.

adding the path that was not found to AVMNotFoundExceptions.  very helpful when debugging.

substantial refactoring of rendering engines in preparation for integration with TemplateService.
 - implementing a common model as a hash of QNames to objects.  for method, providing a simple method wrapper called TemplateProcessorMethod which takes an array of Objects as a parameter, and returns an object.  it is up to the template processors to properly convert arguments.  a QName is used for the variable name rather than a string in order to include a namespace prefix (needed for xsl, and generally better looking).

- for xsl, using javascript bindings for formdatafunctions, which using liveconnect within rhino to call into the xsl rendering engine to evaluate the function.  it ends up generating this js block into a xalan:component within the xsl tempalte:

// gets the handle to the backing java object which can invoke the function based on id
var _xsltp_invoke = java.lang.Class.forName('org.alfresco.web.forms.XSLTRenderingEngine$ProcessorMethodInvoker').newInstance();

// utility to convert js arrays into java
function _xsltp_to_java_array(js_array) {
var java_array = java.lang.reflect.Array.newInstance(java.lang.Object, js_array.length);
for (var i = 0; i < js_array.length; i++) { java_array[i] = js_array[i]; }
return java_array; }

// js handles to each of the form data functions which uses _xsltp_invoke to call the actual method
function _getAVMPath() { return _xsltp_invoke.invokeMethod('_getAVMPath8829055', _xsltp_to_java_array(arguments)); }
function parseXMLDocuments() { return _xsltp_invoke.invokeMethod('parseXMLDocuments12235190', _xsltp_to_java_array(arguments)); }
function parseXMLDocument() { return _xsltp_invoke.invokeMethod('parseXMLDocument15280968', _xsltp_to_java_array(arguments)); }

xml model data is inferred as a root namespace document within the model hash provided.

- for freemarker, things pretty much work as they did before, just i now need to convert values by hand to TemplateModels

fixed a bug with hidden iframe upload.  seems like the complexity of actually cloning the file input element is unnecessary and that simply attaching the node in two places within the dom works just fine.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-09 14:42:34 +00:00
Ariel Backenroth
a35a66a524 extracting xforms:bind into it's own js object. fix for types where nodeset = '.'.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-19 06:35:26 +00:00
Ariel Backenroth
354abf4147 more ui work on xforms ui and fixing the extraction of css into it's own file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 23:06:40 +00:00
Ariel Backenroth
6266b8657d - using percentage widths within the xforms gui - fixes several resize and sizing issues.
- extracting some style information from the xform into a stylesheet
- fix the image locations for create/edit form

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 21:00:55 +00:00
Ariel Backenroth
98a57a97fa starting on IE porting of xforms ui. most problems so far have to do with IE not supporting custom events the same way firefox does (and the way the spec recommends). other issue is that IE doesn't allow changing the type of a form input after it has been added to the DOM.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-17 21:21:37 +00:00
Ariel Backenroth
d318fea7a9 upgrading to chiba-1.3.0. there are several significant bug fixes that customers will notice - and several that make my life easier so i figure might as well go for it. things seem reasonably stable at this point so i'm comfortable with taking the hit sooner rather than later.
- adding chiba-1.3.0.jar in lib rather than chiba dir (removing chiba dir since we really only use one jar from them at this point)
- need to generate xform with unprefixed id attributes
- using a bunch of constants now defined within chiba.
- generating my own xpaths in js using binding nodesets since chiba remove the once useful chiba:xpath attribute.
- better error handling for breakage when processing schema and xform

fixing bug in create form details screen where form-name and form-title weren't being prefilled after uploading the schema.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-16 20:02:38 +00:00
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
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
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
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
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
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
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
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
Ariel Backenroth
c6ff68c709 fix to provide bullet lists in tinymce
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-06 00:27:07 +00:00
Ariel Backenroth
390ca111c7 - implementing move up move down on the server side
- many repeater fixes (both filed and unfiled)
- reducing groups from generated xform
- testing complex types in forms
- more test cases for repeats
- adding description and title to create form

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 23:16:36 +00:00
Ariel Backenroth
ea6c85be54 - beginning to respect fixed values from xsd
- fixing bug with default values for select widgets
- some more unit tests for repeating items, and xsd attributes
- parsing xsd when creating the form and presenting a combobox with element names that are possible root tag names
- ensuring that there can't be multiple output methods that output the same extension
- moving createxmlcontenttype to createformwizard in wcm where it belongs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-15 22:40:49 +00:00
Ariel Backenroth
5517918179 - making textfield wider for string types per john's request
- fixing a bug in multiselect lists (this was leftover from some changes i made yesterday - definitely a desirable fix)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-11 14:15:04 +00:00
Ariel Backenroth
253a51f5e4 - getting error reporting to work on IE
- modifications to error reporting based on conversation with linton this morning.  we'll do something more sophisticated for preview II (or the release), but for now, something clean and clear (enumerate all errors above the form and change the label to be red).

- fixed some bugs with radios.  need to list them vertically, otherwise the ones with long labels don't show up.

- indicating getValue consistently, important for deciding which elements aren't ready for submit.

TODO: repeats are still not indicating required values correctly or providing submit errors properly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-10 01:06:36 +00:00
Ariel Backenroth
591f91b26d - fixing issue with xsls and virtualized jsps in IE. IE really wants script tags to have a separate close tag
- fixing issue with deleting repeat instances and tinymce - it has to be disposed of properly.  should be good to go with IE for the preview now.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-08 03:14:53 +00:00
Ariel Backenroth
bb3ce60c38 fixing bug with radio buttons in IE.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-08 01:35:26 +00:00
Ariel Backenroth
429d9e273b use setAttribute("className" in IE rather than setAttribute("class"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-07 23:43:39 +00:00
Ariel Backenroth
e2d119b3ba fix minor spacing issue with labels
don't use setAttribute("style" in IE ... doesn't work...  i know there's a real workaround but i'm just using element.style.bla instead.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-07 23:40:23 +00:00
Ariel Backenroth
2a0c698412 fixing some issues with the ie porting.
- loading... graphics now shows up
- fixed checkbox default values.  checkbox wants to be appended to the DOM before it shows up.
- fixed problem with broken extra image in repeats
- fixed problem with undefined showing up in combobox entries



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-07 23:35:03 +00:00
Ariel Backenroth
de8a5f73b2 preliminary ie support for the xforms ui.
- response.setContentType must be text/xml or responseXML will not get parsed by IE.
- getElementsByTagNameNS only works on mozilla...
- IE is much more picky about all elements explicitly setting position, top, and left, when using relative positioning
- IE's xpath implementation is non obvious and incomplete.  found a good explanation of how to use it here http://sarissa.sourceforge.net/doc/overview-summary.html#xpath.  requires a lot more manual labor to get things working, but in the end, does seem to work.  need to add in an abstraction layer...
- it fails dramatically when you terminate a list of properties with comma, meaing var bad = {foo:bar, foo2:bar2, }
var good = {foo:bar, foo2:bar2}
- ie event model is different, using the dojo abstraction layer seems to fix that, particularly for the submit buttons.  changed the way submit buttons are added to make the xforms stuff pull them rather than have the jsps add them to the xform.  thought this was necessary because of weird loading behavior in IE, but it probably wasn't.  either way - it's less code and more centralized now.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-07 22:14:16 +00:00
Ariel Backenroth
fba8822043 putting the alert text next to the source of the error - looks absolutely horrific but more useful than what was there before. i'll work on the presentation more tomorrow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-05 06:52:27 +00:00
Ariel Backenroth
e8643d2003 - adding support for alerts
- allowing overriding of label and specification of alert using xs:appinfo and inner alfresco:label, alfresco:alert tags. 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-05 05:55:22 +00:00
Ariel Backenroth
54ac87ef6b - removing usage of dojo for textfield widgets - they were basically useless and i'm working towards consistent presentation for valid/invalid states
- implementing preliminary validation feedback for submit errors meaning that for the most part, the client knows which elements are in an invalid state on submit and require fixes

next steps:
- add in xforms:alerts so we get better error messages when a control is not filled out/filled out with an invalid value
- fix up the error reporting in the ui so it looks more presentable
- add in support for custom xforms:alerts as metadata within the xsd so that we can have truly informative error messages.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-05 02:24:33 +00:00
Ariel Backenroth
5483afc279 handling list compontent type (xforms:select).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 07:37:06 +00:00
Ariel Backenroth
5fdef3896a some minor cleanup to code in how widgets are loaded.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 17:56:03 +00:00
Ariel Backenroth
8b3e6b01a0 fixing an issue where tinymce was wrapping content in p tags - messes with my careful layout in my xsls. removing no longer used dojo imports.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 17:11:00 +00:00
Ariel Backenroth
d81c4c98b1 fixing some ui problems with the forms. making the contrast between repeated rows somewhat less, and remove highlighting of the selected row - it's not really useful information for the user.
temporary workaround for tinymce sizing issue - and putting some of the buttons back into it.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 04:30:35 +00:00
Ariel Backenroth
66f93f07a3 fixing support for using xml namespaces within forms.
enabling using attributes within forms.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 00:09:26 +00:00
Ariel Backenroth
069649c8ed some fixes for reading in default values for checkboxes and dates. checking in some of my test xsds and xsls.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 16:51:47 +00:00
Ariel Backenroth
83fcb2064c - working on better error handling - showing some more informative error messages instead of that 500 error thing.
- attempting to figure out which fields are invalid in order to provide better (and eventually consistent feedback)
- more bug fixes related to dojo downgrade.
- making alternate rows have a different background color.
- fixing up selection logic and reducing redundant setindex calls



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-21 17:56:10 +00:00
Ariel Backenroth
ab97ccef76 o upgrade tinymce to 2.0.6.1. get it out of the web-client source tree and do the extract into the assembling war file.
o fix submit error in forms.  i rejiggered ids and didn't update the code to send the right ones for submit.
o improvements to how ajax requests are made.  centralizing that code, serializing requests, and adding a gmail style "Loading..." thing (mostly for diagnostic purposes).
o tinymce fixes - still a lot of work to be done.  reduced (by way too much) the number of buttons in the toolbar - i'll iron that out today.  it's still sizing itself irresponsibly - and i really want a way to get blur events.  may need to patch it.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-20 19:25:57 +00:00
Ariel Backenroth
b61fefddbd fixing numerous alignment issues.
fixing bug where removing a repeat instance causes the entire form to creep down the page.
fixes for regressions caused by downgrade to dojo-0.3.1.
implementing the client side of moveup/movedown - haven't dealt with the server side yet.  maybe noone will notice?



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-20 00:16:58 +00:00
Ariel Backenroth
e27ccc118c fixing some regressions caused by the switch back to dojo-0.3.1. spinnerintegertextbox is now gone - not bothering with spinners for now - they're overrated.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-19 06:40:59 +00:00
Ariel Backenroth
783ab620cb reverting back to dojo 0.3.1 from the nightly - still requires more testing to make sure i haven't broken anything but the nightly was unstable and i feel more comfortable on the released version.
extracting dojo from 3rd-party so it's no longer cluttering up the source tree and putting it in source/web/scripts/ajax/dojo instead of source/web/scripts/ajax

playing around with some dojo effects for delete - fixed a bug when deleting the last repeat instance

removing some no longer used files (dojogenerator and dwr.jar)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-18 23:12:46 +00:00
Ariel Backenroth
97ea14c605 using browser based xpath (for now just mozilla). fixes a combobox bug where i wasn't evaluating an xpath:constraint, and allows reading back model data with more complicated xpaths (such as repeater data).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3819 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-18 11:01:53 +00:00
Ariel Backenroth
e1a92d2983 get edit working again - looks like reading back model data got broken in a merge. still doesn't work %100 for repeats - need an xpath interpreter in order to do that.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3817 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-18 09:28:35 +00:00
Ariel Backenroth
7658b1c616 - modifications to how event log works so that chiba-replace-all works (need to use property attributes instead of using the property name as the nodeName since it seems that sometimes the propertyName is null).
- fixing up all the other widgets (other than textfield) so they work again after all the refactoring in the past week
- getting save to work again
- popping up an alert for xforms-submit-error



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-18 09:03:20 +00:00