06-25-2013 09:10 AM
06-26-2013 10:57 AM
<config evaluator="node-type" condition="custom:type">
<forms>
<default-controls>
<type name="text"
template="Meu_Tipo_Customizado_de_Renderizador.ftl" />
</default-controls>
<form>
<edit-form template="/2-column-edit-form.ftl" />
<field-visibility>
<show id="kb:articletype" />
<show id="kb:status" for-mode="view" />
</field-visibility>
<appearance>
<field id="kb:articletype" label="Article Type"
description="Knowledge Base Article Type" />
<field id="kb:status" label="Status" description="Approval Status" />
</appearance>
</form>
</forms>
</config>
07-01-2013 09:58 AM
<type name="stt:incidencia">
<title>Incidencia</title>
<parent>cm:content</parent>
<properties>
<property name="stt:produto">
<title>Produtos</title>
<type>d:text</type>
<constraints>
<constraint ref="stt:CtProdutos" />
</constraints>
</property>
<property name="stt:incidencia_estado">
<title>Estado</title>
<type>d:text</type>
</property>
</properties>
</type>
produtoList > dl:dataListItem
produtoNome - d:text
produtoDesc - d:text
produtoSigla - d:text
07-01-2013 10:36 AM
07-01-2013 12:16 PM
http://localhost:8080/alfresco/faces/jsp/admin/node-browser.jsp
07-04-2013 09:01 AM
07-04-2013 09:48 AM
ApplicationContext ctx = FacesContextUtils.getWebApplicationContext(FacesContext.getCurrentInstance());
SearchService ss = (SearchService) ctx.getBean("searchService");
07-08-2013 10:28 AM
<bean id="ListOfFamiliasQueryConstraint" class="package.ListOfValuesConstraintCustomizada">
<property name="nodeService" ref="NodeService" /> //was before nodeService
<property name="searchService" ref="SearchService" />
</bean>
private void loadFamilias() {
if(count > 1){
super.setAllowedValues(getSearchResult());
}else{
List<String> valores = new ArrayList<String>();
valores.add("Inicializando");
valores.add("Inicializando II");
super.setAllowedValues(valores);
count ++;
}
}
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.