[jboss-user] [JBoss Seam] - Facelets Tags attribute conversion problem
davidjoseph
do-not-reply at jboss.com
Fri Sep 28 04:44:27 EDT 2007
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
More information about the jboss-user
mailing list