01-12-2007 10:33 AM
ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Transaction didn't commit: A value for the mandatory parameter inline-edit has not been set on the rule item change-inline-edit
javax.transaction.RollbackException: Transaction didn't commit: A value for the mandatory parameter inline-edit has not been set on the rule item change-inline-edit
<bean id="customActionsResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.extension.messages.custom-action-config</value>
</list>
</property>
</bean>
And in custom-action-config.properties I have defined:
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
{
logger.debug("got here !!");
paramList.add(new ParameterDefinitionImpl(PARAM_INLINE_EDIT, DataTypeDefinition.BOOLEAN, true, getParamDisplayLabel(PARAM_INLINE_EDIT)));
}
// inlineeditable aspect
static final QName ASPECT_INLINEEDITABLE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "inlineeditable");
static final QName PROP_EDITINLINE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "editInline");
<aspect name="app:inlineeditable">
<title>Inline Editable</title>
<properties>
<property name="app:editInline">
<title>Edit Inline</title>
<type>d:boolean</type>
</property>
</properties>
</aspect>
if (this.nodeService.hasAspect(actionedUponNodeRef, ContentModel.ASPECT_INLINEEDITABLE))
this.nodeService.setProperty(actionedUponNodeRef, ContentModel.PROP_EDITINLINE, inlineEdit);
<config evaluator="aspect-name" condition="tag:taggable">
<property-sheet>
<show-property name="tag:tags" />
</property-sheet>
</config>
<config evaluator="aspect-name" condition="app:inlineeditable">
<property-sheet>
<show-property name="app:editInline"/>
</property-sheet>
</config>
javax.faces.FacesException: Cannot get value for expression '#{DocumentDetailsBean.name}'
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{DocumentDetailsBean.name}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{DocumentDetailsBean.name}'
caused by:
javax.faces.el.EvaluationException: com.evolvedthought.alfresco.bean.DocumentDetailsBean
caused by:
javax.faces.el.EvaluationException: Bean: com.evolvedthought.alfresco.bean.DocumentDetailsBean, property: name
caused by:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.NullPointerException
Hide Details
javax.faces.FacesException: Cannot get value for expression '#{DocumentDetailsBean.name}'
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
01-15-2007 05:45 AM
01-19-2007 04:46 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.