08-05-2011 07:59 PM
An error has occured in the Share component: /share/service/components/form.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 07050000 Failed to process template org/alfresco/components/form/form.get.html.ftl
Server: Alfresco Spring WebScripts - v1.0.0 (Release Candidate 2 785) schema 1,000
Time: Aug 5, 2011 4:46:05 PM
Click here to view full technical information on the error.
Exception: freemarker.template.TemplateException - Error executing macro: renderField required parameter: field is not specified.
<div class="full-width">
<@formLib.renderField field=form.fields["prop_mymodel_peer"] />
</div>
….
<edit-form template="custom-editform-mymodel.ftl" />
<field-visibility>
…
<show id="mymodel:peer" force="true" />
</field-visibility>
<appearance>
…
<field id="mymodel:peer" label="Associations" set="File">
<control template="/org/alfresco/components/form/controls/association.ftl">
<control-param name="displayMode">items</control-param>
<control-param name="showTargetLink">true</control-param>
<control-param name="compactMode">false</control-param>
<control-param name="forceEditable">true</control-param>
</control>
</field>
</appearance>
</form>
08-06-2011 12:44 AM
09-26-2011 10:46 PM
04-17-2013 03:39 AM
<@formLib.renderField field=form.fields["prop_mymodel_peer"] />
<@formLib.renderField field=form.fields["assoc_mymodel_peer"] />
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.