In my pages.xml file, I have this instruction:
<page view-id="*" action="#{guestLogin.logIn}" />
but it never gets triggered! My guestLogin.login looks like this:
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.*;
@Name("guestLogin")
@Scope(ScopeType.STATELESS)
public class GuestLogin {
public void logIn()
{
throw new RuntimeException();
}
}
However, as I click thru the app, I see no RunTimeException, nor any other kind of exception, in the app. When I break the pages.xml file, the app doesn't deploy right, so it can't be that I'm editing the wrong file.