Rev 1021 | Rev 1039 | Go to most recent revision | Details | Compare with Previous | 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> |
||
958 | dev | 12 | <form name="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 | |||
958 | dev | 21 | <form name="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 | |||
1028 | dev | 33 | <form name="UserListForm"> |
34 | <field property="pg" depends="integer"> |
||
35 | <msg name="integer" key="ak.hostadmiral.page.general.page.wrong" /> |
||
36 | </field> |
||
37 | </form> |
||
38 | |||
958 | dev | 39 | <form name="UserForm"> |
920 | dev | 40 | <field property="id" depends="long"> |
950 | dev | 41 | <msg name="long" key="ak.hostadmiral.core.user.id.wrong" /> |
920 | dev | 42 | </field> |
43 | </form> |
||
44 | |||
958 | dev | 45 | <form name="UserLoginsForm"> |
949 | dev | 46 | <field property="id" depends="required,long"> |
47 | <msg name="required" key="ak.hostadmiral.core.user.id.wrong" /> |
||
48 | <msg name="long" key="ak.hostadmiral.core.user.id.wrong" /> |
||
49 | </field> |
||
50 | </form> |
||
51 | |||
958 | dev | 52 | <form name="UserEditForm"> |
920 | dev | 53 | <field property="id" depends="long"> |
950 | dev | 54 | <msg name="long" key="ak.hostadmiral.core.user.id.wrong" /> |
920 | dev | 55 | </field> |
56 | <field property="login" depends="required"> |
||
924 | dev | 57 | <msg name="required" key="ak.hostadmiral.core.login.required" /> |
920 | dev | 58 | </field> |
59 | <field property="boss" depends="long"> |
||
950 | dev | 60 | <msg name="long" key="ak.hostadmiral.core.user.boss.id.wrong" /> |
920 | dev | 61 | </field> |
950 | dev | 62 | <field property="locale" depends="required"> |
63 | <msg name="long" key="ak.hostadmiral.core.user.locale.wrong" /> |
||
64 | </field> |
||
920 | dev | 65 | </form> |
66 | |||
958 | dev | 67 | <form name="UserPartEditForm"> |
950 | dev | 68 | <field property="id" depends="long,required"> |
69 | <msg name="required" key="ak.hostadmiral.core.user.id.wrong" /> |
||
70 | <msg name="long" key="ak.hostadmiral.core.user.id.wrong" /> |
||
71 | </field> |
||
72 | <field property="locale" depends="required"> |
||
73 | <msg name="long" key="ak.hostadmiral.core.user.locale.wrong" /> |
||
74 | </field> |
||
75 | </form> |
||
76 | |||
1028 | dev | 77 | <form name="SystemUserListForm"> |
78 | <field property="pg" depends="integer"> |
||
79 | <msg name="integer" key="ak.hostadmiral.page.general.page.wrong" /> |
||
80 | </field> |
||
81 | </form> |
||
82 | |||
958 | dev | 83 | <form name="SystemUserForm"> |
920 | dev | 84 | <field property="id" depends="long"> |
950 | dev | 85 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" /> |
920 | dev | 86 | </field> |
87 | </form> |
||
88 | |||
958 | dev | 89 | <form name="SystemUserEditForm"> |
920 | dev | 90 | <field property="id" depends="long"> |
950 | dev | 91 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" /> |
920 | dev | 92 | </field> |
93 | <field property="uid" depends="required,integer"> |
||
924 | dev | 94 | <msg name="required" key="ak.hostadmiral.core.user.system.edit.uid.wrong" /> |
950 | dev | 95 | <msg name="integer" key="ak.hostadmiral.core.user.system.edit.uid.wrong" /> |
920 | dev | 96 | </field> |
97 | <field property="name" depends="required"> |
||
924 | dev | 98 | <msg name="required" key="ak.hostadmiral.core.user.system.edit.name.required" /> |
920 | dev | 99 | </field> |
100 | <field property="owner" depends="long"> |
||
924 | dev | 101 | <msg name="long" key="ak.hostadmiral.core.user.system.edit.owner.wrong" /> |
920 | dev | 102 | </field> |
103 | </form> |
||
104 | |||
1028 | dev | 105 | <form name="InetDomainListForm"> |
106 | <field property="pg" depends="integer"> |
||
107 | <msg name="integer" key="ak.hostadmiral.page.general.page.wrong" /> |
||
108 | </field> |
||
109 | </form> |
||
110 | |||
958 | dev | 111 | <form name="InetDomainForm"> |
920 | dev | 112 | <field property="id" depends="long"> |
950 | dev | 113 | <msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" /> |
920 | dev | 114 | </field> |
115 | </form> |
||
116 | |||
958 | dev | 117 | <form name="InetDomainEditForm"> |
920 | dev | 118 | <field property="id" depends="long"> |
950 | dev | 119 | <msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" /> |
920 | dev | 120 | </field> |
121 | <field property="name" depends="required"> |
||
924 | dev | 122 | <msg name="required" key="ak.hostadmiral.core.domain.edit.name.empty" /> |
920 | dev | 123 | </field> |
124 | <field property="owner" depends="required,long"> |
||
950 | dev | 125 | <msg name="required" key="ak.hostadmiral.core.domain.edit.owner.wrong" /> |
924 | dev | 126 | <msg name="long" key="ak.hostadmiral.core.domain.edit.owner.wrong" /> |
920 | dev | 127 | </field> |
128 | </form> |
||
129 | |||
1020 | dev | 130 | <form name="MailboxListForm"> |
1028 | dev | 131 | <field property="pg" depends="integer"> |
132 | <msg name="integer" key="ak.hostadmiral.page.general.page.wrong" /> |
||
1020 | dev | 133 | </field> |
134 | </form> |
||
135 | |||
958 | dev | 136 | <form name="MailboxForm"> |
920 | dev | 137 | <field property="id" depends="long"> |
950 | dev | 138 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" /> |
920 | dev | 139 | </field> |
140 | </form> |
||
141 | |||
958 | dev | 142 | <form name="MailboxEditForm"> |
920 | dev | 143 | <field property="id" depends="long"> |
950 | dev | 144 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" /> |
920 | dev | 145 | </field> |
146 | <field property="login" depends="required"> |
||
924 | dev | 147 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.login.empty" /> |
920 | dev | 148 | </field> |
149 | <field property="domain" depends="required,long"> |
||
950 | dev | 150 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.domain.wrong" /> |
924 | dev | 151 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.domain.wrong" /> |
920 | dev | 152 | </field> |
153 | <field property="owner" depends="required,long"> |
||
950 | dev | 154 | <msg name="required" key="ak.hostadmiral.core.mailbox.edit.owner.wrong" /> |
924 | dev | 155 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.owner.wrong" /> |
920 | dev | 156 | </field> |
157 | <field property="systemuser" depends="long"> |
||
924 | dev | 158 | <msg name="long" key="ak.hostadmiral.core.mailbox.edit.systemuser.wrong" /> |
920 | dev | 159 | </field> |
160 | </form> |
||
161 | |||
1028 | dev | 162 | <form name="MailAliasListForm"> |
163 | <field property="pg" depends="integer"> |
||
164 | <msg name="integer" key="ak.hostadmiral.page.general.page.wrong" /> |
||
165 | </field> |
||
166 | </form> |
||
167 | |||
958 | dev | 168 | <form name="MailAliasForm"> |
920 | dev | 169 | <field property="id" depends="long"> |
950 | dev | 170 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" /> |
920 | dev | 171 | </field> |
172 | </form> |
||
173 | |||
958 | dev | 174 | <form name="MailAliasEditForm"> |
920 | dev | 175 | <field property="id" depends="long"> |
950 | dev | 176 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" /> |
920 | dev | 177 | </field> |
178 | <field property="domain" depends="long"> |
||
924 | dev | 179 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.domain.wrong" /> |
920 | dev | 180 | </field> |
181 | <field property="owner" depends="long"> |
||
924 | dev | 182 | <msg name="long" key="ak.hostadmiral.core.mail.alias.edit.owner.wrong" /> |
920 | dev | 183 | </field> |
184 | </form> |
||
185 | </formset> |
||
186 | </form-validation> |