02-11-2014 08:17 AM
<bean id="my.categoryPropertyDecorator" parent="categoryPropertyDecorator" class="org.alfresco.repo.jscript.app.CategoryPropertyDecorator">
<property name="propertyName" value="my:category" />
</bean>
and it works.02-11-2014 12:06 PM
02-11-2014 12:43 PM
02-11-2014 09:58 PM
@Override
public void setPropertyName(String propertyName)
{
propertyNames = new HashSet<QName>(1);
propertyNames.add(QName.createQName(propertyName));
}
<bean id="my.categoryPropertyDecorator" parent="categoryPropertyDecorator" class="**.MyCategoryPropertyDecorator" >
<property name="propertyName" value="{http://www.example.org/model/content/1.0}category" />
</bean>
02-12-2014 03:46 AM
02-12-2014 04:47 AM
public void setPropertyName(String propertyName)
{
propertyNames = new HashSet<QName>(1);
propertyNames.add(QName.createQName(propertyName, namespaceService));
}
@Override
public void setPropertyName(String propertyName)
{
propertyNames = new HashSet<QName>(1);
propertyNames.add(QName.createQName(propertyName));
}
<bean id="my.categoryPropertyDecorator" parent="categoryPropertyDecorator" class="**.MyCategoryPropertyDecorator" >
<property name="propertyName" value="{http://www.example.org/model/content/1.0}category" />
</bean>
02-12-2014 05:10 AM
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.