10-21-2009 05:19 AM
javax.faces.FacesException: javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.aspects}'
caused by:
org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.aspects}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.aspects}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property aspects of base of type : org.alfresco.sample.CustomCreateContentWizard
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.sample.CustomCreateContentWizard, property: aspects
caused by:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.IllegalAccessError: tried to access field org.alfresco.web.bean.dialog.BaseDialogBean.dictionaryService from class org.alfresco.sample.CustomCreateContentWizard
<wizard name="ajSpace" managed-bean="AjSpaceWizard"
[…]
<config>
<actions>
<action id="aj_space_wizard">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<labe>El labe</labe>
<label-id>aj_espacio_wizard_label</label-id>
<image>/images/icons/new_content.gif</image>
<action>wizard:ajSpace</action>
</action>
</actions>
</config>
<config>
<actions>
<action-group id="browse_create_menu">
<action idref="aj_space_wizard" />
</action-group>
</actions>
</config>
<managed-bean-name>AjSpaceWizard</managed-bean-name>
<managed-bean-class>org.alfresco.sample.AjSpaceWizard</managed-bean-class>
org.alfresco.error.AlfrescoRuntimeException: 09210002 Failed to start wizard as managed bean 'AjSpaceWizard' has not been defined
10-21-2009 06:48 AM
10-21-2009 06:56 AM
10-21-2009 07:05 AM
10-21-2009 10:41 AM
<managed-bean>
<managed-bean-name>CustomCreateContentWizard</managed-bean-name>
<managed-bean-class>org.alfresco.sample.CustomCreateContentWizard</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>fileFolderService</property-name>
<value>#{FileFolderService}</value>
</managed-property>
<managed-property>
<property-name>searchService</property-name>
<value>#{SearchService}</value>
</managed-property>
<managed-property>
<property-name>navigator</property-name>
<value>#{NavigationBean}</value>
</managed-property>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>contentService</property-name>
<value>#{ContentService}</value>
</managed-property>
<managed-property>
<property-name>dictionaryService</property-name>
<value>#{DictionaryService}</value>
</managed-property>
</managed-bean>
<managed-bean>
<description>
The bean that backs up the Create Space Wizard
</description>
<managed-bean-name>CreateSpaceWizard</managed-bean-name>
<managed-bean-class>org.alfresco.web.bean.spaces.CreateSpaceWizard</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>fileFolderService</property-name>
<value>#{FileFolderService}</value>
</managed-property>
<managed-property>
<property-name>searchService</property-name>
<value>#{SearchService}</value>
</managed-property>
<managed-property>
<property-name>navigator</property-name>
<value>#{NavigationBean}</value>
</managed-property>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>dictionaryService</property-name>
<value>#{DictionaryService}</value>
</managed-property>
<managed-property>
<property-name>namespaceService</property-name>
<value>#{NamespaceService}</value>
</managed-property>
</managed-bean>
10-21-2009 01:27 PM
10-22-2009 07:38 AM
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
super.finishImpl(context, outcome);
this.nodeService.setProperty(this.createdNode, <QName for custom:fieldOne>, value);
this.nodeService.setProperty(this.createdNode, <QName for custom:fieldTwo>, value);
return outcome;
}
if(this.nodeService != null) { ; }
java.lang.IllegalAccessError: tried to access field org.alfresco.web.bean.dialog.BaseDialogBean.nodeService
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.