I'm using Faceletes Tag Source Files

this is defined in my taglib file:
    <tag>
  |         <tag-name>score</tag-name>
  |         <source>tags/score.xhtml</source>
  |     </tag>

in my score.xhtml file i have the following for loop:
    <c:forEach begin="1" end="#{scale}">
  |         <td class="g"></td>
  |     </c:forEach>

and I use this tag in a seam page as follows:
    <xyz:score scale="20"/>

now I get the following error:


Cannot convert 20 of type class java.lang.String to class java.lang.Number

Is there a way to pass the scale parameter as an integer or to convert it 
automatically (that is without writing a complete taghandler.) ??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089594#4089594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089594
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to