5 Replies Latest reply on Aug 3, 2009 3:26 PM by Murilo da Silva

    Block page access

    Murilo da Silva Newbie

      People,


      I'm having a problem with block page access, I have one page called login.xhtml, on this page there are two forms.
      One to put username and password and the other to register.
      The second one (to register) has a textinput for email and after the person fill the email he/she clicks on the button register, and it redirects to register.xhtml.
      But I want to block direct access to register.xhtml if the email field wasn't filled.


      I was clear?


      Thanks