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.petra...@gmail.com>

> hi thomas,
>
> you can use:
> @Page(navigation = Page.NavigationMode.REDIRECT) for any view-config.
>
> regards,
> gerhard
>
> 2012/6/19, Thomas Andraschko <zoi...@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
>

Reply via email to