Hi!
On Fri, 15 Jul 2011 08:16:58 -0300, stephanos2k
<stephan.beh...@googlemail.com> wrote:
I just tried to reference a variable from a Scala case class in a
template file when I received this:
/java.beans.IntrospectionException: type mismatch between read and
write methods/
Do you know how the bytecode of a case class' getters and setters are
generated? I'm curious about Scala, but I haven't had the time to really
experiment with it yet. As far as I know, Scala doesn't generate
Java-style getters and setters for fields unless you use the @BeanProperty
annotation. This blog has documenting the use of Scala and Tapestry
together:
http://fanf42.blogspot.com/2009/01/t5-scala-first-injection-and-property.html.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org