Re: Embedding content from separate modules (a.k.a plugins)

2013-06-11 Thread Ilya Obshadko
On Tue, Jun 11, 2013 at 11:04 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 11 Jun 2013 02:14:18 -0300, Ilya Obshadko > wrote: > > I actually encounter the same problem: >> >> x.y.z.Login$EnumType cannot be cast to x.y.z.Login$EnumType >> > > Move EnumType to a non-cont

Re: PageURL Rewriting, pulling name instead of id

2013-06-11 Thread Thiago H de Paula Figueiredo
See this: http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ On Tue, 11 Jun 2013 13:27:54 -0300, Nomen Nomanum wrote: OK, i have already implemented it. I have page ListArticle, which serves only for once user click on some article takes him to the following path somewe

Localization issue

2013-06-11 Thread Nomen Nomanum
I have made localization for english, bulgarian, serbian and spanish language, and it all worked fine on my laptop which uses Spanish as default, however, once I have deployed my app to another PC, which has English as root language, I am encountiring following issue: -I have set my property fil

RE: PageURL Rewriting, pulling name instead of id

2013-06-11 Thread Nomen Nomanum
OK, i have already implemented it. I have page ListArticle, which serves only for once user click on some article takes him to the following path someweb.mx:3032/ListArticle/SpecificNameOfArticle. However, how to proceed further, ie how to delete ListArticle/ from the path context and leave onl

Re: Embedding content from separate modules (a.k.a plugins)

2013-06-11 Thread Thiago H de Paula Figueiredo
On Tue, 11 Jun 2013 02:14:18 -0300, Ilya Obshadko wrote: I actually encounter the same problem: x.y.z.Login$EnumType cannot be cast to x.y.z.Login$EnumType Move EnumType to a non-controlled package (i.e. one that isn't components, pages, base or mixins) and it'll work. We can't stress th

Re: PageURL Rewriting, pulling name instead of id

2013-06-11 Thread Thiago H de Paula Figueiredo
On Mon, 10 Jun 2013 19:56:06 -0300, Nomen Nomanum wrote: #Thiago Yes, that would work in the case where I want something like localhost:8080/FullArticle/NameOfArticle but what if I wanted localhost:8080/NameOfArticle ? How to achieve this behavior? You could use an Index page for that an

Re: Embedding content from separate modules (a.k.a plugins)

2013-06-11 Thread Ilya Obshadko
Thanks, that makes sense. Declaring the enum static doesn't help, though (already tried it). Will check with serial. On Tue, Jun 11, 2013 at 5:34 PM, mailingl...@j-b-s.de wrote: > And I forgot: > Try to make the enum static and/or set a serialuid in your page class, > maybe this helps too... > >