I have a browse page and in its oninit i am doing some calculations.
@Subscribe
protected void onInit(InitEvent event) {
prepareFilters();
}
I have a create button also in the same page and once clicking the create button and entity is created and saved and when get back to the browse page i need to do call the same method in onInit() (prepareFilters() → this method)
When i refresh the screen also the onInit is not triggered. Its just triggered once at first load only.
is there any event that is triggered everytime the page is shown
I have tried AfterShowEvent.