8 Replies Latest reply on Feb 29, 2008 12:05 PM by Romain Cherchi

    JSTL issue with c:url

    Romain Cherchi Newbie

      Hi guys,


      I use seam 1.2.1 GA (with facelets) and jboss 4.0.5 GA.


      I'm trying to use urlrewrite to have nice URLs.


      This doesn't work :


      <c:url var="siteMapURL" value="/sitemap/index.seam"></c:url>
      <a href="{siteMapURL}">Sitemap</a>



      Here is the ERROR :


      An Error Occurred:
      /include/top.xhtml @73,57 <c:url> Tag Library supports namespace: http://java.sun.com/jstl/core, but no tag was defined for name: url




      Here is to outbound-rule :


          <outbound-rule>
              <from>^/sitemap/index.seam$</from>
              <to>/world</to>
          </outbound-rule>



      XML Namespaces are :


      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
           xmlns:s="http://jboss.com/products/seam/taglib"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:c="http://java.sun.com/jstl/core">



      Here is the JSTL Documentation.


      Thank you for your help.


      Best regards,


      Romain