3 Replies Latest reply: Oct 10, 2012 3:13 AM by Juan Lv RSS

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

    Abdulkerim İnanmış Novice

      I am taking below error.

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

      Can you help , please;

       

      my page code:

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml"

          xmlns:ui="http://java.sun.com/jsf/facelets"

          xmlns:h="http://java.sun.com/jsf/html"

          xmlns:f="http://java.sun.com/jsf/core"

      xmlns:a4j="http://richfaces.org/a4j"

          xmlns:rich="http://richfaces.org/rich">

      <h:head></h:head>

      <h:body>

              <a4j:form prependId="false">

               <h:commandButton value="Call the popup">

              <rich:componentControl target="popup" operation="show" />

              </h:commandButton>

                      <rich:popupPanel id="popup" modal="false"

              resizeable="true"  style="width:200px;height:100px;">

                      <f:facet name="header">

                          <h:outputText value="Simple popup panel" />

                      </f:facet>

                      <f:facet name="controls">

                          <h:outputLink value="#"

                              onclick="#{rich:component('popup')}.hide(); return false;">

                                  X

                              </h:outputLink>

                       </f:facet>

                       <h:commandButton value="display"  action="#{myBean.displaySwitch}">

                       <f:ajax execute="text" render="text"></f:ajax>

                       </h:commandButton>

                       <h:panelGrid id="text">

                           <h:inputText value=" " id="input" rendered="#{myBean.display}" />

                        </h:panelGrid>

       

       

       

                  </rich:popupPanel>

                  <rich:messages></rich:messages>

                  </a4j:form>

       

      </h:body>

      </html>

       

      lib.JPG