Which version of T5?  I think 5.0.11 tripped across the Groovy
metaClass field, and 5.0.12 is smart enough to ignore it.

On Mon, Jun 9, 2008 at 11:10 AM, Bill Holloway <[EMAIL PROTECTED]> wrote:
> In IntelliJ, I quickstart-mavened a new Tapestry 5 project, added the
> Groovy facet, made sure I had the download (groovy 1.5.6), and wrote a
> simple Groovy homepage:  Home.groovy:
>
> class Home {
>    def getWelcome ()
>    {
>        "Welcome, Bro!"
>    }
> }
>
> In the resources package, I mirrored the pages package and put Home.tml:
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>    <head>
>        <title>Groovy-tapestry Home Page</title>
>    </head>
>    <body>
>        <h1>${welcome}</h1>
>    </body>
> </html>
>
> Under a Jetty run config, visiting the homepage I get
>
> exception
>    org.apache.tapestry.internal.services.TransformationException:
> Class us.antera.grapestry.pages.Home contains field(s) (metaClass)
> that are not private. You should change these fields to private, and
> add accessor methods if needed.
>
> Recommendations?
>
> --
> Bill @ PeoplePad
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to