Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>In the JavaDoc of DefaultErrorView you see:</p> <blockquote> <p>...</p> <p>The class which extends this class will also be used as error-view in case of security violations (if there is no special error-view configured via {@link org.apache.myfaces.extensions.cdi.core.api.security.Secured#errorView()})</p> </blockquote> <p>And in the Wiki you see e.g.:</p> <blockquote> <p>@Secured</p> <p>...</p> <p>In case of a violation CODI will use the DefaultErrorView as navigation target (if configured).</p> <p>...</p> </blockquote> <p>and</p> <blockquote> <p>(Security) Error pages</p> <p>The following example shows how to create a default error page. It's just allowed to provide one default error page per application. Instead of implementing ViewConfig it's required to implement the DefaultErrorView interface.</p> <p>...</p> </blockquote> <p>as well as the manual usage:</p> <blockquote> <p>...</p> <p>this.viewNavigationHandler.navigateTo(DefaultErrorView.class);</p> <p>...</p> </blockquote> <p>The Wiki also links a nice example and there you find: <a href="http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/source/browse/community/src/main/java/org/apache/extras/myfaces/codi/examples/community/view/config/Pages.java" rel="nofollow">http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/source/browse/community/src/main/java/org/apache/extras/myfaces/codi/examples/community/view/config/Pages.java</a></p> <p><strong>-> everything is fine with the documentation ;-)</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload