Are there any examples on how to implement a new form widget into a form? Perhaps how to click a simple widget such as s button. I'm interested in how types defined in the xsd (normalizedString,anyURI) are mapped to entries in web-client-config-wcm.xml. For example, anyURI is mapped to a filepicker. is there a way to change it so anyURI points to another widget?
This is documented at http://wiki.alfresco.com/wiki/Forms_Authoring_Guide, although I don't believe there are any examples posted up there yet. Basically the way it works is that XML Schema annotations (specifically the <alf:appearance> annotation) are used by the developer to tell Alfresco which widget to use for each element, using a symbolic widget name. If you implement a custom widget (as documented at http://wiki.alfresco.com/wiki/Creating_XForms_Widgets) one of the steps is to define a symbolic name for it, which can then be used in this annotation to select that widget for a given element.