5 Replies Latest reply on Oct 25, 2007 6:10 PM by pmuir

    jstl forTokens - Is it possible?

    dparanhos

      I am trying to use the forTokens jstl tag but I'm getting the folowing error:

      <c:forTokens> Tag Library supports namespace: http://java.sun.com/jstl/core, but no tag was defined for name: forTokens


      If I use the forEach tag in the same place it works but I need to use the forTokens tag because my data is a comma separated list in String format.

      My code is:

      <c:forTokens items="#{valueItems}" delims="," var="value">
       <h:outputText value="#{value}" styleClass="texto" />
      </c:forTokens>


      Any idea of what is happening?

      I am using Seam 2.0.0 CR2