org.jboss.seam.examples.booking.account
Class Registrar
java.lang.Object
org.jboss.seam.examples.booking.account.Registrar
@Model
public class Registrar
- extends Object
The view controller for registering a new user
- Author:
- Dan Allen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Registrar
public Registrar()
register
public void register()
isRegistrationInvalid
public boolean isRegistrationInvalid()
notifyIfRegistrationIsInvalid
public void notifyIfRegistrationIsInvalid()
- This method just shows another approach to adding a status message.
Invoked by:
<f:event type="preRenderView" listener="#{registrar.notifyIfRegistrationIsInvalid}"/>
getNewUser
@Produces
@Named
public User getNewUser()
isRegistered
public boolean isRegistered()
getConfirmPassword
public String getConfirmPassword()
setConfirmPassword
public void setConfirmPassword(String password)
getUsernameInput
public javax.faces.component.UIInput getUsernameInput()
setUsernameInput
public void setUsernameInput(javax.faces.component.UIInput usernameInput)
Copyright © 2012 Seam Framework. All Rights Reserved.