9 Replies Latest reply on Apr 4, 2012 11:50 AM by Ken Finnigan

    portlet taglib not recognized

    Thomas Delhoménie Newbie

      Hi,

       

      I am using JBoss portlet bridge 2.0 with GateIn 3.1 and Mojarra 1.2 on JBoss 5.1.

      I have done a basic portlet with only one page :

       

      <?xml version="1.0" encoding="ISO-8859-1"?>

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

      <html xmlns:jsp="http://java.sun.com/JSP/Page"

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

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

          xmlns:t="http://myfaces.apache.org/tomahawk"

          xmlns:p="http://java.sun.com/portlet_2_0">

          

       

      <p:defineObjects/>     

              <form enctype="multipart/form-data" method="post" action="<p:actionURL/>" id="formArquivoXml">            

                  <input type="file" style="float: left;" size="10" name="arquivoXml" id="arquivoXml">

                  <img src="${pageContext.request.contextPath}/img/btn-abrir.gif" id="submitArquivoXml" onclick="document.forms['formArquivoXml'].submit();"> 

              </form>

      </html>

       

      but the portlet tags (<p:defineObjects/> and <p:actionURL/>) are not recognized. They are sent in the output as is. So I can see <p:defineObjects/> in the HTML code.

       

      Did anybody already have this issue ?

       

      Regards