Re: DefaultErrorView

2012-06-26 Thread José Luis Cetina
> > > 2012/6/26 José Luis Cetina > > > Ok, but when i use my own annottation as interpcetor and my > checkPermission > > method add a SecurityViolation my page never redirect to my > > DefaultErrorView, i always get: > > > > PM org.apache.myfaces.context.servlet

Re: DefaultErrorView

2012-06-26 Thread Gerhard Petracek
port for Apache MyFaces 2012/6/26 José Luis Cetina > Ok, but when i use my own annottation as interpcetor and my checkPermission > method add a SecurityViolation my page never redirect to my > DefaultErrorView, i always get: > > PM org.apache.myfaces.context.servlet.Ser

Re: DefaultErrorView

2012-06-26 Thread José Luis Cetina
Ok, but when i use my own annottation as interpcetor and my checkPermission method add a SecurityViolation my page never redirect to my DefaultErrorView, i always get: PM org.apache.myfaces.context.servlet.ServletExternalContextImpl setResponseContentType SEVERE: Cannot set content type. Response

Re: DefaultErrorView

2012-06-26 Thread Gerhard Petracek
erface Pages extends ViewConfig { > > public @Page class MyError extends DefaultErrorView implements Pages {} > > @SecurityModule(codigoModulo = ModuloPantallaEnum.CURSOS) //doesnt work > public @Page class Private implements Pages{} > > } > > > @javax.enterp

Re: DefaultErrorView

2012-06-26 Thread José Luis Cetina
= Page.NavigationMode.REDIRECT) public interface Pages extends ViewConfig { public @Page class MyError extends DefaultErrorView implements Pages {} @SecurityModule(codigoModulo = ModuloPantallaEnum.CURSOS) //doesnt work public @Page class Private implements Pages{} } @javax.enterprise.context.ApplicationScoped

Re: DefaultErrorView

2012-06-25 Thread Gerhard Petracek
rofessional Support for Apache MyFaces > > > > > > > > 2012/6/25 José Luis Cetina > > > > > My denied page never shown, i always get Cannot set content type. > > Response > > > already committed. > > > > > > > >

Re: DefaultErrorView

2012-06-25 Thread José Luis Cetina
; > 2012/6/25 José Luis Cetina > > > My denied page never shown, i always get Cannot set content type. > Response > > already committed. > > > > > > I have this: > > > > @Page > > public class Denegado extends DefaultErrorView{ > > &g

Re: DefaultErrorView

2012-06-25 Thread Gerhard Petracek
English and German Professional Support for Apache MyFaces 2012/6/25 José Luis Cetina > My denied page never shown, i always get Cannot set content type. Response > already committed. > > > I have this: > > @Page > public class Denegado extends DefaultErrorView{ > &g

DefaultErrorView

2012-06-25 Thread José Luis Cetina
My denied page never shown, i always get Cannot set content type. Response already committed. I have this: @Page public class Denegado extends DefaultErrorView{ } @Stereotype @Target(value = {ElementType.TYPE}) @Retention(value = RetentionPolicy.RUNTIME) @Secured(value