Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
920 | dev | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
2 | |||
3 | <!DOCTYPE form-validation PUBLIC |
||
4 | "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN" |
||
5 | "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd"> |
||
6 | |||
7 | <form-validation> |
||
8 | <global> |
||
9 | </global> |
||
10 | |||
11 | <formset> |
||
924 | dev | 12 | <form name="ak.hostadmiral.core.form.LoginForm"> |
920 | dev | 13 | <field property="login" depends="required"> |
924 | dev | 14 | <msg name="required" key="ak.hostadmiral.core.login.required" /> |
920 | dev | 15 | </field> |
16 | <field property="password" depends="required"> |
||
924 | dev | 17 | <msg name="required" key="ak.hostadmiral.core.password.required" /> |
920 | dev | 18 | </field> |
19 | </form> |
||
20 | |||
924 | dev | 21 | <form name="ak.hostadmiral.core.form.ChangePasswordForm"> |
920 | dev | 22 | <field property="oldpassword" depends="required"> |
924 | dev | 23 | <msg name="required" key="ak.hostadmiral.core.oldpassword.required" /> |
920 | dev | 24 | </field> |
25 | <field property="password" depends="required"> |
||
924 | dev | 26 | <msg name="required" key="ak.hostadmiral.core.password.required" /> |
920 | dev | 27 | </field> |
28 | <field property="password2" depends="required"> |
||
924 | dev | 29 | <msg name="required" key="ak.hostadmiral.core.password2.required" /> |
920 | dev | 30 | </field> |
31 | </form> |
||
32 | |||
924 | dev | 33 | <form name="ak.hostadmiral.core.form.UserForm"> |
920 | dev | 34 | <field property="id" depends="long"> |
924 | dev | 35 | <msg name="long" key="ak.hostadmiral.core.user.password.change.id.wrong" /> |
920 | dev | 36 | </field> |
37 | </form> |
||
38 | |||
924 | dev | 39 | <form name="ak.hostadmiral.core.form.UserEditForm"> |
920 | dev | 40 | <field property="id" depends="long"> |
924 | dev | 41 | <msg name="long" key="ak.hostadmiral.core.user.password.change.id.wrong" /> |
920 | dev | 42 | </field> |
43 | <field property="login" depends="required"> |
||
924 | dev | 44 | <msg name="required" key="ak.hostadmiral.core.login.required" /> |
920 | dev | 45 | </field> |
46 | <field property="boss" depends="long"> |
||
924 | dev | 47 | <msg name="long" key="ak.hostadmiral.core.user.boss.id.wrong" /> |
920 | dev | 48 | </field> |
49 | </form> |
||
50 | |||
924 | dev | 51 | <form name="ak.hostadmiral.core.form.SystemUserForm"> |
920 | dev | 52 | <field property="id" depends="long"> |
924 | dev | 53 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" /> |
920 | dev | 54 | </field> |
55 | </form> |
||
56 | |||
924 | dev | 57 | <form name="ak.hostadmiral.core.form.SystemUserEditForm"> |
920 | dev | 58 | <field property="id" depends="long"> |
924 | dev | 59 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" /> |
920 | dev | 60 | </field> |
61 | <field property="uid" depends="required,integer"> |
||
924 | dev | 62 | <msg name="required" key="ak.hostadmiral.core.user.system.edit.uid.wrong" /> |
63 | <msg name="integer" key="ak.hostadmiral.core.user.system.edit.uid.wrong" /> |
||
920 | dev | 64 | </field> |
65 | <field property="name" depends="required"> |
||
924 | dev | 66 | <msg name="required" key="ak.hostadmiral.core.user.system.edit.name.required" /> |
920 | dev | 67 | </field> |
68 | <field property="owner" depends="long"> |
||
924 | dev | 69 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.owner.wrong" /> |
920 | dev | 70 | </field> |
71 | </form> |
||
72 | |||
924 | dev | 73 | <form name="ak.hostadmiral.core.form.InetDomainForm"> |
920 | dev | 74 | <field property="id" depends="long"> |
924 | dev | 75 | <msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" /> |
920 | dev | 76 | </field> |
77 | </form> |
||
78 | |||
924 | dev | 79 | <form name="ak.hostadmiral.core.form.InetDomainEditForm"> |
920 | dev | 80 | <field property="id" depends="long"> |
924 | dev | 81 | <msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" /> |
920 | dev | 82 | </field> |
83 | <field property="name" depends="required"> |
||
924 | dev | 84 | <msg name="required" key="ak.hostadmiral.core.domain.edit.name.empty" /> |
920 | dev | 85 | </field> |
86 | <field property="owner" depends="required,long"> |
||
924 | dev | 87 | <msg name="long" key="ak.hostadmiral.core.domain.edit.owner.wrong" /> |
88 | <msg name="required" key="ak.hostadmiral.core.domain.edit.owner.wrong" /> |
||
920 | dev | 89 | </field> |
90 | </form> |
||
91 | |||
924 | dev | 92 | <form name="ak.hostadmiral.core.form.MailboxForm"> |
920 | dev | 93 | <field property="id" depends="long"> |
924 | dev | 94 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" /> |
920 | dev | 95 | </field> |
96 | </form> |
||
97 | |||
924 | dev | 98 | <form name="ak.hostadmiral.core.form.MailboxEditForm"> |
920 | dev | 99 | <field property="id" depends="long"> |
924 | dev | 100 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" /> |
920 | dev | 101 | </field> |
102 | <field property="login" depends="required"> |
||
924 | dev | 103 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.login.empty" /> |
920 | dev | 104 | </field> |
105 | <field property="domain" depends="required,long"> |
||
924 | dev | 106 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.domain.wrong" /> |
107 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.domain.wrong" /> |
||
920 | dev | 108 | </field> |
109 | <field property="owner" depends="required,long"> |
||
924 | dev | 110 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.owner.wrong" /> |
111 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.owner.wrong" /> |
||
920 | dev | 112 | </field> |
113 | <field property="systemuser" depends="long"> |
||
924 | dev | 114 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.systemuser.wrong" /> |
920 | dev | 115 | </field> |
116 | </form> |
||
117 | |||
924 | dev | 118 | <form name="ak.hostadmiral.core.form.MailAliasForm"> |
920 | dev | 119 | <field property="id" depends="long"> |
924 | dev | 120 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" /> |
920 | dev | 121 | </field> |
122 | </form> |
||
123 | |||
924 | dev | 124 | <form name="ak.hostadmiral.core.form.MailAliasEditForm"> |
920 | dev | 125 | <field property="id" depends="long"> |
924 | dev | 126 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" /> |
920 | dev | 127 | </field> |
128 | <field property="domain" depends="long"> |
||
924 | dev | 129 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.domain.wrong" /> |
920 | dev | 130 | </field> |
131 | <field property="owner" depends="long"> |
||
924 | dev | 132 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.owner.wrong" /> |
920 | dev | 133 | </field> |
134 | </form> |
||
135 | </formset> |
||
136 | </form-validation> |