02-20-2012 09:59 AM
We want to force users to add a revision comment when a file gets a new version, so we can see a summary at the history of that file. How can we make "Change Comment" field (at the "File Edit" window) as mandatory to force users to write revision comments?
02-20-2012 10:19 AM
You can override the "document_edit.xhtml" template and make the textarea mandatory by adding the property required="true" to it.
02-20-2012 10:19 AM
You can override the "document_edit.xhtml" template and make the textarea mandatory by adding the property required="true" to it.
02-20-2012 11:09 AM
Thank you for quick answer,
02-20-2012 11:16 AM
For the red * to appear just change the class on the "td" element around the label
02-20-2012 11:16 AM
If you made the change to the XHTML file on the running server then the next time the server stops/starts the nuxeo WAR will be redeployed and erase your changes. To make this permanent you need to make a contribution to override the default document_edit.xhtml file.
02-20-2012 04:21 PM
Ok, I think I got how it works. The rest is not problem. Thank you so much.
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.