I have a problem hitting to load method when the page loads/refreshes, page loads correctly from xhtml file, but load method is never get called. Any ideas?
@ManagedBean
@ViewScoped
@URLMapping(id = "deactivate", pattern = "/deactivateaccount", viewId = "/deactivateaccount.xhtml")
public class DeactivateAccount{
@URLAction
public void load(){
//This method does not hit when page loads
}
}
Turns out that same mapping id used somewhere else, and it was crashing silently while server starts