Re: CODI Page

2012-06-15 Thread Gerhard Petracek
rub > > > > > > > > - Original Message - > > > From: José Luis Cetina > > > To: MyFaces Discussion > > > Cc: > > > Sent: Thursday, June 14, 2012 1:51 PM > > > Subject: Re: CODI Page > > > > > > I

Re: CODI Page

2012-06-15 Thread José Luis Cetina
Faces Discussion > > Cc: > > Sent: Thursday, June 14, 2012 1:51 PM > > Subject: Re: CODI Page > > > > I didn't see it, Thanks a lot, i will remove the I prefix. > > Can be a good idea that CODI support (with base path) the use of the > > "I"

Re: CODI Page

2012-06-15 Thread Mark Struberg
Message - > From: José Luis Cetina > To: MyFaces Discussion > Cc: > Sent: Thursday, June 14, 2012 1:51 PM > Subject: Re: CODI Page > > I didn't see it, Thanks a lot, i will remove the I prefix. > Can be a good idea  that CODI support  (with base path) the use

Re: CODI Page

2012-06-14 Thread José Luis Cetina
I didn't see it, Thanks a lot, i will remove the I prefix. Can be a good idea that CODI support (with base path) the use of the "I" prefix or the "able" postfix for interfaces, as you know this is the rigth way to name an interface. For now ill remove the I prefix and name ny interface as my page

Re: CODI Page

2012-06-14 Thread Gerhard Petracek
hi jose, the link [1] i provided shows it already: e.g. Pages.Vip.VipContent.class leads to /pages/vip/vipContent.xhtml (if you have to keep the 'I' prefix for interfaces, you have to provide the full base-path (with the current implementation)) regards, gerhard [1] http://s.apache.org/SBP htt

Re: CODI Page

2012-06-13 Thread José Luis Cetina
Is there a way to do it without basepath? I mean, its possible to use type safe navigation in CODI with more than one level folder structure? El 13/06/2012 21:35, "Gerhard Petracek" escribió: > hi jose, > > right now it isn't supported (it doesn't get aggregated), because basePath > is more for

Re: CODI Page

2012-06-13 Thread Gerhard Petracek
hi jose, right now it isn't supported (it doesn't get aggregated), because basePath is more for exceptional/special cases. typically the used style is more like [1] (as you can see it's a simpler style - e.g. you don't need an explicit usage of @Page(name="myPageClassName") due to the default nami

CODI Page

2012-06-13 Thread José Luis Cetina
Hi i have this folder structure web/ public/ index.xhtml then i use this: @Page(navigation = Page.NavigationMode.REDIRECT, basePath="web/public") public interface IPublic extends ViewConfig{ public @Page(name="index") class Index implements IPublic{} } this works great. But i dont like t