1 Reply Latest reply on Aug 29, 2011 2:25 PM by Bharat Kasodariya

    combobox in richfaces 4.0

    Bharat Kasodariya Newbie

      I want to use combobox in my page. I tried rich:combobox in my page but i got the following error. It looks like there is no comboBox tag in richfaces4.0 components.

      can anybody help me?

       

       

      <rich:comboBox> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: comboBox

      javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)

       

      root cause

      javax.faces.view.facelets.TagException: /pages/CustomerMaster.xhtml @16,44 <rich:comboBox> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: comboBox
           com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:291)
           com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:232)
           com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
           com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:767)
           com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
           com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
           com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
           com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
           com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
           com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
           com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
           com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
           com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
           com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
           javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
           javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
           com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:392)
           com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:368)
           com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:124)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:297)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.access$100(DefaultFaceletFactory.java:92)
           com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:162)
           com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:161)
           com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:83)
           com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:79)
           com.sun.faces.util.ExpiringConcurrentCache$1.call(ExpiringConcurrentCache.java:99)
           java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
           java.util.concurrent.FutureTask.run(FutureTask.java:138)
           com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:114)
           com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:119)
           com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:62)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:248)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:193)
           com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:741)
           com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
           com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)

       

      Thanks,

      Bharat

       

       

       

      I am using richfaces4.0.