Hey,
I'm currently experiencing some difficulties in my agavi 11 version,
trying to validate a date in a textfield. In my textfield I enter a date
in following format: dd/MM/yyyy (fe 09/10/2007).
My xml validation code:
<validator class="datetime" name="wrong_dateformat"
required="false">
<argument>datum_p<argument>
<error>wrong date format</error>
<parameters name="formats>
<parameter name="format">dd/MM/yyyy</parameter>
</parameters>
</validator>
When I validate this field I get the following exception:
---
at exception origin
in core.agavi_dir/translation/AgaviLocale.class.php
line 977
974.
975. $localeData['locale_str'] =
substr($identifier, 0, strcspn($identifier, '@'));
976. } else {
977.
throw new AgaviException('Invalid locale identifier (' .
$identifier . ') specified');
978. }
979.
980. return $localeData;
---
Anyone got any idea what causes the exception above?
Thanks in advance!
Bram
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users