<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

<form-validation>
	<formset>
		<form name="userForm">
			<field property="password" depends="required">
				<arg0 key="user.info.password" />
			</field>
			<field property="verifyPassword" depends="validwhen">
				<arg0 key="user.info.password.not.matching" />
				<var>
					<var-name>test</var-name>
					<var-value>
						(*this* == password)
					</var-value>
				</var>
			</field>
			<field property="firstName" depends="required">
				<arg0 key="user.info.first.name" />
			</field>
			<field property="lastName" depends="required">
				<arg0 key="user.info.last.name" />
			</field>
			<field property="email" depends="email">
				<arg0 key="user.info.email" />
			</field>
		</form>
		<form name="registerForm">
			<field property="login" depends="required">
				<arg0 key="user.info.login" />
			</field>
			<field property="password" depends="required">
				<arg0 key="user.info.password" />
			</field>
			<field property="verifyPassword" depends="validwhen">
				<arg0 key="user.info.password.not.matching" />
				<var>
					<var-name>test</var-name>
					<var-value>
						(*this* == password)
					</var-value>
				</var>
			</field>
			<field property="firstName" depends="required">
				<arg0 key="user.info.first.name" />
			</field>
			<field property="lastName" depends="required">
				<arg0 key="user.info.last.name" />
			</field>
			<field property="email" depends="email">
				<arg0 key="user.info.email" />
			</field>
		</form>
		<form name="recoverPasswordForm">
			<field property="login" depends="required">
				<arg0 key="user.info.login" />
			</field>
		</form>
	</formset>
</form-validation>
