05-02-2013 03:25 PM
<config evaluator="string-compare" condition="fn-create-some-folder">
<forms>
<form>
<field-visibility>
<show id="someNumber" />
<show id="someType" />
<show id="someName" />
<show id="someTypeDesc" />
</field-visibility>
<appearance>
<field id="someNumber" label-id="label.create-some.available_some_list">
<control template="/org/alfresco/components/form/controls/createSomething.ftl">
<control-param name="parentNodeRef">{node.nodeRef}</control-param>
</control>
</field>
<field id="someType">
<control template="/org/alfresco/components/form/controls/hiddenFieldWithId.ftl" />
</field>
<field id="someName">
<control template="/org/alfresco/components/form/controls/hiddenFieldWithId.ftl" />
</field>
<field id="someTypeDesc">
<control template="/org/alfresco/components/form/controls/hiddenFieldWithId.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
05-02-2013 04:38 PM
YAHOO.Bubbling.fire('eventName')
.05-02-2013 04:51 PM
05-02-2013 04:46 PM
<config>
<dependencies>
<js src="yui/event-simulate/event-simulate.js" />
<js src="components/com/microstrat/something/createSomething.js" />
</dependencies>
</config>
setHiddenFieldValue()
method (as well as other code). The only thing I don't like is that the event-simulate.js is included rather than conditionally including event-simulate.js or event-simulate-min.js depending on the value of debug.
05-02-2013 05:32 PM
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.