cancel
Showing results for 
Search instead for 
Did you mean: 

Problems using widgets

geekonspace
Star Contributor
Star Contributor

Hi, I am developing a new view using contentView, layouts, page providers and widgets. All working perfectly while use this configuration for my widgets:

<widget name="listing_solicitudTitle" type="solicitudWidget">
  <labels>
    <label mode="any">Título</label>
  </labels>
  <fields>
     <field>data.title</field>
  </fields>
  <translated>false</translated>
  <widgetModes>
    <mode value="any">view</mode>
  </widgetModes>
</widget>

<widgetType name="solicitudWidget">  
  <handler-class>
    org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
  </handler-class>
  <property name="template">
    /widgets/solicitud_widget_template.xhtml
  </property>
</widgetType>

but when I try use configuration of nuxeo's widget (author), one error is showed in my application:

<layout name="solicitudes_listing">
  <templates>
    <template mode="any">
      /layouts/layout_listing_template.xhtml
    </template>
    <template mode="csv">
      /layouts/layout_listing_csv_template.xhtml
    </template>
    <template mode="pdf">
      /layouts/layout_listing_pdf_template.xhtml
    </template>
  </templates>
  <properties mode="any">
    <property name="showListingHeader">true</property>
    <property name="showRowEvenOddClass">true</property>
  </properties>
  <columns>
    <column>
      <properties mode="any">
        <property name="useFirstWidgetLabelAsColumnHeader">true</property>
      </properties>
      <widget>listing_solicitudUid</widget>
    </column>
    <column>
      <properties mode="any">
        <property name="useFirstWidgetLabelAsColumnHeader">true</property>
      </properties>
      <widget>listing_solicitudTitle</widget>
    </column>
    <column>
      <properties mode="any">
        <property name="useFirstWidgetLabelAsColumnHeader">true</property>
      </properties>
      <widget>author</widget>
    </column>
  </columns>
</layout>

Error:

/widgets/single_user_widget_template.xhtml @12,41 value="#{nxu:userFullName(field)}": Property 'dc' not found on type org.nuxeo.ecm.platform.query.api.PageSelection

In my content view, I am trying use this default widget but it not working:

<widget name="author" type="template">
  <labels>
    <label mode="any">label.dublincore.creator</label>
  </labels>
  <helpLabels>
    <label mode="edit">label.dublincore.author.info</label>
  </helpLabels>
  <translated>true</translated>
  <fields>
    <field>dc:creator</field>
  </fields>
  <widgetModes>
    <mode value="any">view</mode>
    <mode value="pdf">pdf</mode>
  </widgetModes>
  <properties mode="any">
    <property name="template">
      /widgets/single_user_widget_template.xhtml
    </property>
  </properties>
</widget>

I have several widget where my fields are: dc:title, dc:description........ It only works when I configure the fields as follows:

data.title data.description

My new view is like the user/group view list but here users will search only documents

How Can I accede to fields of other schemas ?

I follow the Florent answer but get this error:

null

               javax.servlet.ServletException
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.wss.servlet.BaseWSSFilter.doFilter(BaseWSSFilter.java:137)
	at org.nuxeo.wss.servlet.FailSafeWSSFilter.doFilter(FailSafeWSSFilter.java:55)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at org.nuxeo.ecm.platform.ui.web.multipart.MultipartFilter.doFilter(MultipartFilter.java:73)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:131)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.wi.filter.WIRequestFilter.doFilter(WIRequestFilter.java:114)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:145)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:548)
	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:35)
	at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:116)
	at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:33)
	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:349)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:79)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
	at org.nuxeo.ecm.core.api.CoreInstance.getSession(CoreInstance.java:222)
	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getCoreSession(DocumentModelImpl.java:354)
	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentModelImpl.java:464)
	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentModelImpl.java:486)
	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPart(DocumentModelImpl.java:1335)
	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1372)
	at org.nuxeo.ecm.platform.el.DocumentModelResolver.getDocumentProperty(DocumentModelResolver.java:171)
	at org.nuxeo.ecm.platform.el.DocumentModelResolver.getValue(DocumentModelResolver.java:135)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.AliasValueExpression.getValue(AliasValueExpression.java:98)
	at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:40)
	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	at javax.faces.component.UIOutput.getValue(UIOutput.java:184)
	at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:284)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:154)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:242)
	at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeChildren(CommandLinkRenderer.java:149)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
	at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
	at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
	at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
	at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processComponent(UIAliasHolder.java:191)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.processFacetsAndChildren(UIAliasHolder.java:162)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.encodeChildren(UIAliasHolder.java:128)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
	at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
	at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:166)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
	at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
	at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
	at org.ajax4jsf.component.UIAjaxRegion.encodeAjax(UIAjaxRegion.java:263)
	at org.ajax4jsf.component.AjaxViewRoot$4.invokeContextCallback(AjaxViewRoot.java:489)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.invokeOnComponent(UIAliasHolder.java:109)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
	at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:543)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at org.nuxeo.ecm.platform.ui.web.lifecycle.NuxeoLifeCycleImpl.render(NuxeoLifeCycleImpl.java:98)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	... 54 more

I reminder you that in my page provider class get the documents using my own ServiceSearchManger and it accesess to repository opening and closing a new CoreSession because I not found a way to inject documentManager in my class PageProvider. I dont know if this is good or bad, I hope you can help me with this.

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

Try the syntax <field>data.dc.title</field> and replace dc.title by whatever is your schema and field

I did it but it not working. I edited my answer for show you the error

Hi, as you said, now my results list is showed without errors but I am using another contentView contribution without my SolicitudesProvider.class. I have defined a new contentView with its own coreQueryPageProvider and its property coreSession "documentManager"