[izpack-users] field type search and validator

Min Shi inoracle at gmail.com
Mon Jul 10 12:54:09 CEST 2006


Hi Thilo,
NotEmptyValidator and other validators seem to be used in rule input and
password field.

Min

2006/7/8, Thilo Schwarz (News) <news at s-th.de>:
>
> Hi to all!
>
> Can someone tell me, if I need a hit on my head or if I've found a
> bug? ;-)
> I try to use a NotEmptyValidator with a search field in that way:
>
> <field type="search" variable="backup_dir">
>         <description id="panelprob.backupdir.description" />
>         <spec id="panelprob.backupdir.label"    type="directory"
> result="directory" />
>         <validator class="com.izforge.izpack.util.NotEmptyValidator"
>                                 txt="Backup directory is mandatory!" />
> </field>
>
>
> But it doesn't work. Did I forgot something?
>
> Any hints are welcome.
> Cheers
> Thilo
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060710/7ef103cb/attachment.html 


More information about the izpack-users mailing list