2 Replies Latest reply on Nov 25, 2009 8:40 AM by Vasavi Vajinepalli

    Property excelExporter is not finding on the namespace in jboss seam-2.1.1GA

    Vasavi Vajinepalli Newbie
      Hi all,

      i am using Jboss Seam-2.1.1GA. and i have jboss.seam-excel.jar & jxl.jar.

      i have included

      <components xmlns:excel="http://jboss.com/products/seam/excel"
      xmlns:document="http://jboss.com/products/seam/document"
      xsi:schemaLocation= http://jboss.com/products/seam/excel http://jboss.com/products/seam/excel/excel-2.1.xsd
      http://jboss.com/products/seam/document http://jboss.com/products/seam/document-2.1.xsd">   and

      <document:document-store use-extensions="true"/> in components.xml.

      and in web.xml,
      <servlet-name>Document Store Servlet Excel</servlet-name>
      <servlet-class>org.jboss.seam.excel.DocumentStoreServlet</servlet-class>


      <servlet-mapping>
      <servlet-name>Document Store Servlet Excel</servlet-name>
      <url-pattern>*.xls</url-pattern>
      </servlet-mapping>


      <context-param>
      <param-name>webAppRootKey</param-name>
      <param-value>seam-excel</param-value>
      </context-param> is included.


      in jboss-web.xml,
      <loader-repository>
      seam.jboss.org:loader=seam-excel
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>

      is included. and in my xhtml,
      <h:commandLink value="Export table as Excel spreadsheet"
                                      rendered="#{!empty excelTest1.result}"
                                      action="#{org.jboss.seam.excel.exporter.excelExporter.export('excelExport:excelTable','jxl')}" /> is included.

      but still im getting the error as follows:

      javax.faces.FacesException: #{org.jboss.seam.excel.exporter.excelExporter.export('excelExport:excelTable','jxl')}: javax.el.PropertyNotFoundException: /home1.xhtml @60,102 action="#{org.jboss.seam.excel.exporter.excelExporter.export('excelExport:excelTable','jxl')}": Property 'excelExporter' not found on type org.jboss.seam.Namespace
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
              at javax.faces.component.UICommand.broadcast(UICommand.java:387)
              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
              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:388)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
              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.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
              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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              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:230)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              at java.lang.Thread.run(Thread.java:636)
      Caused by: javax.faces.el.EvaluationException: javax.el.PropertyNotFoundException: /home1.xhtml @60,102 action="#{org.jboss.seam.excel.exporter.excelExporter.export('excelExport:excelTable','jxl')}": Property 'excelExporter' not found on type org.jboss.seam.Namespace
              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:95)
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
              ... 50 more