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 to use the basePath="web/public", how can i separate?
What i did, was create an interface like this:
my root folder:
@Page(navigation = Page.NavigationMode.REDIRECT, basePath="web")
public interfaces IWeb extends ViewConfig{
}
my folder under root (like web/public)
@Page(navigation = Page.NavigationMode.REDIRECT, basePath="public")
public interfaces IPublic extends IWeb{
//then the page
public @Page(name="index") class Index implements IPublic{}
}
but this doesnt work.
What is the best way to do it?. Im using CODI 1.0.5
Thanks
--
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------