How can I define a navigation rule from all view-ids from #{current.doLogout} to the same view-id?
相关问题
- How can I create this custom Bottom Navigation on
- java.lang.NullPointerException at java.io.PrintWri
- h:selectOneMenu in p:dataTable doesn't submit
- Infinite setStatus() loop when requesting a JSF pa
- onSupportNavigateUp() function not working?
相关文章
- How to allow numbers only using f:validateRegex
- JSF 2.0: ajax request when press ENTER
- Android Navigation Drawer Show Up Indicator for Lo
- How to Setup Jetpack Navigation with material.Bott
- Formatting a double in JSF
- How do I navigate through a method call hierarchy
- Jquery: When Hover on Menu Item, Display Text
- change rendered attribute from managed bean
You need to use wildcards to achieve this
Just call the logout method in action tag. and just add this to your faces-config.xml
If you don't define any or return
null
orvoid
in action method, it will by default display the same page as where the form is been submitted.This way you don't need to fiddle with navigation cases in
faces-config.xml
. Are you by the way already aware of the new JSF 2.0 "implicit navigation" feature?