On Wed, 03 Nov 2010 15:21:15 -0200, stephanos <stephan.beh...@gmail.com> wrote:

Something I just noticed: I have a class 'BasePage' which every page inherits from, this base class has a Scala 'lazy val' field (private) - yet this error is issues (seems http://scala-programming-language.1934581.n4.nabble.com/Why-is-bitmap-0-public-td2255232.html
Scala creates a public field  for it).

Hi!

Tapestry's page classes cannot have non-private fields, just as the error message said:

com.lumberjack.web.pages.base.BasePage contains field(s) (bitmap$0) that are not private. You should change these fields to private, and add accessor
methods if needed.

I want to learn Scala some day, but I haven't had the time yet. Do you need to use this lazy val language feature?

--
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

Reply via email to