Reputation: 21
I have one Menu that have pageOne and pageTwo working by forward. So i clicked to forward my pageOne and thats OK, my forward is done! But if i already stay on pageOne and i click pageOne again, forward dont happen.
Follow the struture:
_____________________ MENU: | PAGE1 | PAGE2 | ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ PAGE ONE SUCESS LOADED HERE
My menu is biding and i set the pages on Bean:
menuPage1.setCommand("pageOne");
FacesConfig
<navigation-case>
<from-outcome>pageOne</from-outcome>
<to-view-id>/PageOne.xhtml</to-view-id>
</navigation-case>
My wish is reload page again.
im sorry but i dont found nothing look like that in this website.
Upvotes: 0
Views: 354
Reputation: 4345
Could you try with a redirect:
<navigation-case>
<from-outcome>pageOne</from-outcome>
<to-view-id>/PageOne.xhtml?faces-redirect=true</to-view-id>
</navigation-case>
Upvotes: 1