11-20-2008 01:06 PM
<f:view>
<h:outputText value="#{EditMediaDetailBean.name}" />
and
<h:outputText value="#{EditMediaDetailBean.defaultLanguage}" />
</f:view>
javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/comnos/editMediaDetail.jsp][Class: javax.faces.component.html.HtmlOutputText,Id: _idJsp1]}
caused by:
org.apache.jasper.JasperException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/comnos/editMediaDetail.jsp][Class: javax.faces.component.html.HtmlOutputText,Id: _idJsp1]}
caused by:
javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/comnos/editMediaDetail.jsp][Class: javax.faces.component.html.HtmlOutputText,Id: _idJsp1]}
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{EditMediaDetailBean.defaultLanguage}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property defaultLanguage of base of type : com.comnos.alfresco.web.bean.EditMediaDetailBean
caused by:
javax.faces.el.EvaluationException: Bean: com.comnos.alfresco.web.bean.EditMediaDetailBean, property: defaultLanguage
caused by:
java.lang.reflect.InvocationTargetException
caused by:
org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required: Thread[http-8080-Processor22,5,main]
ContentReader reader = contentService.getReader(nodeRef, ContentModel.PROP_CONTENT)
<managed-bean>
<description>Bean that manages media detail GUI</description>
<managed-bean-name>EditMediaDetailBean</managed-bean-name>
<managed-bean-class>com.comnos.alfresco.web.bean.EditMediaDetailBean</managed-bean-class>
<!– <managed-bean-scope>request</managed-bean-scope> –>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>sessionBean</property-name>
<value>#{SessionBean}</value>
</managed-property>
</managed-bean>
11-27-2008 12:06 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.