Just move your enum class to another package, as the exception suggests. On Jul 7, 2012 8:01 AM, "lukaszkaleta" <lukaszkal...@gmail.com> wrote:
> Hi, I am having enum class defined in base package. > When I am using this enum inside page class I am getting exception: > > Render queue error in Expansion[PropBinding[expansion About(ExampleEnum)]]: > Base class java.lang.Enum (super class of > org.tapestry.quickstart.base.ExampleEnum) is not in a controlled package > and > is therefore not valid. You should try moving the class to package > org.tapestry.quickstart.base. > > Please look into attached tapestry-quickstart patch (for reproduction > please > extract it into standard tapestry quickstart) > > http://tapestry.1045711.n5.nabble.com/file/n5714330/tapestry-quickstart-enum-patch.zip > tapestry-quickstart-enum-patch.zip > > Please give me a hint how should I solve it. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-use-java-Enums-inside-pages-tp5714330.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >