I wanted to call constructor when I click link second time. For first Time it's calling constructor.
Here is example,
I have few navigation links
- Link 1
- Link 2
- Link 3
When I click on Link 2, It call Link 2 constructor and then I click on Link 3 then its call Link 3 constructor, Now when I click back to Link 2 then Just page displayed but constructor of Link 2 is not calling.
How to call Link 2 constructor whenever I click on Link 2?
I am using PrimeFaces + Java