AbstractUserForm

A form that collects user data needed when registring or updating a profile

The properties describes below are all settable from the html form in the jsp page.

The form contains information about the profile to create or update

Struts config
<form-bean
  name="com.escenic.profile.presentation.struts.AbstractUserForm"
  type="com.escenic.profile.presentation.struts.AbstractUserForm"/>
Action Error

This form requires that userName and surname is set. If one is missing, the user should be notified.

no_userName

(On the userName property.) The userName was not specified

invalid_username

(On the userName property.) The username did not start with a letter

no_surName

(On the surName property.) The surName was not specified

AbstractUserForm inherits properties from:

  • com.escenic.profile.presentation.struts.AbstractForm

It also has the following properties of its own:

userName
String

the username of the user

firstName
String

the firstame of the user

surName
String

the users surname

profiles
Profiles

the profiles, containing additional user information

address
String

the users address

phone
String

the users phone number

mobilePhone
String

the users mobile phone

email
String

the users email

publicationId
String

the publicationid of the profile. Returns -1 if it's a new profile

password
String

the password

id
String

the id of the profile. Returns -1 if it's a new profile