01-23-2009 05:59 AM
02-17-2009 04:25 AM
04-16-2009 04:59 AM
05-07-2009 11:04 AM
05-11-2009 10:38 AM
05-12-2009 08:47 AM
05-12-2009 09:54 AM
05-15-2009 05:36 AM
I found this in the SVN logs (r12427) when they removed the ECM Forms : "Fix for ETHREEOH-218: DM forms should be disabled".
I managed to reenable it modifying the following files (I had to do a clean install though, cause I did not want to make a patch) :
jsp\content\create-content-wizard\details.jsp (for the forms drop-down)
bootstrap-context.xml (for the Forms Folder)
web-client-config-actions.xml (for the Create Form action)
The bottom line is that I would like to know why they removed it cause I don't want to crawl into a hole…
05-19-2009 03:51 AM
import org.alfresco.model.WCMAppModel;
if (MimetypeMap.MIMETYPE_TEXT_PLAIN.equals(mimetype) || MimetypeMap.MIMETYPE_XML.equals(mimetype) || MimetypeMap.MIMETYPE_TEXT_CSS.equals(mimetype)
if (workingCopyNode.hasAspect(WCMAppModel.ASPECT_FORM_INSTANCE_DATA))
{
// editable form document
FacesContext fc = FacesContext.getCurrentInstance();
fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "dialog:close:browse");
this.navigator.setupDispatchContext(workingCopyNode);
fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "wizard:editContent");
}
else if (MimetypeMap.MIMETYPE_TEXT_PLAIN.equals(mimetype) || MimetypeMap.MIMETYPE_XML.equals(mimetype) || MimetypeMap.MIMETYPE_TEXT_CSS.equals(mimetype)
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.