myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <zoi...@googlemail.com>
Subject Re: [CODI] redirect to ErrorView instead of Forward
Date Tue, 19 Jun 2012 10:52:15 GMT
Hi Gerhard,

yes i know but i mean:

@Secured(value = LoginAccessDecisionVoter.class, errorView =
SessionExpired.class)

I can't define if redirect or forward should be used for this error view.
Right?
AFAICS CODI always use the NavigationHandler in
Security.processApplicationSecurityException which does a forward.

Thanks,
Thomas

2012/6/19 Gerhard Petracek <gerhard.petracek@gmail.com>

> hi thomas,
>
> you can use:
> @Page(navigation = Page.NavigationMode.REDIRECT) for any view-config.
>
> regards,
> gerhard
>
> 2012/6/19, Thomas Andraschko <zoigln@googlemail.com>:
> > Hi,
> >
> > is it possible to send a redirect instead of forward for the ErrorView?
> > We cache some of our pages and sometimes the ErrorView will be cached
> > instead of the real view.
> >
> > Regards,
> > Thomas
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message