myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee-Wah Lee (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-977) tr:inputDate Javascript bug
Date Fri, 29 Feb 2008 01:05:51 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573540#action_12573540
] 

Yee-Wah Lee commented on TRINIDAD-977:
--------------------------------------

I tried running inputDate.jspx on 1.2.6.1 and client validation disabled, don't see the error.
Could you supply more detail?

The _dl variable was defined in TRINIDAD-797, the file which adds it is: trinidad-impl\src\main\java\org\apache\myfaces\trinidadinternal\convert\DateTimeConverter.java

It is meant to hold the array of Locales used by DateTimeConverters on this page.

> tr:inputDate Javascript bug
> ---------------------------
>
>                 Key: TRINIDAD-977
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-977
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.6-core
>            Reporter: Jan Görß
>
> We are using tr:inputDate and the Firefox throw an error in method
> function _getDateFieldFormat(dateField)
> {
>   var name = dateField.name;
>   if (name && _dfs)
>   {
>     var format = _dfs[name];
>     if (_dl)
>     {
>       var locale = _dl[name];
>       return new TrDateTimeConverter (format, locale);
>     }
>    return new TrDateTimeConverter(format);
>   }
>   return new TrDateTimeConverter();
> }
> _dl is not defined
> and  our javascript code will not execute by onblur because _dl is not defined.
> client-validation-disabled is true in our webapp.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message