So one of my favourite features is the fact that once I change some piece of
the code, I dont have to restart the application, all I have to do is let
auto reloading work its magic. Sadly I have found a way to break that
feature :(

I have a page that has a bunch of block, so in order to keep things simple I
am using the embeded Enum class to map which block should be displayed.
However once I change something I get the following exception


com.bomahabo.flow.tapestry.pages.Scenes$ShotView cannot be cast to
com.bomahabo.flow.tapestry.pages.Scenes$ShotView

I take it that I can move the embeded class outside and that it wont cause
the problems but since this class is only used in here I would like to keep
it there. Any suggestion about this? Also if someone from dev team is
reading this, are you aware of this problem.

Cheers

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Breaking-auto-realding-feature-with-embeded-classes-tp5714201.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

Reply via email to