Unnable to make validations work.
I am breaking my head for a long time. Everything seems to be fine but I am not able to apply validation framework to my login screen. Everything seems to be fine but still validation is not working. Currently what i am trying to achieve, is to throw error message when the user doesnt enter the username in the login screen.
The attached zip file contains the entire code i have developed but cant figure out what mistake i have made. Even though i don't enter the user name in the login screen the action gets executed and error message is not displayed. It would be really great if someone could identify what mistake i have made in the code.