cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying Complex Forms in a WebScript

jk3us
Champ in-the-making
Champ in-the-making
I'm trying to develop a webscript to allow users to update metadata for all files in a space at once.  I'm currently using the file upload example as my model for displaying a form that submits to another webscript. 

In that form, is there a way to create the complex form fields that alfresco uses in its built-in "edit property" form.  For example, the data fields in the built-in form are broken up into year/month/date, and the "tags" field has a very complex little UI that pops up to edit the tags for the object.  I don't want to have to duplicate those form fields in my webscript, is there a way to just print out the form controls used by alfresco itself?
1 REPLY 1

stevegreenbaum
Champ in-the-making
Champ in-the-making
When I've developed form based web scripts I built the form field components myself in html/javasript/YUI since I didn't see a way to leverage the components used in the JSF interface in my nonJSF forms.  I never looked into building JSF based forms to leverage the existing Alfresco components, but that seems like an alternative.  In the Share module, the xforms (http://wiki.alfresco.com/wiki/Forms_Examples)capability exists which I assume then you could leverage any OOTB Share form components.  I understand the xforms approach will be available throughout Alfresco (DM) in the future, but I don't know if it is slated for v3.3.